source: projects/specs/trunk/d/docbook-style-dsssl/docbook-style-dsssl-vl.spec @ 8084

Revision 8084, 5.9 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:        Norman Walsh's modular stylesheets for DocBook.
2Summary(ja):    Norman Walsh 作の DocBook 用スタイルシート
3Name:           docbook-style-dsssl
4Version:        1.79
5Release:        13%{?_dist_release}
6Group:          Applications/Text
7
8License:        Copyright only
9URL:            http://docbook.sourceforge.net/
10
11Source0:        http://prdownloads.sourceforge.net/docbook/docbook-dsssl-%{version}.tar.gz
12Source1:        %{name}.Makefile
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildArch:      noarch
16
17%define openjadever 1.3.2
18Requires: openjade = %{openjadever}
19Requires: docbook-dtds
20Requires: sgml-common
21Requires(post): sgml-common
22Requires(preun): sgml-common
23Conflicts:      docbook-utils < 0.6.9
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29These DSSSL stylesheets allow to convert any DocBook document to another
30printed (for example, RTF or PostScript) or online (for example, HTML) format.
31They are highly customizable.
32
33%prep
34%setup -q -n docbook-dsssl-%{version}
35cp %{SOURCE1} Makefile
36
37
38%build
39
40
41%install
42[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
43
44DESTDIR=$RPM_BUILD_ROOT
45make install BINDIR=$DESTDIR%{_bindir} DESTDIR=$DESTDIR%{_datadir}/sgml/docbook/dsssl-stylesheets-%{version} MANDIR=$DESTDIR%{_mandir}
46cd ..
47ln -s dsssl-stylesheets-%{version} $DESTDIR%{_datadir}/sgml/docbook/dsssl-stylesheets
48
49
50%clean
51[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
52
53%post
54rel=$(echo /etc/sgml/sgml-docbook-3.0-*.cat)
55rel=${rel##*-}
56rel=${rel%.cat}
57for centralized in /etc/sgml/*-docbook-*.cat
58do
59       /usr/bin/install-catalog --remove $centralized \
60               /usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \
61               >/dev/null 2>/dev/null
62done
63
64for centralized in /etc/sgml/*-docbook-*$rel.cat
65do
66       /usr/bin/install-catalog --add $centralized \
67               /usr/share/sgml/openjade-%{openjadever}/catalog \
68               > /dev/null 2>/dev/null
69       /usr/bin/install-catalog --add $centralized \
70               /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \
71               > /dev/null 2>/dev/null
72done
73
74
75%preun
76if [ "$1" = "0" ]; then
77  for centralized in /etc/sgml/*-docbook-*.cat
78  do   /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade-%{openjadever}/catalog > /dev/null 2>/dev/null
79    /usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
80  done
81fi
82exit 0
83
84
85%files
86%defattr (-,root,root)
87%doc BUGS README RELEASE-NOTES.txt ChangeLog WhatsNew
88%{_bindir}/collateindex.pl
89%{_datadir}/sgml/docbook/dsssl-stylesheets-%{version}
90%{_datadir}/sgml/docbook/dsssl-stylesheets
91%{_mandir}/man1/collateindex.pl.1*
92
93
94%changelog
95* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.79-13
96- rebuild with VineSeed environment
97
98* Fri Apr 22 2011 IWAI, Masaharu <iwai@alib.jp> 1.79-12
99- add Vendor and Distribution tags
100
101* Sun Mar  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.79-11
102- based on FC 1.79-10
103  * Tue Feb 02 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-10
104  - fix merge review issues(#225703)
105  * Fri Dec 18 2009 Ondrej Vasik <ovasik@redhat.com> - 1.79-9
106  - License Copyright only
107  * Fri Aug 28 2009 Ondrej Vasik <ovasik@redhat.com> - 1.79-8
108  - ship manpage for collateindex.pl
109  - preserve attributes and timestamps in Makefile
110  * Thu Nov 10 2005 Tim Waugh <twaugh@redhat.com> 1.79-2
111  - Ship olink.dsl (bug #172523).
112
113* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.79-1vl5
114- applied new versioning policy, spec in utf-8
115- s/Copyright/License/
116
117* Thu Jun  9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.79-1vl1
118- new upstream release
119- No longer need articleinfo patch
120- added Japanese summary
121
122* Wed Jun  4 2003 Jun NISHII <jun@vinelinux.org> 1.78-2vl2
123- keep silence in preun
124
125* Sat May  3 2003 IWAI Masaharu <iwai@alib.jp> 1.78-2vl1
126- update %%post and %%preun script from rawhide 1.78-2
127- source update to 1.78
128- drop docbook-dsssl-1.76-seealso.patch (Patch1): upstream merged
129- update Makefile (Source1)
130- require newest openjade (version 1.3.2)
131
132* Wed Nov 27 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.77-0vl1
133- source update to 1.77
134- Don't apply patch2
135- require newest openjade (version 1.3.1)
136
137* Tue Sep 24 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.76-6vl1
138- update to 1.76 based on rawhide 1.76-6
139- Change URL
140
141* Thu Oct 11 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.64-3vl1
142- Rebuild for Vine.
143
144* Wed Jul 25 2001 Bill Nottingham <notting@redhat.com> 1.64-3
145- bump release
146
147* Wed May  9 2001 Tim Waugh <twaugh@redhat.com> 1.64-2
148- Make an unversioned dsssl-stylesheets symbolic link.
149
150* Wed May  2 2001 Tim Waugh <twaugh@redhat.com> 1.64-1
151- 1.64 (fixes #38095).
152- Fix up post/preun scripts so that we don't get duplicate entries with
153  different versions on upgrade.
154
155* Sun Mar 25 2001 Tim Waugh <twaugh@redhat.com> 1.59-10
156- Fix up Makefile (patch from SATO Satoru).
157- Change postun to preun.
158- Make preun conditional on remove rather than upgrade.
159
160* Tue Mar  6 2001 Tim Waugh <twaugh@redhat.com>
161- PreReq docbook-dtd-sgml (it was a requirement before), so that the
162  scripts work right.
163
164* Tue Feb 20 2001 Tim Waugh <twaugh@redhat.com>
165- Change Requires(...) to PreReq at Preston's request.
166- PreReq at least openjade-1.3-12, so that its catalogs get installed.
167
168* Wed Jan 24 2001 Tim Waugh <twaugh@redhat.com>
169- Make scripts quieter.
170
171* Tue Jan 23 2001 Tim Waugh <twaugh@redhat.com>
172- Last fix was wrong; corrected (require openjade 1.3).
173
174* Fri Jan 19 2001 Tim Waugh <twaugh@redhat.com>
175- Require jade not openjade (bug #24306).
176
177* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
178- Don't play so many macro games.
179- Change requirement on /usr/bin/install-catalog to sgml-common.
180- Be sure to own dsssl-stylesheets-1.59 directory.
181
182* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
183- Change group.
184- openjade not jade.
185- %%{_tmppath}.
186- rm before install.
187- Change Copyright: to License:.
188- Remove Packager: line.
189
190* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
191- Based on Eric Bischoff's new-trials packages.
Note: See TracBrowser for help on using the repository browser.