]> git.pld-linux.org Git - packages/geglmm.git/blame - geglmm.spec
- new
[packages/geglmm.git] / geglmm.spec
CommitLineData
76da165b
MB
1Summary: C++ bindings for GEGL
2Summary(pl.UTF-8): Wiązania C++ do GEGL
3Name: geglmm
4Version: 0.0.17.1
5Release: 1
6License: LGPL v3
7Group: Libraries
8Source0: http://ftp.gnome.org/pub/GNOME/sources/geglmm/0.0/%{name}-%{version}.tar.bz2
9# Source0-md5: de2f3601e70a93ab612f74d1b94bce5b
10Patch0: %{name}-ac.patch
11BuildRequires: autoconf
12BuildRequires: automake >= 1:1.9
13BuildRequires: gegl-devel >= 0.0.17
14BuildRequires: glibmm-devel >= 2.12.8
15BuildRequires: libstdc++-devel
16BuildRequires: libtool
17BuildRequires: pkgconfig
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21C++ bindings for GEGL.
22
23%description -l pl.UTF-8
24Wiązania C++ do GEGL.
25
26%package devel
27Summary: Header files for geglmm library
28Summary(pl.UTF-8): Pliki nagłówkowe biblioteki geglmm
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: gegl-devel >= 0.0.17
32Requires: glibmm-devel >= 2.12.8
33
34%description devel
35Header files for geglmm library.
36
37%description devel -l pl.UTF-8
38Pliki nagłówkowe biblioteki geglmm.
39
40%package static
41Summary: Static geglmm library
42Summary(pl.UTF-8): Statyczna biblioteka geglmm
43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static geglmm library.
48
49%description static -l pl.UTF-8
50Statyczna biblioteka geglmm.
51
52%package examples
53Summary: geglmm - example programs
54Summary(pl.UTF-8): geglmm - przykładowe programy
55Group: Development/Libraries
56
57%description examples
58geglmm - example programs.
59
60%description examples -l pl.UTF-8
61geglmm - 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
79rm -rf $RPM_BUILD_ROOT
80install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85# Prepare examples
86cp examples/*.cc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
87
88%clean
89rm -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}
This page took 0.086014 seconds and 4 git commands to generate.