rpms/odt2txt/EL-5 odt2txt.spec,NONE,1.1

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Mon Sep 24 23:01:57 UTC 2007


Author: salimma

Update of /cvs/pkgs/rpms/odt2txt/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7648/EL-5

Added Files:
	odt2txt.spec 
Log Message:
Commit forgotten spec file



--- NEW FILE odt2txt.spec ---
Name:           odt2txt
Version:        0.3
Release:        1%{?dist}
Summary:        Converts an OpenDocument to plain text

Group:          Applications/Text
License:        GPLv2
URL:            http://stosberg.net/odt2txt/
Source0:        http://stosberg.net/odt2txt/odt2txt-%{version}.tar.gz
Patch0:         odt2txt-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  zlib-devel
#Requires:       

%description

odt2txt is a command-line tool which extracts the text out of
OpenDocument Texts produced by OpenOffice.org, StarOffice, KOffice and
others.

odt2txt is ...

* small
* supports multiple output encodings
* adopts to your locale
* able to substitute common characters which the output charset does
  not contain with ascii look-a-likes
* written in C, has few dependencies
* portable (runs on Linux, *BSD, Solaris, HP-UX, Windows, Cygwin)


%prep
%setup -q
%patch0 -p0 -b .makefile


%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc ChangeLog GPL-2
%{_bindir}/odt2txt
%{_mandir}/man*/*


%changelog
* Fri Sep 21 2007 Michel Salim <michel.sylvan at gmail.com> - 0.3-1
- Initial package




More information about the scm-commits mailing list