1 Summary: GLib Objects and helper methods for reading and writing AppStream metadata
2 Summary(pl.UTF-8): Obiekty GLiba i metody pomocnicze do odczytu i zapisu metadanych AppStream
8 Source0: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz
9 # Source0-md5: aecdcd0bedaf7e41fc13335288312aae
10 URL: http://people.freedesktop.org/~hughsient/appstream-glib/
11 BuildRequires: gdk-pixbuf2-devel >= 2.14
12 BuildRequires: glib2-devel >= 1:2.16.1
13 BuildRequires: gobject-introspection-devel >= 0.9.8
15 BuildRequires: gtk-doc >= 1.9
16 BuildRequires: libarchive-devel
17 BuildRequires: libsoup-devel >= 2.24
18 BuildRequires: libstdc++-devel
19 BuildRequires: pkgconfig
20 BuildRequires: tar >= 1:1.22
22 Requires: glib2 >= 1:2.16.1
23 Requires: gdk-pixbuf2 >= 2.14
24 Requires: libsoup >= 2.24
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 AppStream-Glib library provides GObjects and helper methods to make it
29 easy to read and write AppStream metadata. It also provides a simple
30 DOM implementation that makes it easy to edit nodes and convert to and
31 from the standardized XML representation.
33 %description -l pl.UTF-8
34 Biblioteka AppStream-Glib dostarcza obiekty GLiba (GObject) oraz
35 metody pomocnicze ułatwiające odczyt i zapis metadanych AppStream.
36 Zapewnia także prostą implementację DOM ułatwiającą modyfikowanie
37 węzłów i konwersję do i ze standardowej reprezentacji XML.
40 Summary: Header files for appstream-glib library
41 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki appstream-glib
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: gdk-pixbuf2-devel >= 2.14
45 Requires: glib2-devel >= 1:2.16.1
48 Header files for appstream-glib library.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki appstream-glib.
54 Summary: Static appstream-glib library
55 Summary(pl.UTF-8): Statyczna biblioteka appstream-glib
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static appstream-glib library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka appstream-glib.
66 Summary: appstream-glib API documentation
67 Summary(pl.UTF-8): Dokumentacja API biblioteki appstream-glib
71 API documentation for appstream-glib library.
73 %description apidocs -l pl.UTF-8
74 Dokumentacja API biblioteki appstream-glib.
81 --disable-silent-rules \
82 --with-html-dir=%{_gtkdocdir}
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
91 # obsoleted by pkg-config
92 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libappstream-glib.la
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %doc AUTHORS MAINTAINERS NEWS README.md
103 %attr(755,root,root) %{_bindir}/appstream-util
104 %attr(755,root,root) %{_libdir}/libappstream-glib.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libappstream-glib.so.1
106 %{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libappstream-glib.so
111 %{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
112 %{_includedir}/libappstream-glib
113 %{_pkgconfigdir}/appstream-glib.pc
116 %defattr(644,root,root,755)
117 %{_libdir}/libappstream-glib.a
120 %defattr(644,root,root,755)
121 %{_gtkdocdir}/appstream-glib