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