]>
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 |
d9e53c02 | 4 | Version: 0.7.1 |
bc04e3f5 | 5 | Release: 1 |
3caca5ab | 6 | License: LGPL v2.1+ |
0ec62ed3 | 7 | Group: Libraries |
bc515697 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/rarian/0.7/%{name}-%{version}.tar.bz2 |
d9e53c02 | 9 | # Source0-md5: f2a2755d62cecc717af2b5432ae0f390 |
c6d72479 | 10 | URL: http://rarian.freedesktop.org/ |
4105a80b PZ |
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 | ||
0ec62ed3 JB |
23 | %description -l pl.UTF-8 |
24 | Rarian to biblioteka metadanych dokumentacji pozwalająca na dostęp do | |
25 | dokumentów oraz stron manuala i info. Została zaprojektowana jako | |
26 | zamiennik scrollkeepera. | |
27 | ||
4105a80b PZ |
28 | %package compat |
29 | Summary: Extra files for compatibility with scrollkeeper | |
0ec62ed3 | 30 | Summary(pl.UTF-8): Dodatkowe pliki dla kompatybilności ze scrollkeeperem |
4105a80b | 31 | License: GPL v2+ |
0ec62ed3 | 32 | Group: Applications/Text |
4105a80b PZ |
33 | Requires: %{name} = %{version}-%{release} |
34 | Provides: scrollkeeper | |
5ced47ce | 35 | Obsoletes: scrollkeeper <= 1:0.3.14 |
4105a80b PZ |
36 | |
37 | %description compat | |
38 | This package contains files needed to maintain backward-compatibility | |
39 | with scrollkeeper. | |
40 | ||
0ec62ed3 JB |
41 | %description compat -l pl.UTF-8 |
42 | Ten pakiet zawiera pliki potrzebne do zachowania wstecznej zgodności | |
43 | ze scrollkeeperem. | |
44 | ||
4105a80b PZ |
45 | %package devel |
46 | Summary: Development files for Rarian | |
0ec62ed3 JB |
47 | Summary(pl.UTF-8): Pliki programistyczne Rariana |
48 | Group: Development/Libraries | |
4105a80b PZ |
49 | Requires: %{name} = %{version}-%{release} |
50 | ||
51 | %description devel | |
52 | This package contains files required to develop applications that use | |
53 | the Rarian library ("librarian"). | |
54 | ||
0ec62ed3 JB |
55 | %description devel -l pl.UTF-8 |
56 | Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji | |
57 | wykorzystujących bibliotekę Rarian (librarian). | |
58 | ||
59 | %package static | |
60 | Summary: Static Rarian library | |
61 | Summary(pl.UTF-8): Statyczna biblioteka Rarian | |
62 | Group: Development/Libraries | |
63 | Requires: %{name}-devel = %{version}-%{release} | |
64 | ||
65 | %description static | |
66 | Static Rarian library (librarian). | |
67 | ||
68 | %description static -l pl.UTF-8 | |
69 | Statyczna biblioteka Rarian (librarian). | |
70 | ||
4105a80b PZ |
71 | %prep |
72 | %setup -q | |
73 | ||
74 | %build | |
75 | %configure \ | |
057d37ca PZ |
76 | --enable-omf-read \ |
77 | --disable-skdb-update | |
4105a80b | 78 | |
c6d72479 | 79 | %{__make} |
4105a80b PZ |
80 | |
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
c6d72479 MB |
83 | install -d $RPM_BUILD_ROOT%{_datadir}/omf |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
4105a80b | 87 | |
4105a80b PZ |
88 | %clean |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
0ec62ed3 JB |
91 | %post -p /sbin/ldconfig |
92 | %postun -p /sbin/ldconfig | |
4105a80b PZ |
93 | |
94 | %post compat | |
95 | %{_bindir}/rarian-sk-update | |
96 | ||
4105a80b PZ |
97 | %files |
98 | %defattr(644,root,root,755) | |
3caca5ab | 99 | %doc AUTHORS COPYING ChangeLog NEWS README |
4105a80b | 100 | %attr(755,root,root) %{_bindir}/rarian-example |
0ec62ed3 | 101 | %attr(755,root,root) %{_libdir}/librarian.so.*.*.* |
4105a80b PZ |
102 | %{_datadir}/librarian |
103 | %{_datadir}/help | |
104 | ||
105 | %files compat | |
106 | %defattr(644,root,root,755) | |
107 | %attr(755,root,root) %{_bindir}/rarian-sk-* | |
108 | %attr(755,root,root) %{_bindir}/scrollkeeper-* | |
c6d72479 | 109 | %dir %{_datadir}/omf |
4105a80b PZ |
110 | |
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
0ec62ed3 | 113 | %attr(755,root,root) %{_libdir}/librarian.so |
4105a80b | 114 | %{_libdir}/librarian.la |
0ec62ed3 | 115 | %{_includedir}/rarian |
4105a80b | 116 | %{_pkgconfigdir}/rarian.pc |
0ec62ed3 JB |
117 | |
118 | %files static | |
119 | %defattr(644,root,root,755) | |
120 | %{_libdir}/librarian.a |