diff --git a/.gitignore b/.gitignore index e69de29..571c156 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/plasma-framework-4.100.0.tar.xz diff --git a/kf5-plasma.spec b/kf5-plasma.spec new file mode 100644 index 0000000..6233324 --- /dev/null +++ b/kf5-plasma.spec @@ -0,0 +1,159 @@ +# %define snapshot 20140315 +%define framework plasma + +Name: kf5-%{framework} +Version: 4.100.0 +Release: 2%{?dist} +Summary: KDE Frameworks 5 Tier 3 framework is foundation to build a primary user interface + +License: GPLv2+ and LGPLv2+ and BSD +URL: http://www.kde.org + +# git archive --format=tar --prefix=%{name}-%{version}/ \ +# --remote=git://anongit.kde.org/%{name}.git master | \ +# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2 +# Source0: %{name}-%{version}-%{snapshot}git.tar.bz2 +Source0: http://download.kde.org/unstable/frameworks/%{version}/%{framework}-framework-%{version}.tar.xz + +BuildRequires: libX11-devel +BuildRequires: libxcb-devel +BuildRequires: libXrender-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXext-devel +BuildRequires: libSM-devel +BuildRequires: openssl-devel +BuildRequires: libGL-devel + +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtquick1-devel +BuildRequires: qt5-qtx11extras-devel +BuildRequires: qt5-qttools-static +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qt5-qtscript-devel + +BuildRequires: kf5-rpm-macros +BuildRequires: extra-cmake-modules +BuildRequires: kf5-kactivities-devel +BuildRequires: kf5-karchive-devel +BuildRequires: kf5-kconfigwidgets-devel +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-kdbusaddons-devel +BuildRequires: kf5-kdeclarative-devel +BuildRequires: kf5-kglobalaccel-devel +BuildRequires: kf5-kguiaddons-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-kservice-devel +BuildRequires: kf5-kwindowsystem-devel +BuildRequires: kf5-kxmlgui-devel +BuildRequires: kf5-kdnssd-devel +BuildRequires: kf5-kdoctools-devel + +Requires: kf5-filesystem + +%description +%{summary}. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: extra-cmake-modules +Requires: kf5-kactivities-libs-devel +Requires: kf5-karchive-devel +Requires: kf5-kconfigwidgets-devel +Requires: kf5-kcoreaddons-devel +Requires: kf5-kdbusaddons-devel +Requires: kf5-kdeclarative-devel +Requires: kf5-kglobalaccel-devel +Requires: kf5-kguiaddons-devel +Requires: kf5-ki18n-devel +Requires: kf5-kiconthemes-devel +Requires: kf5-kio-devel +Requires: kf5-kservice-devel +Requires: kf5-kwindowsystem-devel +Requires: kf5-kxmlgui-devel +Requires: kf5-kdoctools-devel + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q -n %{framework}-framework-%{version} + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +%install +%make_install -C %{_target_platform} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc COPYING.LIB README.md +%{_kf5_bindir}/dpitest +%{_kf5_bindir}/plasmapkg2 +%{_kf5_libdir}/libKF5Plasma.so.* +%{_kf5_libdir}/libKF5PlasmaQuick.so.* +%{_qt5_prefix}/platformqml/touch/org/kde/plasma +%{_kf5_qmldir}/org/kde/* +%{_kf5_qtplugindir}/*.so +%{_kf5_datadir}/dbus-1/interfaces/*.xml +%{_kf5_datadir}/plasma/ +%{_kf5_datadir}/kservices5/*.desktop +%{_kf5_datadir}/kservices5/kded/*.desktop +%{_kf5_datadir}/kservicetypes5/*.desktop +%{_kf5_mandir}/man1/plasmapkg2.1.gz + +%files devel +%doc +%{_kf5_libdir}/cmake/KF5Plasma +%{_kf5_libdir}/cmake/KF5PlasmaQuick +%{_kf5_libdir}/libKF5Plasma.so +%{_kf5_libdir}/libKF5PlasmaQuick.so +%{_kf5_includedir}/plasma_version.h +%{_kf5_includedir}/plasma/ +%{_kf5_includedir}/Plasma/ + + +%changelog +* Mon Jul 07 2014 Daniel Vrátil - 4.100.0-2 +- Fixed license +- Removed old Provides/Obsoleted + +* Tue Jun 03 2014 Daniel Vrátil - 4.100.0-1 +- KDE Frameworks 4.100.0 + +* Mon May 05 2014 Daniel Vrátil - 4.99.0 +- KDE Frameworks 4.99.0 + +* Mon Mar 31 2014 Jan Grulich 4.98.0-1 +- Update to KDE Frameworks 5 Beta 1 (4.98.0) + +* Sat Mar 15 2014 Jan Grulich 4.97.0-1 +- Update to KDE Frameworks 5 Alpha 1 (4.97.0) + +* Thu Feb 13 2014 Daniel Vrátil - 4.96.0-1 +- upgrade to Tier 3 Framework kf5-plasma + +* Sat Jan 4 2014 Daniel Vrátil +- initial version diff --git a/sources b/sources index e69de29..25e4fee 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a49ff1fb805f15115e4365bae6bbb45d plasma-framework-4.100.0.tar.xz