File geglmm.spec of Package libgeglmm

Name:           geglmm
Version:        0.0.22
Release:        1
License:        GNU Lesser General Public License (LGPL)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++
BuildRequires:  gegl-devel >= 0.0.22 
BuildRequires:  babl-devel >= 0.0.22
BuildRequires:  glibmm2-devel >= 2.12
Source0:        geglmm-%{version}.tar.bz2
Group:          Libraries
Summary:        A graphic processing library, C++ bindings

%description
C++ binding for GEGL (Generic Graphics Library) is a graph based image processing framework.

%package -n libgeglmm2
Group:          Libraries/C and C++
Summary:        A graphic processing library, C++ bindings

%description -n libgeglmm2
C++ binding for GEGL (Generic Graphics Library) is a graph based image processing framework.


%package devel
Group:          Development/Libraries/C and C++
Summary:        A graphic processing library, C++ bindings
Requires:       libgeglmm2 = %{version}
Requires:       glibmm2-devel
Requires:       gegl-devel >= 0.0.22

%description devel
C++ binding for GEGL (Generic Graphics Library) is a graph based image processing framework.
(Development files)


%prep
%setup -q 

%build
%configure
make

%install
DESTDIR=$RPM_BUILD_ROOT make install
rm $RPM_BUILD_ROOT/%{_libdir}/libgeglmm.la

%post -n libgeglmm2 -p /sbin/ldconfig

%postun -n libgeglmm2 -p /sbin/ldconfig

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -n libgeglmm2
%defattr(-,root,root)
%{_libdir}/libgeglmm.so.*
#%{_prefix}/share/gtk-doc/html/gegl/*

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/geglmm.pc
%{_includedir}/geglmm-1.0
%{_libdir}/geglmm-1.0
%{_libdir}/libgeglmm.so

%changelog
* Wed Nov 5 2008 - hfiguiere@novell.com
* Sun Jul 27 2008 - hfiguiere@novell.com
- Upgrade to 0.0.17.1
  * Fix a bug in Gegl::Buffer::Buffer()
* Tue Jul 15 2008 - hfiguiere@novell.com
- Upgrade to 0.0.17
* Fri Jun 13 2008 - hfiguiere@novell.com
- missing gegl-devel dependency for the devel package
* Thu Jun 12 2008 - hfiguiere@novell.com
- split devel packages
openSUSE Build Service is sponsored by