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