Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a36ec8db30 | ||
|
|
39752aed92 | ||
|
|
4e3ff02854 | ||
| 6d911d96a8 |
5 changed files with 68 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
unoconv-0.3.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
e6b33a2041137d8ebae1b71396ec0641 unoconv-0.3.tar.bz2
|
||||
66
unoconv.spec
Normal file
66
unoconv.spec
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue