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