source: projects/specs/trunk/g/gegl04/gegl04-vl.spec @ 11802

Revision 11802, 2.9 KB checked in by ara_t, 6 years ago (diff)

gegl04: first commit for Vine Linux

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