- new
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 10 Jul 2014 20:08:21 +0000 (22:08 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 10 Jul 2014 20:08:21 +0000 (22:08 +0200)
- Conflicts with kde4-kactivities

kf5-kactivities.spec [new file with mode: 0644]

diff --git a/kf5-kactivities.spec b/kf5-kactivities.spec
new file mode 100644 (file)
index 0000000..08cecf3
--- /dev/null
@@ -0,0 +1,135 @@
+# TODO:
+# - dir /usr/include/KF5 not packaged
+# /usr/share/kf5 not packaged
+# Conflict /usr/bin/kactivitymanagerd
+%define         _state          stable
+%define                orgname         kactivities
+
+Summary:       Core components for the KDE's Activities Activity Manager
+Name:          kf5-%{orgname}
+Version:       5.0.0
+Release:       0.1
+License:       LGPL v2.1+
+Group:         X11/Libraries
+Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
+# Source0-md5: 1e5f33114f752eba2da71665c2e10696
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel
+BuildRequires: Qt5DBus-devel
+BuildRequires: Qt5Gui-devel
+BuildRequires: Qt5Network-devel >= 5.3.1
+BuildRequires: Qt5Qml-devel
+BuildRequires: Qt5Sql-devel
+BuildRequires: Qt5Test-devel
+BuildRequires: Qt5Widgets-devel
+BuildRequires: Qt5Xml-devel >= 5.2.0
+BuildRequires: boost-devel
+BuildRequires: cmake >= 2.8.12
+BuildRequires: gettext-devel
+BuildRequires: kf5-attica-devel >= %{version}
+BuildRequires: kf5-extra-cmake-modules >= 1.0.0
+BuildRequires: kf5-kauth-devel >= %{version}
+BuildRequires: kf5-kbookmarks-devel >= %{version}
+BuildRequires: kf5-kcodecs-devel >= %{version}
+BuildRequires: kf5-kcompletion-devel >= %{version}
+BuildRequires: kf5-kconfig-devel >= %{version}
+BuildRequires: kf5-kconfigwidgets-devel >= %{version}
+BuildRequires: kf5-kcoreaddons-devel >= %{version}
+BuildRequires: kf5-kdbusaddons-devel >= %{version}
+BuildRequires: kf5-kglobalaccel-devel >= %{version}
+BuildRequires: kf5-kguiaddons-devel >= %{version}
+BuildRequires: kf5-ki18n-devel >= %{version}
+BuildRequires: kf5-kiconthemes-devel >= %{version}
+BuildRequires: kf5-kio-devel >= %{version}
+BuildRequires: kf5-kitemviews-devel >= %{version}
+BuildRequires: kf5-kjobwidgets-devel >= %{version}
+BuildRequires: kf5-kservice-devel >= %{version}
+BuildRequires: kf5-ktextwidgets-devel >= %{version}
+BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
+BuildRequires: kf5-kwindowsystem-devel >= %{version}
+BuildRequires: kf5-kxmlgui-devel >= %{version}
+BuildRequires: kf5-solid-devel >= %{version}
+BuildRequires: kf5-sonnet-devel >= %{version}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                qt5dir          %{_libdir}/qt5
+
+%description
+System service to manage user's activities, track the usage patterns
+etc. KActivities library API for using and interacting with the
+Activity Manager as a consumer, application adding information to them
+or as an activity manager. Workspace Plugins for KDE workspace to
+easier integrate activities (KIO, etc.)
+
+%package devel
+Summary:       Header files for %{orgname} development
+Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{orgname}
+Group:         X11/Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{orgname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{orgname}.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DBIN_INSTALL_DIR=%{_bindir} \
+       -DKCFG_INSTALL_DIR=%{_datadir}/config.kcfg \
+       -DPLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
+       -DQT_PLUGIN_INSTALL_DIR=%{qt5dir}/plugins \
+       -DQML_INSTALL_DIR=%{qt5dir}/qml \
+       -DIMPORTS_INSTALL_DIR=%{qt5dirs}/imports \
+       -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
+       -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
+       -DKF5_LIBEXEC_INSTALL_DIR=%{_libexecdir} \
+       -DKF5_INCLUDE_INSTALL_DIR=%{_includedir} \
+       -DECM_MKSPECS_INSTALL_DIR=%{qt5dir}/mkspecs/modules \
+       -D_IMPORT_PREFIX=%{_prefix} \
+       ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{orgname}5
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{orgname}5.lang
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/kactivitymanagerd
+%attr(755,root,root) %ghost %{_libdir}/libKF5Activities.so.5
+%attr(755,root,root) %{_libdir}/libKF5Activities.so.5.0.0
+%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_activitytemplates.so
+%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_slc.so
+%attr(755,root,root) %{qt5dir}/plugins/kactivitymanagerd/kactivitymanagerd_plugin_sqlite.so
+%{qt5dir}/qml/org/kde/activities/README
+%attr(755,root,root) %{qt5dir}/qml/org/kde/activities/libkactivitiesextensionplugin.so
+%{qt5dir}/qml/org/kde/activities/qmldir
+%{_datadir}/kservices5/kactivitymanagerd.desktop
+%{_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/KActivities
+%{_includedir}/KF5/kactivities_version.h
+%{_libdir}/cmake/KF5Activities
+%attr(755,root,root) %{_libdir}/libKF5Activities.so
+%{_pkgconfigdir}/libKActivities.pc
+%{qt5dir}/mkspecs/modules/qt_KActivities.pri
This page took 0.109373 seconds and 4 git commands to generate.