]> git.pld-linux.org Git - packages/gegl.git/blame - gegl.spec
- updated to 0.1.6
[packages/gegl.git] / gegl.spec
CommitLineData
9a0ac5c2
JB
1#
2# Conditional build:
3%bcond_with mmx # use MMX instructions
4%bcond_with sse # use SSE instructions
da3958c3
ER
5%bcond_with doc
6
9a0ac5c2
JB
7%ifarch %{x8664} athlon pentium3 pentium4
8%define with_mmx 1
9%endif
10%ifarch %{x8664} pentium3 pentium4
11%define with_sse 1
12%endif
518498c4 13Summary: Generic image processing library
79c90bc4 14Summary(pl.UTF-8): Ogólna biblioteka przetwarzania obrazu
518498c4 15Name: gegl
72767853 16Version: 0.1.6
17Release: 1
6a990593 18License: LGPL v3+
79c90bc4 19Group: Libraries
72767853 20Source0: ftp://ftp.gimp.org/pub/gegl/0.1//%{name}-%{version}.tar.bz2
21# Source0-md5: af5e5a7d3c7ddfaa2b3414de2a7e9113
c067f164 22Patch0: %{name}-lua.patch
78abcc66 23Patch1: %{name}-ffmpeg.patch
ac3efb70 24Patch2: %{name}-ffmpeg-0.8.patch
79c90bc4 25URL: http://www.gegl.org/
518498c4 26BuildRequires: OpenEXR-devel
88cd9c64 27BuildRequires: SDL-devel
6a990593 28BuildRequires: asciidoc
88cd9c64 29BuildRequires: autoconf >= 2.54
518498c4 30BuildRequires: automake
72767853 31BuildRequires: babl-devel >= 0.1.4
6a990593 32BuildRequires: cairo-devel
88cd9c64 33BuildRequires: enscript
1a693983 34BuildRequires: ffmpeg-devel >= 0.8
8b4c20ed
JB
35BuildRequires: gdk-pixbuf2-devel >= 2.12.0
36BuildRequires: glib2-devel >= 1:2.22.0
88cd9c64 37BuildRequires: graphviz
8b4c20ed 38BuildRequires: gtk-doc >= 1.0
518498c4 39BuildRequires: libjpeg-devel
8b4c20ed 40BuildRequires: libopenraw-devel >= 0.0.5
6a990593 41BuildRequires: libpng-devel
88cd9c64 42BuildRequires: librsvg-devel >= 1:2.14.0
8b4c20ed 43BuildRequires: libspiro-devel
88cd9c64 44BuildRequires: libtool
6a990593
JB
45BuildRequires: lua51-devel >= 5.1.0
46BuildRequires: pango-devel >= 1:1.10
88cd9c64
JB
47BuildRequires: perl-base
48BuildRequires: pkgconfig
49BuildRequires: ruby
8b4c20ed
JB
50Requires: babl >= 0.1.2
51Requires: glib2 >= 1:2.22.0
52Requires: libopenraw >= 0.0.5
53Requires: librsvg >= 1:2.14.0
518498c4 54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56%description
57GEGL (Generic Graphics Library) is a graph based image processing
58framework.
59
79c90bc4 60GEGL's original design was made to scratch GIMP's itches for a new
518498c4 61compositing and processing core. This core is being designed to have
79c90bc4
JB
62minimal dependencies and a simple well defined API.
63
64%description -l pl.UTF-8
65GEGL (Generic Graphics Library) to oparty na grafice szkielet do
66przetwarzania obrazu.
67
68Pierwotny projekt biblioteki GEGL powstał z myślą o nowym rdzeniu do
69składania i przetwarzania obrazu w GIMP-ie. Rdzeń ten jest
70projektowany tak, by miał minimalne zależności i proste, dobrze
71zdefiniowane API.
518498c4 72
73%package devel
74Summary: Header files for gegl library
75Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gegl
76Group: Development/Libraries
79c90bc4 77Requires: %{name} = %{version}-%{release}
6a990593 78Requires: babl-devel >= 0.0.20
8b4c20ed 79Requires: glib2-devel >= 1:2.22.0
518498c4 80
81%description devel
82Header files for gegl library.
83
84%description devel -l pl.UTF-8
85Pliki nagłówkowe biblioteki gegl.
86
87%package static
88Summary: Static gegl library
89Summary(pl.UTF-8): Statyczna biblioteka gegl
90Group: Development/Libraries
91Requires: %{name}-devel = %{version}-%{release}
92
93%description static
94Static gegl library.
95
96%description static -l pl.UTF-8
97Statyczna biblioteka gegl.
98
c067f164
MB
99%package apidocs
100Summary: gegl library API documentation
101Summary(pl.UTF-8): Dokumentacja API biblioteki gegl
102Group: Documentation
103Requires: gtk-doc-common
104
105%description apidocs
106gegl library API documentation.
107
108%description apidocs -l pl.UTF-8
109Dokumentacja API biblioteki gegl.
110
518498c4 111%prep
112%setup -q
113%patch0 -p1
78abcc66 114%patch1 -p1
ac3efb70 115%patch2 -p1
518498c4 116
117%build
88cd9c64 118%{__libtoolize}
72767853 119%{__aclocal} -I m4
518498c4 120%{__autoconf}
88cd9c64 121%{__autoheader}
518498c4 122%{__automake}
c067f164 123%configure \
ac3efb70 124 --enable-docs%{!?with_doc:=no} \
9a0ac5c2
JB
125 %{!?with_mmx:--disable-mmx} \
126 %{!?with_sse:--disable-sse} \
8b4c20ed 127 --disable-silent-rules \
c067f164 128 --enable-static
518498c4 129%{__make}
130
131%install
132rm -rf $RPM_BUILD_ROOT
133
134%{__make} install \
c067f164
MB
135 DESTDIR=$RPM_BUILD_ROOT \
136 help_dir=$RPM_BUILD_ROOT%{_gtkdocdir}/gegl
137
8b4c20ed 138%{__rm} $RPM_BUILD_ROOT%{_libdir}/gegl-0.1/*.{a,la}
518498c4 139
140%clean
141rm -rf $RPM_BUILD_ROOT
142
143%post -p /sbin/ldconfig
144%postun -p /sbin/ldconfig
145
146%files
147%defattr(644,root,root,755)
148%doc AUTHORS ChangeLog NEWS README
149%attr(755,root,root) %{_bindir}/gegl
d7387e88
AM
150%attr(755,root,root) %{_libdir}/libgegl-0.1.so.*.*.*
151%attr(755,root,root) %ghost %{_libdir}/libgegl-0.1.so.0
152%dir %{_libdir}/gegl-0.1
153%attr(755,root,root) %{_libdir}/gegl-0.1/*.so
518498c4 154
155%files devel
156%defattr(644,root,root,755)
d7387e88
AM
157%attr(755,root,root) %{_libdir}/libgegl-0.1.so
158%{_libdir}/libgegl-0.1.la
159%{_includedir}/gegl-0.1
518498c4 160%{_pkgconfigdir}/gegl.pc
161
162%files static
163%defattr(644,root,root,755)
d7387e88 164%{_libdir}/libgegl-0.1.a
c067f164 165
ac3efb70 166%if %{with doc}
c067f164
MB
167%files apidocs
168%defattr(644,root,root,755)
169%{_gtkdocdir}/gegl
d7387e88 170%endif
This page took 0.081066 seconds and 4 git commands to generate.