From c1e451643466abc538819a741a3d50e225cdef85 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Sat, 14 Jan 2017 15:26:32 +0100 Subject: [PATCH] Update to 0.5 --- odt2txt.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/odt2txt.spec b/odt2txt.spec index 8a18fcf..06aeb35 100644 --- a/odt2txt.spec +++ b/odt2txt.spec @@ -1,13 +1,15 @@ Summary: A simple converter from OpenDocument Text to plain text Summary(pl.UTF-8): Prosty konwerter z formatu OpenDocument Text do zwykłego tekstu Name: odt2txt -Version: 0.4 +Version: 0.5 Release: 1 License: GPL v2 Group: Applications/Publishing -Source0: http://stosberg.net/odt2txt/%{name}-%{version}.tar.gz -# Source0-md5: 6fe3bd261ce2dde2810244bbe969bbc5 +Source0: https://github.com/dstosberg/odt2txt/archive/v%{version}/%{name}-%{version}.tar.gz +# Source0-md5: 8154dc7f2909dad6939d209695e62379 URL: http://stosberg.net/odt2txt/ +BuildRequires: pkgconfig +BuildRequires: libzip-devel BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -27,7 +29,8 @@ zewnętrznych zależności. %build %{__make} \ CC="%{__cc}" \ - CFLAGS="%{rpmcflags}" + CFLAGS="%{rpmcflags} -DHAVE_LIBZIP %(pkg-config --cflags libzip)" \ + LIBS="%(pkg-config --libs libzip) -lz" %install rm -rf $RPM_BUILD_ROOT -- 2.44.0