[521] | 1 | Summary: A dynamic, any to any, pixel format conversion library |
---|
| 2 | Name: babl |
---|
[10716] | 3 | Version: 0.1.18 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | # The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL |
---|
| 6 | License: LGPLv3+ and GPLv3+ |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://www.gegl.org/babl/ |
---|
[10716] | 9 | Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2 |
---|
[521] | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[6141] | 11 | BuildRequires: w3m |
---|
[521] | 12 | |
---|
| 13 | %description |
---|
| 14 | Babl is a dynamic, any to any, pixel format conversion library. It |
---|
| 15 | provides conversions between the myriad of buffer types images can be |
---|
| 16 | stored in. Babl doesn't only help with existing pixel formats, but also |
---|
| 17 | facilitates creation of new and uncommon ones. |
---|
| 18 | |
---|
| 19 | %package devel |
---|
| 20 | Summary: Headers for developing programs that will use %{name} |
---|
| 21 | Group: Development/Libraries |
---|
| 22 | Requires: %{name} = %{version}-%{release} |
---|
| 23 | Requires: pkgconfig |
---|
| 24 | |
---|
| 25 | %description devel |
---|
| 26 | This package contains the libraries and header files needed for |
---|
| 27 | developing with %{name}. |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q |
---|
| 31 | |
---|
| 32 | %build |
---|
[8793] | 33 | %configure --disable-static |
---|
[521] | 34 | make %{?_smp_mflags} |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -rf %{buildroot} |
---|
| 38 | make DESTDIR=%{buildroot} install INSTALL='install -p' |
---|
| 39 | |
---|
| 40 | mkdir -p babl_docs babl_docs/html |
---|
| 41 | cp -pr docs/graphics docs/*.html docs/babl.css babl_docs/html |
---|
| 42 | rm -rf babl_docs/html/graphics/Makefile* |
---|
| 43 | |
---|
[9559] | 44 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
[521] | 45 | |
---|
[9559] | 46 | |
---|
[521] | 47 | %check |
---|
[8793] | 48 | pushd tests |
---|
| 49 | rm -f concurrency-stress-test |
---|
| 50 | cat << EOF > concurrency-stress-test |
---|
| 51 | #!/bin/sh |
---|
| 52 | echo Skipping test concurrency-stress-test |
---|
| 53 | EOF |
---|
| 54 | chmod +x concurrency-stress-test |
---|
| 55 | popd |
---|
[521] | 56 | make check |
---|
| 57 | |
---|
[8793] | 58 | |
---|
[521] | 59 | %clean |
---|
| 60 | rm -rf %{buildroot} |
---|
| 61 | |
---|
| 62 | %post -p /sbin/ldconfig |
---|
| 63 | |
---|
| 64 | %postun -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-, root, root, -) |
---|
[871] | 68 | %doc AUTHORS ChangeLog COPYING README NEWS |
---|
[521] | 69 | %{_libdir}/*.so.* |
---|
[871] | 70 | %{_libdir}/babl-0.1/ |
---|
[521] | 71 | |
---|
| 72 | %files devel |
---|
| 73 | %defattr(-, root, root, -) |
---|
| 74 | %doc babl_docs/html |
---|
[871] | 75 | %{_includedir}/babl-0.1/babl/ |
---|
[521] | 76 | %{_libdir}/*.so |
---|
| 77 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[10716] | 80 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1 |
---|
| 81 | - new upstream release |
---|
| 82 | |
---|
[9559] | 83 | * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-3 |
---|
| 84 | - remove *.la files |
---|
| 85 | |
---|
[8793] | 86 | * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-2 |
---|
| 87 | - rebuild with VineSeed environment |
---|
| 88 | - fix %%check (based on fedora package) |
---|
| 89 | |
---|
[6141] | 90 | * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.10-1 |
---|
| 91 | - new upstream release |
---|
| 92 | - remove BuildRequires: inkscape, ruby |
---|
| 93 | |
---|
[3735] | 94 | * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[3534] | 97 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2 |
---|
| 98 | - rebuilt with rpm-4.8.1-3 |
---|
| 99 | |
---|
[871] | 100 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[521] | 103 | * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.22-1 |
---|
| 104 | - initial build for Vine Linux |
---|
| 105 | |
---|
| 106 | * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1 |
---|
| 107 | - Update to latest release |
---|
| 108 | |
---|
| 109 | * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.20-1 |
---|
| 110 | - New release |
---|
| 111 | |
---|
| 112 | * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-2 |
---|
| 113 | - Apply patch to fix extensions loading on 64bit systems |
---|
| 114 | |
---|
| 115 | * Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1 |
---|
| 116 | - Update to 0.0.18 |
---|
| 117 | |
---|
| 118 | * Mon Nov 26 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1 |
---|
| 119 | - Update to 0.0.16 release |
---|
| 120 | - License change from GPLv2+ to GPLv3+ |
---|
| 121 | |
---|
| 122 | * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.5.20071011svn |
---|
| 123 | - Update the License field |
---|
| 124 | |
---|
| 125 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.4.20071011svn |
---|
| 126 | - Package the extension libraries in the main package |
---|
| 127 | - Run 'make check' |
---|
| 128 | |
---|
| 129 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.3.20071011svn |
---|
| 130 | - Ensure timestamps are kept during install |
---|
| 131 | |
---|
| 132 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.2.20071011svn |
---|
| 133 | - Remove the use of inexistent source url (Package reviews) |
---|
| 134 | - Package the html docs |
---|
| 135 | |
---|
| 136 | * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.1.20071011svn |
---|
| 137 | - Initial packaging for Fedora |
---|