From: Tim W. <tw...@re...> - 2003-10-27 23:12:57
|
I have packaged pangopdf and xmlroff (both with --disable-pdflib), and put the resulting SRPM packages here: ftp://people.redhat.com/twaugh/docbook/xmlroff To create binaries just do this: rpmbuild --rebuild pangopdf*.src.rpm [install resulting packages] rpmbuild --rebuild xmlroff*.src.rpm Sorry, don't have the space to store the binaries too. Tim. */ |
From: Tony G. <Ton...@Su...> - 2003-10-29 08:41:41
|
Tim Waugh <tw...@re...> wrote at Mon, 27 Oct 2003 23:06:40 +0000: > I have packaged pangopdf and xmlroff (both with --disable-pdflib), > and put the resulting SRPM packages here: > > ftp://people.redhat.com/twaugh/docbook/xmlroff Cool. Thanks. Can you submit patches so this can be done directly from Make by anyone? Regards, Tony Graham ------------------------------------------------------------------------ XML Technology Center - Dublin Sun Microsystems Ireland Ltd Phone: +353 1 8199708 Hamilton House, East Point Business Park, Dublin 3 x(70)19708 |
From: Tim W. <tw...@re...> - 2003-10-29 18:43:48
|
On Wed, Oct 29, 2003 at 08:41:34AM +0000, Tony Graham wrote: > Can you submit patches so this can be done directly from Make by > anyone? Here is a patch for PangoPDF's own spec file, so that: rpmbuild -tb pangopdf*.tar.gz works. (xmlroff patch to follow) Tim. */ Index: pangopdf-pango.spec.in =================================================================== RCS file: /cvsroot/pangopdf/pangopdf/pangopdf-pango.spec.in,v retrieving revision 1.2 diff -u -r1.2 pangopdf-pango.spec.in --- pangopdf-pango.spec.in 7 Jul 2003 16:00:53 -0000 1.2 +++ pangopdf-pango.spec.in 29 Oct 2003 18:42:32 -0000 @@ -36,7 +36,7 @@ --bindir=%{_bindir} --mandir=%{_mandir} \ --localstatedir=%{_localstatedir} --libdir=%{_libdir} \ --datadir=%{_datadir} --includedir=%{_includedir} \ - --sysconfdir=%{_sysconfdir} --disable-gtk-doc + --sysconfdir=%{_sysconfdir} --disable-gtk-doc --disable-pdflib make %install @@ -49,6 +49,8 @@ includedir=$RPM_BUILD_ROOT%{_includedir} \ sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install +rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pangopdf/pango.modules + %clean rm -rf $RPM_BUILD_ROOT @@ -61,20 +63,30 @@ %files %doc README AUTHORS COPYING ChangeLog TODO %doc examples/HELLO.utf8 -%{_libdir}/libpango*-*.so -%{_bindir}/pango-* -%{_libdir}/pango +%dir %{_libdir}/pangopdf +%{_libdir}/pangopdf/*.so.* +%{_bindir}/* +%dir %{_libdir}/pangopdf/pango +%dir %{_libdir}/pangopdf/pango/1.2.0 +%dir %{_libdir}/pangopdf/pango/1.2.0/modules +%{_libdir}/pangopdf/pango/1.2.0/modules/*.so +%{_datadir}/pangopdf %config %{_sysconfdir}/pangopdf/pangox.aliases %files devel %defattr(-, root, root) -%{_libdir}/libpango*.so -%{_libdir}/*a +%{_libdir}/pangopdf/*.so +%{_libdir}/pangopdf/*a +%{_libdir}/pangopdf/pango/1.2.0/modules/*a %{_libdir}/pkgconfig/*.pc -%{_includedir}/pango-1.0 -%{_datadir}/gtk-doc/html/pango +%{_includedir}/pangopdf/pango-1.0 +%{_datadir}/gtk-doc/html/pangopdf %changelog +* Wed Oct 29 2003 Tim Waugh <tw...@re...> +- Adapt file manifest. +- Disable pdflib. + * Mon Aug 27 2001 Jens Finke <je...@gn...> - glib2 package required - updated source url |
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. + + |