From: Tim W. <tw...@re...> - 2003-10-29 18:53:10
|
Here is a patch for xmlroff so that rpmbuild -tb xmlroff*.tar.gz works. Note: the other patches I sent in private mail are still needed, both for pangopdf (allow --disable-pdflib) and xmlroff (compilation fixes). Tim. */ Index: Makefile.am =================================================================== RCS file: /cvsroot/xmlroff/xmlroff/Makefile.am,v retrieving revision 1.12 diff -d -u -r1.12 Makefile.am --- Makefile.am 22 Jul 2003 13:15:05 -0000 1.12 +++ Makefile.am 29 Oct 2003 18:51:38 -0000 @@ -83,4 +83,5 @@ -I/opt/gnome-1.4/include EXTRA_DIST = \ - xmlroff.fo + xmlroff.fo \ + xmlroff.spec Index: configure.in =================================================================== RCS file: /cvsroot/xmlroff/xmlroff/configure.in,v retrieving revision 1.11 diff -d -u -r1.11 configure.in --- configure.in 22 Jul 2003 13:15:41 -0000 1.11 +++ configure.in 29 Oct 2003 18:51:39 -0000 @@ -523,6 +523,7 @@ libfo/Makefile examples/Makefile libfo-0.2.pc +xmlroff.spec ]) fo_doc_subtypes="" --- xmlroff.spec.in.orig 2003-10-29 18:50:42.000000000 +0000 +++ xmlroff.spec.in 2003-10-29 18:50:12.000000000 +0000 @@ -0,0 +1,45 @@ +Summary: XSL-FO processor +Name: xmlroff +Version: @VERSION@ +Release: 0.1 +License: Distributable +Group: Applications/Text +URL: http://xmlroff.sourceforge.net +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: libgnomeprint22-devel +BuildRequires: pangopdf-devel + +%description +This package contains an XSL-FO processing tool. + +%prep +%setup -q + +%build +%configure --disable-pdflib +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall +rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc \ + $RPM_BUILD_ROOT%{_libdir}/pkgconfig \ + $RPM_BUILD_ROOT%{_libdir}/*.la \ + $RPM_BUILD_ROOT%{_libdir}/*.a \ + $RPM_BUILD_ROOT%{_includedir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING NEWS README TODO +%{_bindir}/* +%{_libdir}/*.so.* + +%changelog +* Mon Oct 27 2003 Tim Waugh <tw...@re...> 0.2.3-0.1 +- Initial build. + + |