]> git.pld-linux.org Git - packages/docbook-utils.git/blobdiff - docbook-utils.spec
- added working Source0 URL (probably not original, but I could'n find better)
[packages/docbook-utils.git] / docbook-utils.spec
index 5035229990949fcebb11f9b250659e7dd653d254..0bc3059386a0595ace7ba531645458c713e3bd89 100644 (file)
@@ -1,17 +1,20 @@
 %include       /usr/lib/rpm/macros.perl
 %include       /usr/lib/rpm/macros.perl
-Summary:       Shell scripts to manage DocBook documents.
+Summary:       Shell scripts to manage DocBook documents
+Summary(pl):   Skrypty do obróbki dokumentów DocBook
 Name:          docbook-utils
 Version:       0.6.9
 Name:          docbook-utils
 Version:       0.6.9
-Release:       2
+Release:       4
 LIcense:       Eric Bischoff, Mark Galassi, Jochem Huhmann, Steve Cheng, and Frederik Fouvry; GPL 2.0
 Group:         Applications/Publishing/SGML
 Group(de):     Applikationen/Publizieren/SGML
 Group(pl):     Aplikacje/Publikowanie/SGML
 LIcense:       Eric Bischoff, Mark Galassi, Jochem Huhmann, Steve Cheng, and Frederik Fouvry; GPL 2.0
 Group:         Applications/Publishing/SGML
 Group(de):     Applikationen/Publizieren/SGML
 Group(pl):     Aplikacje/Publikowanie/SGML
-Source0:       %{name}-%{version}.tar.gz
+Source0:       ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/%{name}-%{version}.tar.gz
 Patch0:                %{name}-@.patch
 Patch0:                %{name}-@.patch
-PAtch1:                %{name}-roff_includes_in_man_pages.patch
+Patch1:                %{name}-roff_includes_in_man_pages.patch
 Requires:      docbook-style-dsssl >= 1.49
 Requires:      jadetex >= 2.5
 Requires:      docbook-style-dsssl >= 1.49
 Requires:      jadetex >= 2.5
+BuildRequires: autoconf
+Obsoletes:     docbook2X
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -19,12 +22,17 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 These little scripts allow to convert easily DocBook files to other
 formats (HTML, RTF, PostScript...), and to compare SGML files.
 
 These little scripts allow to convert easily DocBook files to other
 formats (HTML, RTF, PostScript...), and to compare SGML files.
 
+%description -l pl
+Te ma³e skrypty pozwalaj± w prosty sposób konwertowaæ pliki DocBook do
+innych formatów (HTML, RTF, PostScript...) i porównywaæ pliki SGML.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 
 %build
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 
 %build
+autoconf
 %configure
 %{__make}
 
 %configure
 %{__make}
 
@@ -40,13 +48,14 @@ DESTDIR=$RPM_BUILD_ROOT
 rm -f doc/HTML/Makefile*
 rm -f doc/HTML/*.in
 
 rm -f doc/HTML/Makefile*
 rm -f doc/HTML/*.in
 
+gzip -9nf NEWS README TODO
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README COPYING TODO
-%doc doc/HTML
+%doc *.gz doc/HTML
 %attr(755,root,root) %{_bindir}/jw
 %attr(755,root,root) %{_bindir}/docbook2*
 %attr(755,root,root) %{_bindir}/sgmldiff
 %attr(755,root,root) %{_bindir}/jw
 %attr(755,root,root) %{_bindir}/docbook2*
 %attr(755,root,root) %{_bindir}/sgmldiff
This page took 0.084979 seconds and 4 git commands to generate.