convert razor_package_get_details() and razor_package_iterator_next() to varargs
The functions for getting package details about a package were limited to a few
things, when in the future we will want to support much more about a package.
The iterator was also limited to name,version,arch when most of the time we
didn't need all this data.
1 Summary: Razor is a package management system replacing rpm and yum
6 Group: System Environment/Libraries
7 URL: http://github.com/krh/razor/wikis
8 Source0: http://people.freedesktop.org/~krh/releases/%{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildRequires: expat-devel
15 BuildRequires: libtool
16 BuildRequires: gettext
17 BuildRequires: libcurl-devel
18 BuildRequires: rpm-devel
19 BuildRequires: zlib-devel
20 BuildRequires: perl(XML::Parser)
23 Razor is a package management system replacing rpm and yum.
24 Razor implements management of packages installed on the system,
25 dependency solving, and upgrading in a small compact code base with
29 Summary: Libraries for accessing razor
30 Group: Development/Libraries
31 Requires: expat >= %{dbus_version}
32 Requires: %{name} = %{version}-%{release}
35 Libraries for accessing razor.
38 Summary: Libraries and headers for razor
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
42 Requires: libcurl-devel
47 Headers and libraries for razor.
58 rm -rf $RPM_BUILD_ROOT
59 make install DESTDIR=$RPM_BUILD_ROOT
61 rm -f $RPM_BUILD_ROOT%{_libdir}/librazor*.a
62 rm -f $RPM_BUILD_ROOT%{_libdir}/librazor*.la
67 rm -rf $RPM_BUILD_ROOT
69 %post libs -p /sbin/ldconfig
71 %postun libs -p /sbin/ldconfig
75 %defattr(-,root,root,-)
76 %doc README AUTHORS NEWS COPYING
77 %dir %{_datadir}/doc/razor
78 %doc %{_datadir}/doc/razor/*.txt
79 %config %{_sysconfdir}/bash_completion.d/*.sh
81 %exclude %{_libdir}/librazor*.so.*
84 %defattr(-,root,root,-)
85 %doc README AUTHORS NEWS COPYING
86 %{_libdir}/*razor*.so.*
89 %defattr(-,root,root,-)
92 %{_libdir}/pkgconfig/*
96 * Mon Jun 16 2008 Richard Hughes <richard@hughsie.com> 0.1-0.1