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
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