]> git.pld-linux.org Git - packages/zimg.git/commitdiff
up to 2.5.1 auto/th/zimg-2.5.1-1
authorJan Palus <atler@pld-linux.org>
Sun, 9 Jul 2017 22:27:20 +0000 (00:27 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 9 Jul 2017 22:27:20 +0000 (00:27 +0200)
zimg.spec

index 15d93e5e81be0483471631165eef80b8c84582a4..a25d60ee2023e944cfb31b16778e7224e3344845 100644 (file)
--- a/zimg.spec
+++ b/zimg.spec
@@ -7,13 +7,13 @@
 Summary:       Z img - resizing, colorspace and bit depth conversion library
 Summary(pl.UTF-8):     Z img - biblioteka do zmiany rozmiaru oraz przekształceń przestrzeni i głębi barw
 Name:          zimg
-Version:       2.0.4
+Version:       2.5.1
 Release:       1
 License:       WTFPL v2 (library), LGPL v2.1+ (vszimg plugin)
 Group:         Libraries
 #Source0Download: https://github.com/sekrit-twc/zimg/releases
 Source0:       https://github.com/sekrit-twc/zimg/archive/release-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: dc8c7878e77d969220759c29e0f003c4
+# Source0-md5: 24afac41d38398bef9ee9a55c6bf1627
 URL:           https://github.com/sekrit-twc/zimg
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1:1.11
@@ -91,8 +91,11 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 # obsoleted by pkg-config
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libzimg.la \
-       $RPM_BUILD_ROOT%{_libdir}/zimg/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libzimg.la
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/zimg/example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/zimg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -117,6 +120,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/zimg.h
 %{_includedir}/zimg++.hpp
 %{_pkgconfigdir}/zimg.pc
+%{_examplesdir}/%{name}-%{version}
 
 %if %{with static_libs}
 %files static
This page took 0.087986 seconds and 4 git commands to generate.