- updated to 0.9.0 (note: new libappstream soname) auto/th/AppStream-0.9.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Jan 2016 20:53:52 +0000 (21:53 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Jan 2016 20:53:52 +0000 (21:53 +0100)
AppStream.spec

index f5a1e7e..0d7e60f 100644 (file)
@@ -1,25 +1,26 @@
 #
 # Conditional build:
 %bcond_without apidocs         # API documentation build
+%bcond_with    apt             # Debian/APT support
 %bcond_without qt              # Qt library (libappstream-qt)
 %bcond_without vala            # Vala API (VAPI)
 
 Summary:       AppStream-Core library and tools
 Summary(pl.UTF-8):     Biblioteka i narzędzia AppStream-Core
 Name:          AppStream
-Version:       0.8.6
+Version:       0.9.0
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 6ef680f00a9f888ea3feb658883bf655
+# Source0-md5: ed98d9329a6f892ac466e3465a26750c
 URL:           http://www.freedesktop.org/wiki/Distributions/AppStream/Software/
 BuildRequires: cmake >= 3.2.0
 BuildRequires: gettext-tools
 BuildRequires: glib2-devel >= 1:2.36
 BuildRequires: gobject-introspection-devel
 BuildRequires: intltool
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libxml2-devel >= 2.0
 BuildRequires: pkgconfig
 BuildRequires: protobuf-devel
@@ -123,6 +124,7 @@ API języka Vala do biblioteki AppStream.
 install -d build
 cd build
 %cmake .. \
+       %{?with_apt:-DAPT_SUPPORT=ON} \
        %{?with_apidocs:-DDOCUMENTATION=ON} \
        %{?with_qt:-DQT=ON} \
        %{?with_vala:-DVAPI=ON}
@@ -154,17 +156,20 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS MAINTAINERS NEWS README.md RELEASE
 %attr(755,root,root) %{_bindir}/appstreamcli
 %attr(755,root,root) %{_libdir}/libappstream.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libappstream.so.2
-%{_libdir}/girepository-1.0/AppStream-0.8.typelib
+%attr(755,root,root) %ghost %{_libdir}/libappstream.so.3
+%{_libdir}/girepository-1.0/AppStream-1.0.typelib
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/appstream.conf
 %dir %{_datadir}/app-info
 %{_datadir}/app-info/categories.xml
+%if %{with apt}
+/etc/apt/apt.conf.d/50appstream
+%endif
 %{_mandir}/man1/appstreamcli.1*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libappstream.so
-%{_datadir}/gir-1.0/AppStream-0.8.gir
+%{_datadir}/gir-1.0/AppStream-1.0.gir
 %{_includedir}/AppStream
 %{_pkgconfigdir}/appstream.pc
 
This page took 0.061812 seconds and 4 git commands to generate.