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