Browse Source

babl: update to 0.1.56

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11800 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
2bcb186b8b
1 changed files with 34 additions and 26 deletions
  1. 34 26
      b/babl/babl-vl.spec

+ 34 - 26
b/babl/babl-vl.spec

@@ -1,26 +1,29 @@
-Summary:	A dynamic, any to any, pixel format conversion library
-Name:		babl
-Version:	0.1.18
-Release:	1%{?_dist_release}
+Summary:  A dynamic, any to any, pixel format conversion library
+Name:     babl
+Version:  0.1.56
+Release:  1%{?_dist_release}
 # The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
-License:	LGPLv3+ and GPLv3+
-Group:		System Environment/Libraries
-URL:		http://www.gegl.org/babl/
-Source0:	https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
+License:  LGPLv3+ and GPLv3+
+Group:    System Environment/Libraries
+URL:      http://www.gegl.org/babl/
+Source0:  https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires:	w3m
+BuildRequires:  w3m
+
 
 %description
 Babl is a dynamic, any to any, pixel format conversion library. It
 provides conversions between the myriad of buffer types images can be
 stored in. Babl doesn't only help with existing pixel formats, but also
 facilitates creation of new and uncommon ones.
+#'
 
 %package devel
-Summary:	Headers for developing programs that will use %{name}
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
-Requires:	pkgconfig
+Summary:  Headers for developing programs that will use %{name}
+Group:    Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
 
 %description devel
 This package contains the libraries and header files needed for
@@ -31,22 +34,22 @@ developing with %{name}.
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
-										
+%{__make} %{?_smp_mflags}
+
 %install
-rm -rf %{buildroot}
-make DESTDIR=%{buildroot} install INSTALL='install -p'
+%{__rm} -rf %{buildroot}
+%{__make} DESTDIR=%{buildroot} install INSTALL='install -p'
 
-mkdir -p babl_docs babl_docs/html
-cp -pr docs/graphics docs/*.html docs/babl.css babl_docs/html
-rm -rf babl_docs/html/graphics/Makefile*
+%{__mkdir_p} babl_docs babl_docs/html
+%{__cp} -pr docs/graphics docs/*.html docs/babl.css babl_docs/html
+%{__rm} -rf babl_docs/html/graphics/Makefile*
 
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 
 
 %check
 pushd tests
-rm -f concurrency-stress-test
+%{__rm} -f concurrency-stress-test
 cat << EOF > concurrency-stress-test
 #!/bin/sh
 echo Skipping test concurrency-stress-test
@@ -57,15 +60,16 @@ make check
 
 
 %clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
+
+%post -p %{_syssbindir}/ldconfig
 
-%post -p /sbin/ldconfig
+%postun -p %{_syssbindir}/ldconfig
 
-%postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root, -)
-%doc AUTHORS ChangeLog COPYING README NEWS
+%doc AUTHORS COPYING README NEWS
 %{_libdir}/*.so.*
 %{_libdir}/babl-0.1/
 
@@ -76,7 +80,11 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}.pc
 
+
 %changelog
+* Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.1.56-1
+- new upstream release
+
 * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
 - new upstream release
 
@@ -100,7 +108,7 @@ rm -rf %{buildroot}
 * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
 - new upstream release
 
-* Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 	0.0.22-1
+* Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  0.0.22-1
 - initial build for Vine Linux
 
 * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1