]>
Commit | Line | Data |
---|---|---|
76da165b MB |
1 | Summary: C++ bindings for GEGL |
2 | Summary(pl.UTF-8): Wiązania C++ do GEGL | |
3 | Name: geglmm | |
4 | Version: 0.0.17.1 | |
5 | Release: 1 | |
6 | License: LGPL v3 | |
7 | Group: Libraries | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/geglmm/0.0/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: de2f3601e70a93ab612f74d1b94bce5b | |
10 | Patch0: %{name}-ac.patch | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: gegl-devel >= 0.0.17 | |
14 | BuildRequires: glibmm-devel >= 2.12.8 | |
15 | BuildRequires: libstdc++-devel | |
16 | BuildRequires: libtool | |
17 | BuildRequires: pkgconfig | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | C++ bindings for GEGL. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Wiązania C++ do GEGL. | |
25 | ||
26 | %package devel | |
27 | Summary: Header files for geglmm library | |
28 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki geglmm | |
29 | Group: Development/Libraries | |
30 | Requires: %{name} = %{version}-%{release} | |
31 | Requires: gegl-devel >= 0.0.17 | |
32 | Requires: glibmm-devel >= 2.12.8 | |
33 | ||
34 | %description devel | |
35 | Header files for geglmm library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe biblioteki geglmm. | |
39 | ||
40 | %package static | |
41 | Summary: Static geglmm library | |
42 | Summary(pl.UTF-8): Statyczna biblioteka geglmm | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static geglmm library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Statyczna biblioteka geglmm. | |
51 | ||
52 | %package examples | |
53 | Summary: geglmm - example programs | |
54 | Summary(pl.UTF-8): geglmm - przykładowe programy | |
55 | Group: Development/Libraries | |
56 | ||
57 | %description examples | |
58 | geglmm - example programs. | |
59 | ||
60 | %description examples -l pl.UTF-8 | |
61 | geglmm - przykładowe programy. | |
62 | ||
63 | %prep | |
64 | %setup -q | |
65 | %patch0 -p1 | |
66 | ||
67 | %build | |
68 | %{__libtoolize} | |
69 | %{__aclocal} -I scripts | |
70 | %{__autoconf} | |
71 | %{__autoheader} | |
72 | %{__automake} | |
73 | %configure \ | |
74 | --enable-static | |
75 | ||
76 | %{__make} | |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | # Prepare examples | |
86 | cp examples/*.cc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
94 | %files | |
95 | %defattr(644,root,root,755) | |
96 | %doc AUTHORS ChangeLog NEWS README | |
97 | %attr(755,root,root) %{_libdir}/libgeglmm.so.*.*.* | |
98 | %attr(755,root,root) %ghost %{_libdir}/libgeglmm.so.1 | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %attr(755,root,root) %{_libdir}/libgeglmm.so | |
103 | %{_libdir}/geglmm-1.0 | |
104 | %{_libdir}/libgeglmm.la | |
105 | %{_includedir}/geglmm-1.0 | |
106 | %{_pkgconfigdir}/geglmm.pc | |
107 | ||
108 | %files static | |
109 | %defattr(644,root,root,755) | |
110 | %{_libdir}/libgeglmm.a | |
111 | ||
112 | %files examples | |
113 | %defattr(644,root,root,755) | |
114 | %{_examplesdir}/%{name}-%{version} |