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