Add packaging

This commit is contained in:
Pier Luigi Fiorini 2014-10-23 21:15:02 +02:00
parent afe58452ef
commit dafdac0029
3 changed files with 116 additions and 0 deletions

View file

@ -0,0 +1,72 @@
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.27
#
Name: plasma-phone-components
# >> macros
# << macros
Summary: Plasma Phone Components
Version: 0.1.0
Release: 1
Group: System/GUI/Other
License: GPLv2+
BuildArch: noarch
URL: http://www.kde.org
Source0: %{name}-%{version}.tar.xz
Source100: plasma-phone-components.yaml
Requires: greenisland
Requires: plasma-workspace
Requires: breeze-icon-theme
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: qt5-tools
BuildRequires: plasma-devel
%description
Plasma Phone Components.
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
%kf5_make
# << build pre
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
%kf5_make_install
# << install pre
# >> install post
# << install post
%files
%defattr(-,root,root,-)
%{_kf5_sharedir}/plasma/*
%{_kf5_sharedir}/wallpapers/*
%{_kf5_servicesdir}/*.desktop
# >> files
# << files

View file

@ -0,0 +1,42 @@
Name : plasma-phone-components
Version : 0.1.0
Release : 1
Group : System/GUI/Other
License : GPLv2+
Summary : Plasma Phone Components
Description : |
Plasma Phone Components.
URL : http://www.kde.org
Sources :
- "%{name}-%{version}.tar.xz"
SetupOptions: -q -n %{name}-%{version}
BuildArch : noarch
Requires:
- greenisland
- plasma-workspace
- breeze-icon-theme
PkgBR:
- extra-cmake-modules
- kf5-rpm-macros
- qt5-tools
- plasma-devel
PkgConfigBR:
- Qt5Core
- Qt5DBus
- Qt5Xml
- Qt5Network
- Qt5Gui
- Qt5Widgets
- Qt5Test
- Qt5Qml
- Qt5Quick
Configure: none
Builder: none
Files:
- "%{_kf5_sharedir}/plasma/*"
- "%{_kf5_sharedir}/wallpapers/*"
- "%{_kf5_servicesdir}/*.desktop"

2
packaging/remotebuild Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
gbs remotebuild -T home:plfiorini:phone