diff --git a/.cvsignore b/.cvsignore index e69de29..c54beed 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rarian-0.5.6.tar.bz2 diff --git a/rarian.spec b/rarian.spec new file mode 100644 index 0000000..66ececa --- /dev/null +++ b/rarian.spec @@ -0,0 +1,104 @@ +### Abstract ### + +Name: rarian +Version: 0.5.6 +Release: 2%{?dist} +License: LGPLv2+ +Group: System Environment/Base +Summary: Rarian is a documentation meta-data library +URL: http://ftp.gnome.org/pub/gnome/sources/rarian +Source: http://ftp.gnome.org/pub/gnome/sources/rarian/0.5/rarian-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +### Dependencies ### + +Requires: libxslt +# (for /usr/bin/xsltproc) + +Obsoletes: scrollkeeper + +### Build Dependencies ### + +BuildRequires: libxslt-devel + +%description +Rarian is a documentation meta-data library that allows access to documents, +man pages and info pages. It was designed as a replacement for scrollkeeper. + +%package compat +License: GPLv2+ +Group: System Environment/Base +Summary: Extra files for compatibility with scrollkeeper +Requires: rarian = %{version}-%{release} +Requires(post): rarian +Provides: scrollkeeper + +%description compat +This package contains files needed to maintain backward-compatibility with +scrollkeeper. + +%package devel +Group: Development/Languages +Summary: Development files for Rarian +Requires: rarian = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains files required to develop applications that use the +Rarian library ("librarian"). + +%prep +%setup -q + +%build +%configure --disable-skdb-update +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.a +rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%post compat +%{_bindir}/rarian-sk-update + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc README COPYING COPYING.LIB COPYING.UTILS ChangeLog NEWS AUTHORS +%{_bindir}/rarian-example +%{_libdir}/librarian.so.* +%{_datadir}/librarian +%{_datadir}/help/rarian.document + +%files compat +%defattr(-,root,root,-) +%{_bindir}/rarian-sk-* +%{_bindir}/scrollkeeper-* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/rarian +%{_libdir}/librarian.so +%{_libdir}/pkgconfig/rarian.pc + +%changelog +* Wed Aug 01 2007 Matthew Barnes - 0.5.6-2 +- More package review feedback (#250150). + +* Wed Aug 01 2007 Matthew Barnes - 0.5.6-1 +- Update to 0.5.6 + +* Tue Jul 31 2007 Matthew Barnes - 0.5.4-2 +- Incorporate package review suggestions. + +* Mon Jul 30 2007 Matthew Barnes - 0.5.4-1 +- Initial packaging. diff --git a/sources b/sources index e69de29..e582ef3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3e4e8b28536462c8608855f142dc895e rarian-0.5.6.tar.bz2