SHA256
1
0
forked from pool/purpose

Accepting request 408249 from KDE:Frameworks5

OBS-URL: https://build.opensuse.org/request/show/408249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/purpose?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2016-07-20 07:15:50 +00:00 committed by Git OBS Bridge
commit 64fd4637ed
4 changed files with 35 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f025294333f7cf5931dabf0f4dc0abeb9e41a2b25d4af86e1b63eada82980702
size 61752

3
purpose-1.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a6030212104582ccf19ad2fb765d441fb1eea7ae08368e04ce9603ea6ea1040
size 84980

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 13 08:09:57 UTC 2016 - hrvoje.senjan@gmail.com
- Update to 1.1
* No changelog provided
-------------------------------------------------------------------
Sat Oct 3 09:24:31 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package purpose
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,12 @@
#
%bcond_without lang
Name: purpose
Version: 1.0
Version: 1.1
Release: 0
%define kf5_version 5.7.0
%define rversion 1.0
%define rversion 1.1
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.7.0
BuildRequires: intltool
@ -38,11 +39,14 @@ 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
Url: http://www.kde.org
Source: %{name}-%{rversion}.tar.xz
Source: http://download.kde.org/stable/%{name}/%{name}-%{rversion}.tar.xz
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -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