Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c39c8a1060b05057afd311f7ef45e7d5 > files > 3

odt2txt-0.4-4.fc15.src.rpm

Name:           odt2txt
Version:        0.4
Release:        4%{?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 GPL-2
%{_bindir}/odt2txt
%{_mandir}/man*/*


%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sun Aug 31 2008 Michel Salim <salimma@fedoraproject.org> - 0.4-1
- Update to 0.4

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3-2
- Autorebuild for GCC 4.3

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