]> git.pld-linux.org Git - packages/zif.git/blame - zif.spec
- cloned from fedora, needs patching to jbj rpm ;-/
[packages/zif.git] / zif.spec
CommitLineData
c2386f48
ER
1# TODO
2# - "port" to jbj rpm, sigh
3#/usr/include/rpm/hdrinline.h:615:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'headerGetStartOff'
4#/usr/include/rpm/hdrinline.h:624:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'headerSetStartOff'
5#/usr/include/rpm/hdrinline.h:632:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'headerGetEndOff'
6#/usr/include/rpm/hdrinline.h:641:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'headerSetEndOff'
7Summary: Simple wrapper for rpm and the Fedora package metadata
8Name: zif
9Version: 0.1.5
10Release: 0.1
11License: GPL v2+
12Group: Libraries
13URL: http://github.com/hughsie/zif
14Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.gz
15# Source0-md5: 7811aae553cb4d1f21648096a7e9a8d0
16BuildRequires: bzip2-devel
17BuildRequires: docbook-utils
18BuildRequires: gettext
19BuildRequires: glib2-devel >= 1:2.16.1
20BuildRequires: gnome-doc-utils
21BuildRequires: gpgme-devel
22BuildRequires: gtk-doc
23BuildRequires: intltool
24BuildRequires: libarchive-devel
25BuildRequires: libsoup-devel
26BuildRequires: libtool
27BuildRequires: rpm-devel
28BuildRequires: sqlite-devel
29BuildRequires: zlib-devel
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Zif is a simple yum-compatible library that provides read-write access
34to the rpm database and the Fedora metadata for PackageKit.
35
36Zif is not designed as a replacement to yum, nor to be used by end
37users.
38
39%package devel
40Summary: GLib Libraries and headers for zif
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: bzip2-devel
44Requires: gpgme-devel
45Requires: zlib-devel
46
47%description devel
48GLib headers and libraries for zif.
49
50%prep
51%setup -q
52
53%build
54%configure \
55 --enable-gtk-doc \
56 --disable-static \
57 --disable-dependency-tracking
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65rm -f $RPM_BUILD_ROOT%{_libdir}/libzif*.la
66
67%find_lang Zif
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files -f Zif.lang
76%defattr(644,root,root,755)
77%doc README AUTHORS NEWS
78%{_sysconfdir}/bash_completion.d/*-completion.bash
79%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zif/zif.conf
80%attr(755,root,root) %{_bindir}/zif
81%{_libdir}/*libzif*.so.*
82%{_mandir}/man1/*.1*
83%dir %{_sysconfdir}/zif
84
85%files devel
86%defattr(644,root,root,755)
87%{_libdir}/libzif*.so
88%{_pkgconfigdir}/zif.pc
89%dir %{_includedir}/libzif
90%{_includedir}/libzif/*.h
91%{_datadir}/gtk-doc
This page took 0.07967 seconds and 4 git commands to generate.