]> git.pld-linux.org Git - packages/odt2txt.git/blame - odt2txt.spec
Update to 0.5
[packages/odt2txt.git] / odt2txt.spec
CommitLineData
d0651274 1Summary: A simple converter from OpenDocument Text to plain text
9b7b21fc 2Summary(pl.UTF-8): Prosty konwerter z formatu OpenDocument Text do zwykłego tekstu
d0651274 3Name: odt2txt
c1e45164 4Version: 0.5
d0651274 5Release: 1
6License: GPL v2
7Group: Applications/Publishing
c1e45164
MB
8Source0: https://github.com/dstosberg/odt2txt/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: 8154dc7f2909dad6939d209695e62379
d0651274 10URL: http://stosberg.net/odt2txt/
c1e45164
MB
11BuildRequires: pkgconfig
12BuildRequires: libzip-devel
b993f5d8 13BuildRequires: zlib-devel
d0651274 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17odt2txt extracts the text out of OpenDocument Texts. It is small, fast
18and portable, can output the document in your console encoding, and
19has very few external dependencies.
20
1feeadc5
JR
21%description -l pl.UTF-8
22odt2txt wydobywa tekst z formatu OpenDocument Text. Jest mały, szybki
23i przenośny. Obsługuje różne kodowania wyjściowe i ma niewiele
24zewnętrznych zależności.
d0651274 25
26%prep
27%setup -q
28
29%build
71ecbd85 30%{__make} \
31 CC="%{__cc}" \
c1e45164
MB
32 CFLAGS="%{rpmcflags} -DHAVE_LIBZIP %(pkg-config --cflags libzip)" \
33 LIBS="%(pkg-config --libs libzip) -lz"
d0651274 34
35%install
36rm -rf $RPM_BUILD_ROOT
dc9c02bf 37%{__make} install \
38 DESTDIR=$RPM_BUILD_ROOT \
39 PREFIX=%{_prefix}
d0651274 40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
b1004053
JB
46%attr(755,root,root) %{_bindir}/odt2txt
47%{_mandir}/man1/odt2txt.1*
This page took 0.039075 seconds and 4 git commands to generate.