]>
Commit | Line | Data |
---|---|---|
0ec62ed3 JB |
1 | Summary: Rarian - a documentation meta-data library |
2 | Summary(pl.UTF-8): Rarian - biblioteka metadanych dokumentacji | |
4105a80b | 3 | Name: rarian |
7f26812d | 4 | Version: 0.8.1 |
e447771f | 5 | Release: 5 |
144cc940 | 6 | License: LGPL v2.1+ (library), GPL v2+ (utilities) |
0ec62ed3 | 7 | Group: Libraries |
4f911e6c | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/rarian/0.8/%{name}-%{version}.tar.bz2 |
7f26812d | 9 | # Source0-md5: 75091185e13da67a0ff4279de1757b94 |
144cc940 | 10 | Patch0: %{name}-am.patch |
c6d72479 | 11 | URL: http://rarian.freedesktop.org/ |
4f911e6c MB |
12 | BuildRequires: autoconf >= 2.59 |
13 | BuildRequires: automake | |
ebdef358 | 14 | BuildRequires: libstdc++-devel |
4f911e6c | 15 | BuildRequires: libtool |
4105a80b PZ |
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 | ||
0ec62ed3 JB |
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 | ||
4105a80b PZ |
33 | %package compat |
34 | Summary: Extra files for compatibility with scrollkeeper | |
0ec62ed3 | 35 | Summary(pl.UTF-8): Dodatkowe pliki dla kompatybilności ze scrollkeeperem |
4105a80b | 36 | License: GPL v2+ |
0ec62ed3 | 37 | Group: Applications/Text |
4105a80b PZ |
38 | Requires: %{name} = %{version}-%{release} |
39 | Provides: scrollkeeper | |
5ced47ce | 40 | Obsoletes: scrollkeeper <= 1:0.3.14 |
4105a80b PZ |
41 | |
42 | %description compat | |
43 | This package contains files needed to maintain backward-compatibility | |
44 | with scrollkeeper. | |
45 | ||
0ec62ed3 JB |
46 | %description compat -l pl.UTF-8 |
47 | Ten pakiet zawiera pliki potrzebne do zachowania wstecznej zgodności | |
48 | ze scrollkeeperem. | |
49 | ||
4105a80b PZ |
50 | %package devel |
51 | Summary: Development files for Rarian | |
0ec62ed3 JB |
52 | Summary(pl.UTF-8): Pliki programistyczne Rariana |
53 | Group: Development/Libraries | |
4105a80b | 54 | Requires: %{name} = %{version}-%{release} |
c5203e6a | 55 | Requires: libstdc++-devel |
4105a80b PZ |
56 | |
57 | %description devel | |
58 | This package contains files required to develop applications that use | |
59 | the Rarian library ("librarian"). | |
60 | ||
0ec62ed3 JB |
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 | ||
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 | |
94 | rm -rf $RPM_BUILD_ROOT | |
c6d72479 MB |
95 | install -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 |
104 | rm -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 |