987942c
### Abstract ###
987942c
987942c
Name: rarian
01b9356
Version: 0.6.0
9f3fb5d
Release: 2%{?dist}
987942c
License: LGPLv2+
987942c
Group: System Environment/Base
987942c
Summary: Rarian is a documentation meta-data library
987942c
URL: http://ftp.gnome.org/pub/gnome/sources/rarian
987942c
Source: http://ftp.gnome.org/pub/gnome/sources/rarian/0.5/rarian-%{version}.tar.bz2
987942c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
987942c
987942c
### Dependencies ###
987942c
987942c
Requires: libxslt
987942c
# (for /usr/bin/xsltproc)
d038b21
Requires: coreutils, util-linux, gawk
d038b21
# for basename, getopt, awk, etc
987942c
987942c
### Build Dependencies ###
987942c
987942c
BuildRequires: libxslt-devel
987942c
987942c
%description
987942c
Rarian is a documentation meta-data library that allows access to documents,
987942c
man pages and info pages.  It was designed as a replacement for scrollkeeper.
987942c
987942c
%package compat
987942c
License: GPLv2+
987942c
Group: System Environment/Base
987942c
Summary: Extra files for compatibility with scrollkeeper
987942c
Requires: rarian = %{version}-%{release}
987942c
Requires(post): rarian
f054c09
# The scrollkeeper version is arbitrary.  It just
f054c09
# needs to be greater than what we're obsoleting.
f054c09
Provides: scrollkeeper = 0.4
58e10f7
Obsoletes: scrollkeeper <= 0.3.14
987942c
987942c
%description compat
987942c
This package contains files needed to maintain backward-compatibility with
987942c
scrollkeeper.
987942c
987942c
%package devel
987942c
Group: Development/Languages
987942c
Summary: Development files for Rarian
987942c
Requires: rarian = %{version}-%{release}
987942c
Requires: pkgconfig
987942c
987942c
%description devel
987942c
This package contains files required to develop applications that use the
987942c
Rarian library ("librarian").
987942c
987942c
%prep
987942c
%setup -q
987942c
987942c
%build
a61576b
987942c
%configure --disable-skdb-update
987942c
make %{?_smp_mflags}
987942c
987942c
%install
987942c
rm -rf $RPM_BUILD_ROOT
987942c
make install DESTDIR=$RPM_BUILD_ROOT
987942c
987942c
rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.a
987942c
rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.la
987942c
987942c
%clean
987942c
rm -rf $RPM_BUILD_ROOT
987942c
987942c
%post -p /sbin/ldconfig
987942c
987942c
%post compat
987942c
%{_bindir}/rarian-sk-update
987942c
987942c
%postun -p /sbin/ldconfig
987942c
987942c
%files
987942c
%defattr(-,root,root,-)
987942c
%doc README COPYING COPYING.LIB COPYING.UTILS ChangeLog NEWS AUTHORS
987942c
%{_bindir}/rarian-example
987942c
%{_libdir}/librarian.so.*
987942c
%{_datadir}/librarian
9f3fb5d
%{_datadir}/help
987942c
987942c
%files compat
987942c
%defattr(-,root,root,-)
987942c
%{_bindir}/rarian-sk-*
987942c
%{_bindir}/scrollkeeper-*
987942c
987942c
%files devel
987942c
%defattr(644,root,root,755)
987942c
%{_includedir}/rarian
987942c
%{_libdir}/librarian.so
987942c
%{_libdir}/pkgconfig/rarian.pc
987942c
987942c
%changelog
9f3fb5d
* Tue Nov 06 2007 Matthew Barnes <mbarnes@redhat.com> - 0.6.0-2
9f3fb5d
- Own /usr/share/help (RH bug #363311).
9f3fb5d
01b9356
* Wed Sep 12 2007 Matthew Barnes <mbarnes@redhat.com> - 0.6.0-1
01b9356
- Update to 0.6.0
01b9356
- Remove patch for RH bug #254301 (fixed upstream).
01b9356
a61576b
* Thu Aug 30 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.8-3
a61576b
- Add patch for RH bug #254301 (rarian-sk-config --omfdir).
a61576b
4c970fe
* Wed Aug 22 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.8-2
4c970fe
- Mass rebuild
4c970fe
5fb3cb0
* Mon Aug 13 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.8-1
5fb3cb0
- Update to 0.5.8
5fb3cb0
58e10f7
* Thu Aug  9 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.6-5
58e10f7
- Move Provides and Obsoletes in the same package, to
58e10f7
  avoid unnessary complications
58e10f7
d038b21
* Sat Aug  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.6-4
d038b21
- Add a few missing Requires
d038b21
f054c09
* Thu Aug 02 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.6-3
f054c09
- Fix the Obsoletes/Provides relationship.
f054c09
987942c
* Wed Aug 01 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.6-2
987942c
- More package review feedback (#250150).
987942c
987942c
* Wed Aug 01 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.6-1
987942c
- Update to 0.5.6
987942c
987942c
* Tue Jul 31 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.4-2
987942c
- Incorporate package review suggestions.
987942c
987942c
* Mon Jul 30 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.4-1
987942c
- Initial packaging.