SHA256
1
0
forked from pool/purpose
Hrvoje Senjan
2016-07-13 08:57:51 +00:00
committed by Git OBS Bridge
parent 8285aa504a
commit 66c1b3c1e6

View File

@@ -16,6 +16,7 @@
#
%bcond_without lang
Name: purpose
Version: 1.1
Release: 0
@@ -38,6 +39,9 @@ BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
%if %{with lang}
Recommends: %{name}-lang
%endif
Summary: Provides abstractions to get the developer's purposes fulfilled
License: LGPL-2.1+
Group: System/GUI/KDE
@@ -71,8 +75,16 @@ Development files.
%install
%kf5_makeinstall -C build
# the reviewboard icon is shipped with kdevplatform
rm -rfv %{buildroot}%{_kf5_iconsdir}/hicolor/*/apps/reviewboard.*
%if %{with lang}
%find_lang libpurpose_quick %{name}.lang
%find_lang libpurpose_widgets %{name}.lang
%find_lang purpose_imgur %{name}.lang
%find_lang purpose_ktp-sendfile %{name}.lang
%find_lang purpose_pastebin %{name}.lang
%find_lang purpose_reviewboard %{name}.lang
%find_lang purpose_saveas %{name}.lang
%find_lang purpose_youtube %{name}.lang
%endif
%post
/sbin/ldconfig
@@ -80,16 +92,24 @@ Development files.
%postun
/sbin/ldconfig
%if %{with lang}
%files lang -f %{name}.lang
%defattr(-,root,root)
%endif
%files
%defattr(-,root,root)
%doc COPYING*
%{_kf5_libdir}/libKF5Purpose.so.*
%{_kf5_libdir}/libKF5PurposeWidgets.so.*
%{_kf5_libdir}/libReviewboardHelpers.so
%{_kf5_libexecdir}/
%{_kf5_sharedir}/purpose/
%{_kf5_sharedir}/kpackage/
%{_kf5_plugindir}/
%{_kf5_qmldir}/
%{_kf5_iconsdir}/hicolor/*/actions/kipiplugin_youtube.*
%{_kf5_iconsdir}/hicolor/*/apps/reviewboard-purpose.*
%{_kf5_sharedir}/accounts/
%files devel