]> git.pld-linux.org Git - packages/rarian.git/blob - rarian.spec
- release 5 (by relup.sh)
[packages/rarian.git] / rarian.spec
1 Summary:        Rarian - a documentation meta-data library
2 Summary(pl.UTF-8):      Rarian - biblioteka metadanych dokumentacji
3 Name:           rarian
4 Version:        0.8.1
5 Release:        5
6 License:        LGPL v2.1+ (library), GPL v2+ (utilities)
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/rarian/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  75091185e13da67a0ff4279de1757b94
10 Patch0:         %{name}-am.patch
11 URL:            http://rarian.freedesktop.org/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool
16 BuildRequires:  libxslt-devel
17 Requires:       coreutils
18 Requires:       gawk
19 Requires:       libxslt
20 Requires:       util-linux
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Rarian is a documentation meta-data library that allows access to
25 documents, man pages and info pages. It was designed as a replacement
26 for scrollkeeper.
27
28 %description -l pl.UTF-8
29 Rarian to biblioteka metadanych dokumentacji pozwalająca na dostęp do
30 dokumentów oraz stron manuala i info. Została zaprojektowana jako
31 zamiennik scrollkeepera.
32
33 %package compat
34 Summary:        Extra files for compatibility with scrollkeeper
35 Summary(pl.UTF-8):      Dodatkowe pliki dla kompatybilności ze scrollkeeperem
36 License:        GPL v2+
37 Group:          Applications/Text
38 Requires:       %{name} = %{version}-%{release}
39 Provides:       scrollkeeper
40 Obsoletes:      scrollkeeper <= 1:0.3.14
41
42 %description compat
43 This package contains files needed to maintain backward-compatibility
44 with scrollkeeper.
45
46 %description compat -l pl.UTF-8
47 Ten pakiet zawiera pliki potrzebne do zachowania wstecznej zgodności
48 ze scrollkeeperem.
49
50 %package devel
51 Summary:        Development files for Rarian
52 Summary(pl.UTF-8):      Pliki programistyczne Rariana
53 Group:          Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55 Requires:       libstdc++-devel
56
57 %description devel
58 This package contains files required to develop applications that use
59 the Rarian library ("librarian").
60
61 %description devel -l pl.UTF-8
62 Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji
63 wykorzystujących bibliotekę Rarian (librarian).
64
65 %package static
66 Summary:        Static Rarian library
67 Summary(pl.UTF-8):      Statyczna biblioteka Rarian
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static Rarian library (librarian).
73
74 %description static -l pl.UTF-8
75 Statyczna biblioteka Rarian (librarian).
76
77 %prep
78 %setup -q
79 %patch0 -p1
80
81 %build
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --enable-omf-read \
89         --disable-skdb-update
90
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{_datadir}/omf
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 # obsolted by pkg-config
101 %{__rm} $RPM_BUILD_ROOT%{_libdir}/librarian.la
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %post compat
110 %{_bindir}/rarian-sk-update
111
112 %files
113 %defattr(644,root,root,755)
114 %doc COPYING ChangeLog NEWS README
115 %attr(755,root,root) %{_bindir}/rarian-example
116 %attr(755,root,root) %{_libdir}/librarian.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/librarian.so.0
118 %{_datadir}/librarian
119 %{_datadir}/help/rarian.document
120
121 %files compat
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_bindir}/rarian-sk-*
124 %attr(755,root,root) %{_bindir}/scrollkeeper-*
125 %dir %{_datadir}/omf
126
127 %files devel
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/librarian.so
130 %{_includedir}/rarian
131 %{_pkgconfigdir}/rarian.pc
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/librarian.a
This page took 0.738464 seconds and 3 git commands to generate.