]> git.pld-linux.org Git - packages/rarian.git/blame - rarian.spec
- fixed scrollkeeper version to obsolete, release 2
[packages/rarian.git] / rarian.spec
CommitLineData
4105a80b
PZ
1Summary: Rarian is a documentation meta-data library
2Name: rarian
3Version: 0.5.8
5ced47ce 4Release: 2
4105a80b
PZ
5License: LGPL v2+
6Group: Base
7Source0: http://ftp.gnome.org/pub/GNOME/sources/rarian/0.5/%{name}-%{version}.tar.bz2
8# Source0-md5: 9afee4d25a10bd5310ee21e23a09d659
057d37ca 9Patch0: %{name}-scrollkeeper.patch
c6d72479 10URL: http://rarian.freedesktop.org/
4105a80b
PZ
11BuildRequires: libxslt-devel
12Requires: coreutils
13Requires: gawk
14Requires: libxslt
15Requires: util-linux
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Rarian is a documentation meta-data library that allows access to
20documents, man pages and info pages. It was designed as a replacement
21for scrollkeeper.
22
23%package compat
24Summary: Extra files for compatibility with scrollkeeper
25License: GPL v2+
26Group: Base
27Requires: %{name} = %{version}-%{release}
28Provides: scrollkeeper
5ced47ce 29Obsoletes: scrollkeeper <= 1:0.3.14
4105a80b
PZ
30
31%description compat
32This package contains files needed to maintain backward-compatibility
33with scrollkeeper.
34
35%package devel
36Summary: Development files for Rarian
37Group: Development/Languages
38Requires: %{name} = %{version}-%{release}
39
40%description devel
41This package contains files required to develop applications that use
42the Rarian library ("librarian").
43
44%prep
45%setup -q
057d37ca 46%patch0 -p1
4105a80b
PZ
47
48%build
49%configure \
057d37ca
PZ
50 --enable-omf-read \
51 --disable-skdb-update
4105a80b 52
c6d72479 53%{__make}
4105a80b
PZ
54
55%install
56rm -rf $RPM_BUILD_ROOT
c6d72479
MB
57install -d $RPM_BUILD_ROOT%{_datadir}/omf
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
4105a80b
PZ
61
62rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.a
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post -p /sbin/ldconfig
68
69%post compat
70%{_bindir}/rarian-sk-update
71
72%postun -p /sbin/ldconfig
73
74%files
75%defattr(644,root,root,755)
76%doc README COPYING COPYING.LIB COPYING.UTILS ChangeLog NEWS AUTHORS
77%attr(755,root,root) %{_bindir}/rarian-example
78%attr(755,root,root) %{_libdir}/librarian.so.*.*
79%{_datadir}/librarian
80%{_datadir}/help
81
82%files compat
83%defattr(644,root,root,755)
84%attr(755,root,root) %{_bindir}/rarian-sk-*
85%attr(755,root,root) %{_bindir}/scrollkeeper-*
c6d72479 86%dir %{_datadir}/omf
4105a80b
PZ
87
88%files devel
89%defattr(644,root,root,755)
90%{_includedir}/rarian
91%{_libdir}/librarian.so
92%{_libdir}/librarian.la
93%{_pkgconfigdir}/rarian.pc
This page took 0.078193 seconds and 4 git commands to generate.