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