source: projects/specs/trunk/g/gegl03/gegl03-vl.spec @ 10716

Revision 10716, 3.0 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

Line 
1%define VER 0.3
2
3Summary:        A graph based image processing framework
4Summary(ja):    グラフベースの画像処理フレームワーク
5Name:           gegl03
6Version:        0.3.8
7Release:        1%{?_dist_release}
8# The binary is under the GPL, while the libs are under LGPL
9License:        LGPLv3+ and GPLv3+
10Group:          System Environment/Libraries
11URL:            http://www.gegl.org/
12Source0:        ftp://ftp.gtk.org/pub/gegl/%{VER}/gegl-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires:  glib2-devel
16BuildRequires:  gdk-pixbuf2-devel
17BuildRequires:  pango-devel
18BuildRequires:  babl-devel >= 0.1.12
19BuildRequires:  json-glib-devel
20BuildRequires:  perl
21BuildRequires:  ruby
22BuildRequires:  exiv2-devel
23BuildRequires:  libgexiv2-devel
24BuildRequires:  lcms2-devel
25BuildRequires:  libpng-devel
26BuildRequires:  libjpeg-devel
27BuildRequires:  librsvg2-devel
28BuildRequires:  libtiff-devel
29BuildRequires:  libwebp-devel
30BuildRequires:  LibRaw-devel
31BuildRequires:  jasper-devel
32BuildRequires:  lensfun-devel
33BuildRequires:  asciidoc
34BuildRequires:  SDL-devel
35BuildRequires:  OpenEXR-devel
36BuildRequires:  lua-devel
37BuildRequires:  enscript
38BuildRequires:  w3m
39BuildRequires:  graphviz
40
41
42Vendor: Project Vine
43Distribution: Vine Linux
44
45%description
46GEGL (Generic Graphics Library) is a graph based image processing framework.
47GEGLs original design was made to scratch GIMPs itches for a new
48compositing and processing core. This core is being designed to have
49minimal dependencies. and a simple well defined API.
50
51%package devel
52Summary:        Development files for %{name}
53Summary(ja):    %{name} の開発ファイル
54Group:          Development/Libraries
55Requires:       %{name} = %{version}-%{release}
56Requires:       pkgconfig babl-devel glib2-devel
57
58%description devel
59This package contains the libraries and header files needed for
60developing with %{name}.
61
62%prep
63%setup -q -n gegl-%{version}
64
65chmod -x operations/external/ff-load.c operations/common/perlin/perlin.*
66
67%build
68# Needed by Ruby 1.9.3.
69export LANG=en_US.utf8
70
71%ifnarch ppc64
72%configure --disable-static --enable-workshop
73%else
74%configure --disable-static --enable-workshop --disable-docs
75%endif
76make %{?_smp_mflags}
77
78%install
79rm -rf %{buildroot}
80make DESTDIR=%{buildroot} install INSTALL='install -p'
81
82find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
83
84# conflict with gegl-0.2
85rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
86rm -rf $RPM_BUILD_ROOT%{_bindir}
87
88%find_lang gegl-%{VER}
89
90%clean
91rm -rf %{buildroot}
92
93%post -p /sbin/ldconfig
94
95%postun -p /sbin/ldconfig
96
97%files -f gegl-%{VER}.lang
98%defattr(-, root, root, -)
99%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
100%{_libdir}/libgegl-%{VER}.so.*
101%{_libdir}/libgegl-npd-%{VER}.so
102%{_libdir}/libgegl-sc-%{VER}.so
103%{_libdir}/gegl-%{VER}
104%{_libdir}/girepository-1.0/Gegl-%{VER}.typelib
105
106%files devel
107%defattr(-, root, root, -)
108%{_includedir}/gegl-%{VER}
109%{_libdir}/libgegl-%{VER}.so
110%{_libdir}/pkgconfig/gegl-%{VER}.pc
111%{_libdir}/pkgconfig/gegl-sc-%{VER}.pc
112%{_datadir}/gir-1.0/Gegl-%{VER}.gir
113
114%changelog
115* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1
116- initial build
Note: See TracBrowser for help on using the repository browser.