]> git.pld-linux.org Git - packages/rarian.git/blob - rarian.spec
- rarian-compat owns /usr/share/omf
[packages/rarian.git] / rarian.spec
1 Summary:        Rarian is a documentation meta-data library
2 Name:           rarian
3 Version:        0.5.8
4 Release:        1
5 License:        LGPL v2+
6 Group:          Base
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/rarian/0.5/%{name}-%{version}.tar.bz2
8 # Source0-md5:  9afee4d25a10bd5310ee21e23a09d659
9 Patch0:         %{name}-scrollkeeper.patch
10 URL:            http://rarian.freedesktop.org/
11 BuildRequires:  libxslt-devel
12 Requires:       coreutils
13 Requires:       gawk
14 Requires:       libxslt
15 Requires:       util-linux
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Rarian is a documentation meta-data library that allows access to
20 documents, man pages and info pages. It was designed as a replacement
21 for scrollkeeper.
22
23 %package compat
24 Summary:        Extra files for compatibility with scrollkeeper
25 License:        GPL v2+
26 Group:          Base
27 Requires:       %{name} = %{version}-%{release}
28 Provides:       scrollkeeper
29 Obsoletes:      scrollkeeper <= 0.3.14
30
31 %description compat
32 This package contains files needed to maintain backward-compatibility
33 with scrollkeeper.
34
35 %package devel
36 Summary:        Development files for Rarian
37 Group:          Development/Languages
38 Requires:       %{name} = %{version}-%{release}
39
40 %description devel
41 This package contains files required to develop applications that use
42 the Rarian library ("librarian").
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 %configure \
50         --enable-omf-read \
51         --disable-skdb-update
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_datadir}/omf
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.a
63
64 %clean
65 rm -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-*
86 %dir %{_datadir}/omf
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.121358 seconds and 3 git commands to generate.