source: projects/specs/trunk/g/gegl/gegl-vl.spec @ 871

Revision 871, 4.0 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file for gnome-2.30

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