From 1141de456b03df425a9b506fe7529532881e9f65 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: May 09 2009 23:44:35 +0000 Subject: - Fix rpmlints - Prepare package for Fedora review Sun Feb 22 2009 Peter Hanecak 0.3-2 - used %%{?dist} in release number - license GPLv2 Wed Dec 19 2007 Dag Wieers - 0.3-2 - 5993+/dag - Fixed openoffice.org2 dependency on RHEL4. Sat Sep 01 2007 Dag Wieers - 0.3-1 - Updated to release 0.3. Sun May 20 2007 Dag Wieers - 0.2-1 - Updated to release 0.2. Sat May 19 2007 Dag Wieers - 0.1-1 - Initial package. (using DAR) --- diff --git a/.cvsignore b/.cvsignore index e69de29..803be2e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +unoconv-0.3.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..2c449ce --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +unoconv-0_3-3_fc10:F-11:unoconv-0.3-3.fc10.src.rpm:1241912647 diff --git a/sources b/sources index e69de29..6ab027c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e6b33a2041137d8ebae1b71396ec0641 unoconv-0.3.tar.bz2 diff --git a/unoconv.spec b/unoconv.spec new file mode 100644 index 0000000..dcbb321 --- /dev/null +++ b/unoconv.spec @@ -0,0 +1,66 @@ +Summary: Tool to convert between any document format supported by OpenOffice.org +Name: unoconv +Version: 0.3 +Release: 3%{?dist} +License: GPLv2 +Group: System Environment/Base +URL: http://dag.wieers.com/home-made/unoconv/ +Source: http://dag.wieers.com/home-made/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +BuildArch: noarch +Requires: openoffice.org-pyuno + + +%description +unoconv converts between any document format that OpenOffice.org understands. +It uses OpenOffice.org's UNO bindings for non-interactive conversion of +documents. + +Supported document formats include Open Document Format (.odf), MS Word (.doc), +MS Office Open/MS OOXML (.xml), Portable Document Format (.pdf), HTML, XHTML, +RTF, Docbook (.xml), and more. + +%prep +%setup -q + +# Fix EOL encoding +sed 's|\r||' docs/unoconv.1.xml > docs/unoconv.1.xml.tmp +touch -r docs/unoconv.1.xml docs/unoconv.1.xml.tmp +mv -f docs/unoconv.1.xml.tmp docs/unoconv.1.xml + +%build + +%install +rm -rf %{buildroot} +make install DESTDIR="%{buildroot}" + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%doc AUTHORS ChangeLog COPYING README TODO WISHLIST docs/ tests/ +%{_mandir}/man1/%{name}.1* +%{_bindir}/%{name} + +%changelog +* Thu May 07 2009 Orcan Ogetbil - 0.3-3 +- Fix rpmlints +- Prepare package for Fedora review + +* Sun Feb 22 2009 Peter Hanecak 0.3-2 +- used %%{?dist} in release number +- license GPLv2 + +* Wed Dec 19 2007 Dag Wieers - 0.3-2 - 5993+/dag +- Fixed openoffice.org2 dependency on RHEL4. + +* Sat Sep 01 2007 Dag Wieers - 0.3-1 +- Updated to release 0.3. + +* Sun May 20 2007 Dag Wieers - 0.2-1 +- Updated to release 0.2. + +* Sat May 19 2007 Dag Wieers - 0.1-1 +- Initial package. (using DAR)