source: projects/specs/trunk/r/rarian/rarian-vl.spec @ 12360

Revision 12360, 5.9 KB checked in by tomop, 4 years ago (diff)

updated 5 packages

libidn-1.35-1

libidn2-2.3.0-1

libusb-0.1.5-2

mktcapdir-0.6.0-3

rarian-0.8.1-7

Line 
1Name: rarian
2Version: 0.8.1
3Release: 7%{?_dist_release}
4License: LGPLv2+
5Group: System Environment/Libraries
6Summary: Rarian is a documentation meta-data library
7Summary(ja): Rarian 文書メタデータライブラリ
8URL: https://ftp.gnome.org/pub/gnome/sources/rarian
9
10Vendor: Project Vine
11Distribution: Vine Linux
12
13Source: https://ftp.gnome.org/pub/gnome/sources/rarian/0.8/rarian-%{version}.tar.bz2
14Source1: scrollkeeper-omf.dtd
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17### Dependencies ###
18
19Requires(post): libxml2
20Requires(postun): libxml2
21# for /usr/bin/xmlcatalog
22
23Requires: libxslt
24# for /usr/bin/xsltproc
25Requires: coreutils, util-linux, gawk
26# for basename, getopt, awk, etc
27
28### Build Dependencies ###
29BuildRequires: libxslt-devel
30
31%description
32Rarian is a documentation meta-data library that allows access to documents,
33man pages and info pages.  It was designed as a replacement for scrollkeeper.
34
35%package compat
36License: GPLv2+
37Group: System Environment/Base
38Summary: Extra files for compatibility with scrollkeeper
39Requires: rarian = %{version}-%{release}
40Requires(post): rarian, xml-common
41# The scrollkeeper version is arbitrary.  It just
42# needs to be greater than what we're obsoleting.
43Provides: scrollkeeper = 0.4
44Obsoletes: scrollkeeper <= 0.3.14
45
46%description compat
47This package contains files needed to maintain backward-compatibility with
48scrollkeeper.
49
50%package devel
51Group: Development/Libraries
52Summary: Development files for Rarian
53Summary(ja): Rarian 用開発ファイル
54Requires: rarian = %{version}-%{release}
55Requires: pkgconfig
56
57%description devel
58This package contains files required to develop applications that use the
59Rarian library ("librarian").
60
61%prep
62%setup -q
63
64%build
65
66%configure --disable-skdb-update
67make %{?_smp_mflags}
68
69%install
70rm -rf $RPM_BUILD_ROOT
71make install DESTDIR=$RPM_BUILD_ROOT
72
73mkdir -p $RPM_BUILD_ROOT%{_datadir}/xml/scrollkeeper/dtds
74cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xml/scrollkeeper/dtds
75
76rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.a
77rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.la
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83
84%post compat
85%{_bindir}/rarian-sk-update
86
87# Add OMF DTD to XML catalog.
88CATALOG=/etc/xml/catalog
89/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
90  "http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" \
91  "%{_datadir}/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" $CATALOG
92/usr/bin/xmlcatalog --noout --add "rewriteURI" \
93  "http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" \
94  "%{_datadir}/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" $CATALOG
95
96%postun -p /sbin/ldconfig
97
98%postun compat
99
100# Delete OMF DTD from XML catalog.
101if [ $1 = 0 ]; then
102  CATALOG=/etc/xml/catalog
103  /usr/bin/xmlcatalog --noout --del \
104    "%{_datadir}/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" $CATALOG
105fi
106
107%files
108%defattr(-,root,root,-)
109%license COPYING COPYING.LIB COPYING.UTILS
110%doc README ChangeLog NEWS AUTHORS
111%{_bindir}/rarian-example
112%{_libdir}/librarian.so.*
113%{_datadir}/librarian
114%{_datadir}/help
115
116%files compat
117%defattr(-,root,root,-)
118%{_bindir}/rarian-sk-*
119%{_bindir}/scrollkeeper-*
120%{_datadir}/xml/scrollkeeper
121
122%files devel
123%defattr(644,root,root,755)
124%{_includedir}/rarian
125%{_libdir}/librarian.so
126%{_libdir}/pkgconfig/rarian.pc
127
128%changelog
129* Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8.1-7
130- rebuilt with current environment.
131
132* Mon Jul  4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8.1-6
133- rebuilt with new toolchain.
134
135* Sat Aug 30 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-5
136- rebuilt with current environment
137
138* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.8.1-4
139- rebuilt with rpm-4.8.1 for pkg-config
140
141* Sat Mar  6 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.8.1-3
142- rebuilt with new toolchain
143- add Requires(post): xml-common to rarian-compat
144
145* Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.8.1-2
146- changed Group to System Environment/Libraries
147- changed devel subpackage Group to Development/Libraries
148
149* Tue Sep 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.8.1-1vl5
150- new upstream release
151- spec in UTF-8
152
153* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.8.0-1vl5
154- new upstream release
155
156* Sat Mar  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6.0-0vl1
157- initial build for Vine
158
159* Mon Feb 18 2008 Matthew Barnes <mbarnes@redhat.com> - 0.7.1-3
160- Require libxml2 in %%post and %%postun (RH bug #433268).
161
162* Sat Feb 09 2008 Matthew Barnes <mbarnes@redhat.com> - 0.7.1-2
163- Install XML DTD for scrollkeeper OMF files (RH bug #431088).
164
165* Tue Jan 08 2008 - Bastien Nocera <bnocera@redhat.com> - 0.7.1-1
166- Update to 0.7.1
167
168* Mon Nov 26 2007 Matthew Barnes <mbarnes@redhat.com> - 0.7.0-1
169- Update to 0.7.0
170
171* Tue Nov 06 2007 Matthew Barnes <mbarnes@redhat.com> - 0.6.0-2
172- Own /usr/share/help (RH bug #363311).
173
174* Wed Sep 12 2007 Matthew Barnes <mbarnes@redhat.com> - 0.6.0-1
175- Update to 0.6.0
176- Remove patch for RH bug #254301 (fixed upstream).
177
178* Thu Aug 30 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.8-3
179- Add patch for RH bug #254301 (rarian-sk-config --omfdir).
180
181* Wed Aug 22 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.8-2
182- Mass rebuild
183
184* Mon Aug 13 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.8-1
185- Update to 0.5.8
186
187* Thu Aug  9 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.6-5
188- Move Provides and Obsoletes in the same package, to
189  avoid unnessary complications
190
191* Sat Aug  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.6-4
192- Add a few missing Requires
193
194* Thu Aug 02 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.6-3
195- Fix the Obsoletes/Provides relationship.
196
197* Wed Aug 01 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.6-2
198- More package review feedback (#250150).
199
200* Wed Aug 01 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.6-1
201- Update to 0.5.6
202
203* Tue Jul 31 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.4-2
204- Incorporate package review suggestions.
205
206* Mon Jul 30 2007 Matthew Barnes <mbarnes@redhat.com> - 0.5.4-1
207- Initial packaging.
Note: See TracBrowser for help on using the repository browser.