Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37566736
en ru br
ALT Linux repos
S:0.4-alt2.git20140608
5.0: 0.4-alt1
4.1: 0.3-alt1

Group :: Text tools
RPM: odt2txt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: odt2txt
Version: 0.4
Release: alt2.git20140608
Summary: Extract text from OpenDocument Text files
License: %gpl2only
Group: Text tools
URL: http://stosberg.net/%name
# https://github.com/dstosberg/odt2txt.git
Source: %name-%version.tar

# Automatically added by buildreq on Tue Nov 06 2007

BuildRequires: zlib-devel
BuildRequires: rpm-build-licenses
BuildPreReq: libzip-devel

%description
%name extracts the text out of OpenDocument Texts. It is small, fast
and portable, can output the document in your console encoding, and has
very few external dependencies.


%prep
%setup


%build
%make_build HAVE_LIBZIP=1 \
CFLAGS="%optflags -DHAVE_LIBZIP=1 $(pkg-config libzip --cflags)"


%install
%if 1
%makeinstall_std PREFIX=%_prefix HAVE_LIBZIP=1 \
CFLAGS="%optflags -DHAVE_LIBZIP=1 $(pkg-config libzip --cflags)"
%else
install -D -m 0755 {,%buildroot%_bindir/}%name
install -D -m 0644 {,%buildroot%_man1dir/}%name.1
%endif


%files
%doc *.md
%_bindir/*
%_man1dir/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin