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