forked from pool/purpose
This commit is contained in:
committed by
Git OBS Bridge
parent
8285aa504a
commit
66c1b3c1e6
24
purpose.spec
24
purpose.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user