| 1 | %define VER 0.2 |
|---|
| 2 | |
|---|
| 3 | Summary: A graph based image processing framework |
|---|
| 4 | Summary(ja): グラフベースの画像処理フレームワーク |
|---|
| 5 | Name: gegl |
|---|
| 6 | Version: 0.2.0 |
|---|
| 7 | Release: 1%{?_dist_release} |
|---|
| 8 | # The binary is under the GPL, while the libs are under LGPL |
|---|
| 9 | License: LGPLv3+ and GPLv3+ |
|---|
| 10 | Group: System Environment/Libraries |
|---|
| 11 | URL: http://www.gegl.org/ |
|---|
| 12 | Source0: ftp://ftp.gtk.org/pub/gegl/%{VER}/%{name}-%{version}.tar.bz2 |
|---|
| 13 | |
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 15 | BuildRequires: babl-devel >= 0.1.10 |
|---|
| 16 | BuildRequires: glib2-devel |
|---|
| 17 | BuildRequires: gdk-pixbuf2-devel |
|---|
| 18 | BuildRequires: pango-devel |
|---|
| 19 | BuildRequires: ruby |
|---|
| 20 | BuildRequires: libpng-devel |
|---|
| 21 | BuildRequires: libjpeg-devel |
|---|
| 22 | BuildRequires: librsvg2-devel |
|---|
| 23 | BuildRequires: perl |
|---|
| 24 | BuildRequires: SDL-devel |
|---|
| 25 | BuildRequires: OpenEXR-devel |
|---|
| 26 | BuildRequires: lua-devel |
|---|
| 27 | BuildRequires: asciidoc |
|---|
| 28 | BuildRequires: enscript |
|---|
| 29 | BuildRequires: w3m |
|---|
| 30 | BuildRequires: graphviz |
|---|
| 31 | BuildRequires: pkgconfig |
|---|
| 32 | |
|---|
| 33 | %description |
|---|
| 34 | GEGL (Generic Graphics Library) is a graph based image processing framework. |
|---|
| 35 | GEGLs original design was made to scratch GIMPs itches for a new |
|---|
| 36 | compositing and processing core. This core is being designed to have |
|---|
| 37 | minimal dependencies. and a simple well defined API. |
|---|
| 38 | |
|---|
| 39 | %package devel |
|---|
| 40 | Summary: Development files for %{name} |
|---|
| 41 | Summary(ja): %{name} の開発ファイル |
|---|
| 42 | Group: Development/Libraries |
|---|
| 43 | Requires: %{name} = %{version}-%{release} |
|---|
| 44 | Requires: pkgconfig babl-devel glib2-devel |
|---|
| 45 | |
|---|
| 46 | %description devel |
|---|
| 47 | This package contains the libraries and header files needed for |
|---|
| 48 | developing with %{name}. |
|---|
| 49 | |
|---|
| 50 | %prep |
|---|
| 51 | %setup -q |
|---|
| 52 | |
|---|
| 53 | chmod -x operations/external/ff-load.c operations/common/perlin/perlin.* |
|---|
| 54 | |
|---|
| 55 | %build |
|---|
| 56 | %ifnarch ppc64 |
|---|
| 57 | %configure --disable-static --enable-workshop |
|---|
| 58 | %else |
|---|
| 59 | %configure --disable-static --enable-workshop --disable-docs |
|---|
| 60 | %endif |
|---|
| 61 | make %{?_smp_mflags} |
|---|
| 62 | |
|---|
| 63 | %install |
|---|
| 64 | rm -rf %{buildroot} |
|---|
| 65 | make DESTDIR=%{buildroot} install INSTALL='install -p' |
|---|
| 66 | |
|---|
| 67 | rm -f %{buildroot}%{_libdir}/*.la |
|---|
| 68 | |
|---|
| 69 | %find_lang %{name}-%{VER} |
|---|
| 70 | |
|---|
| 71 | %check |
|---|
| 72 | make check |
|---|
| 73 | |
|---|
| 74 | %clean |
|---|
| 75 | rm -rf %{buildroot} |
|---|
| 76 | |
|---|
| 77 | %post -p /sbin/ldconfig |
|---|
| 78 | |
|---|
| 79 | %postun -p /sbin/ldconfig |
|---|
| 80 | |
|---|
| 81 | %files -f %{name}-%{VER}.lang |
|---|
| 82 | %defattr(-, root, root, -) |
|---|
| 83 | %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README |
|---|
| 84 | %{_bindir}/gegl |
|---|
| 85 | %{_libdir}/*.so.* |
|---|
| 86 | %{_libdir}/gegl-%{VER} |
|---|
| 87 | |
|---|
| 88 | %files devel |
|---|
| 89 | %defattr(-, root, root, -) |
|---|
| 90 | %ifnarch ppc64 |
|---|
| 91 | %doc %{_datadir}/gtk-doc/html/%{name} |
|---|
| 92 | %endif |
|---|
| 93 | %{_includedir}/gegl-%{VER} |
|---|
| 94 | %{_libdir}/*.so |
|---|
| 95 | %{_libdir}/pkgconfig/%{name}-%{VER}.pc |
|---|
| 96 | |
|---|
| 97 | %changelog |
|---|
| 98 | * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1 |
|---|
| 99 | - new upstream release |
|---|
| 100 | - remove old patches |
|---|
| 101 | |
|---|
| 102 | * Thu Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1 |
|---|
| 103 | - new upstream release |
|---|
| 104 | - update patches |
|---|
| 105 | |
|---|
| 106 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.2-2 |
|---|
| 107 | - rebuilt with rpm-4.8.1-3 |
|---|
| 108 | |
|---|
| 109 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1 |
|---|
| 110 | - new upstream release |
|---|
| 111 | - add Patch0 and Patch1 from FC package |
|---|
| 112 | |
|---|
| 113 | * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20-1 |
|---|
| 114 | - initial build for Vine Linux |
|---|
| 115 | |
|---|
| 116 | * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1 |
|---|
| 117 | - Update to latest release |
|---|
| 118 | |
|---|
| 119 | * Thu Feb 28 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1 |
|---|
| 120 | - New release |
|---|
| 121 | |
|---|
| 122 | * Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.15-1.svn20080117 |
|---|
| 123 | - Update to a svn snapshot for gnome-scan |
|---|
| 124 | - Apply patch to fix extensions loading on 64bit systems |
|---|
| 125 | - Building the docs on ppc64 segfaults, avoid it for now. |
|---|
| 126 | |
|---|
| 127 | * Sat Dec 08 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.14-1 |
|---|
| 128 | - Update to 0.0.14 release |
|---|
| 129 | - License change from GPLv2+ to GPLv3+ |
|---|
| 130 | |
|---|
| 131 | * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.7.20071011svn |
|---|
| 132 | - Include missing requires for the devel subpackage |
|---|
| 133 | |
|---|
| 134 | * Thu Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.6.20071011svn |
|---|
| 135 | - BR graphiz instead of graphiz-devel |
|---|
| 136 | - Remove the spurious exec flag from a couple of source codes |
|---|
| 137 | |
|---|
| 138 | * Tue Oct 23 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.5.20071011svn |
|---|
| 139 | - Fix missing directory ownership |
|---|
| 140 | |
|---|
| 141 | * Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.4.20071011svn |
|---|
| 142 | - Update the License field |
|---|
| 143 | |
|---|
| 144 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.3.20071011svn |
|---|
| 145 | - Package the extension libraries in the main package |
|---|
| 146 | - Run 'make check' |
|---|
| 147 | |
|---|
| 148 | * Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.2.20071011svn |
|---|
| 149 | - Remove the use of inexistent source |
|---|
| 150 | |
|---|
| 151 | * Thu Oct 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.13-0.1.20071011svn |
|---|
| 152 | - Initial packaging for Fedora |
|---|