Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
a36ec8db30 dist-git conversion 2010-07-29 14:44:44 +00:00
Bill Nottingham
39752aed92 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:14:59 +00:00
Orcan Ogetbil
4e3ff02854 - Fix rpmlints
- Prepare package for Fedora review
Sun Feb 22 2009 Peter Hanecak <hany@hany.sk> 0.3-2
- used %%{?dist} in release number
- license GPLv2
Wed Dec 19 2007 Dag Wieers <dag@wieers.com> - 0.3-2 - 5993+/dag
- Fixed openoffice.org2 dependency on RHEL4.
Sat Sep 01 2007 Dag Wieers <dag@wieers.com> - 0.3-1
- Updated to release 0.3.
Sun May 20 2007 Dag Wieers <dag@wieers.com> - 0.2-1
- Updated to release 0.2.
Sat May 19 2007 Dag Wieers <dag@wieers.com> - 0.1-1
- Initial package. (using DAR)
2009-05-09 23:46:00 +00:00
6d911d96a8 Initialize branch F-10 for unoconv 2009-05-09 21:09:15 +00:00
5 changed files with 68 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
unoconv-0.3.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: unoconv
# $Id$
NAME := unoconv
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
e6b33a2041137d8ebae1b71396ec0641 unoconv-0.3.tar.bz2

66
unoconv.spec Normal file
View file

@ -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 <oget [DOT] fedora [AT] gmail [DOT] com> - 0.3-3
- Fix rpmlints
- Prepare package for Fedora review
* Sun Feb 22 2009 Peter Hanecak <hany@hany.sk> 0.3-2
- used %%{?dist} in release number
- license GPLv2
* Wed Dec 19 2007 Dag Wieers <dag@wieers.com> - 0.3-2 - 5993+/dag
- Fixed openoffice.org2 dependency on RHEL4.
* Sat Sep 01 2007 Dag Wieers <dag@wieers.com> - 0.3-1
- Updated to release 0.3.
* Sun May 20 2007 Dag Wieers <dag@wieers.com> - 0.2-1
- Updated to release 0.2.
* Sat May 19 2007 Dag Wieers <dag@wieers.com> - 0.1-1
- Initial package. (using DAR)