Sync with KDE:Frameworks5:LTS
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=25
This commit is contained in:
parent
11d12aae4c
commit
99fc9d696d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 19:17:57 UTC 2016 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
- Use a define for the so version and fix -devel requiring the old libappstream3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 16 07:45:43 UTC 2016 - alarrosa@suse.com
|
Fri Sep 16 07:45:43 UTC 2016 - alarrosa@suse.com
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libappstream_sover 4
|
||||||
|
|
||||||
Name: AppStream
|
Name: AppStream
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -44,12 +46,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
AppStream-Core makes it easy to access application information from the
|
AppStream-Core makes it easy to access application information from the
|
||||||
AppStream database over a nice GObject-based interface.
|
AppStream database over a nice GObject-based interface.
|
||||||
|
|
||||||
%package -n libappstream4
|
%package -n libappstream%{libappstream_sover}
|
||||||
Summary: The main library for AppStream
|
Summary: The main library for AppStream
|
||||||
License: GPL-2.0+ and LGPL-2.1+
|
License: GPL-2.0+ and LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libappstream4
|
%description -n libappstream%{libappstream_sover}
|
||||||
The main library for AppStream.
|
The main library for AppStream.
|
||||||
|
|
||||||
%package -n libAppstreamQt1
|
%package -n libAppstreamQt1
|
||||||
@ -65,7 +67,7 @@ Summary: Needed include files and libraries for development
|
|||||||
License: GPL-2.0+ and LGPL-2.1+
|
License: GPL-2.0+ and LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libAppstreamQt1 = %{version}
|
Requires: libAppstreamQt1 = %{version}
|
||||||
Requires: libappstream4 = %{version}
|
Requires: libappstream%{libappstream_sover} = %{version}
|
||||||
|
|
||||||
%description -n libAppstreamQt-devel
|
%description -n libAppstreamQt-devel
|
||||||
This package contains all necessary include files, libraries,
|
This package contains all necessary include files, libraries,
|
||||||
@ -76,7 +78,7 @@ compile and link applications using the Qt bindings for AppStream.
|
|||||||
Summary: Needed include files and libraries for development
|
Summary: Needed include files and libraries for development
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libappstream3 = %{version}
|
Requires: libappstream%{libappstream_sover} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files, libraries,
|
This package contains all necessary include files, libraries,
|
||||||
@ -121,9 +123,9 @@ SUFFIX=""
|
|||||||
|
|
||||||
%find_lang appstream %{name}.lang
|
%find_lang appstream %{name}.lang
|
||||||
|
|
||||||
%post -n libappstream4 -p /sbin/ldconfig
|
%post -n libappstream%{libappstream_sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libappstream4 -p /sbin/ldconfig
|
%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libAppstreamQt1 -p /sbin/ldconfig
|
%post -n libAppstreamQt1 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -140,7 +142,7 @@ SUFFIX=""
|
|||||||
#{_datadir}/app-info/categories.xml
|
#{_datadir}/app-info/categories.xml
|
||||||
%{_mandir}/man1/appstreamcli.*
|
%{_mandir}/man1/appstreamcli.*
|
||||||
|
|
||||||
%files -n libappstream4
|
%files -n libappstream%{libappstream_sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE* NEWS
|
%doc LICENSE* NEWS
|
||||||
%{_libdir}/libappstream.so.*
|
%{_libdir}/libappstream.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user