Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 597224d79d3b4ff73a38ada7feb06781 > files > 3

gconfmm2.0-2.0.2-4mdv2008.1.src.rpm

%define version 2.0.2
%define release %mkrel 4

%define pkgname gconfmm
%define major	1
%define api_version 2.0
%define libname		%mklibname %pkgname %api_version %{major}
%define libname_orig	%mklibname %pkgname %api_version

Name:	 	%{pkgname}%{api_version}
Summary: 	A C++ interface for GConf2
Version: 	%{version}
Release: 	%{release}
License: 	LGPL
Group:   	System/Libraries
Source:  	ftp://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{pkgname}-%{version}.tar.bz2
Patch0:		gconfmm-2.0.2-64bit-fixes.patch.bz2
URL:     	http://gtkmm.sourceforge.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
BuildRequires:	libGConf2-devel
BuildRequires:	gtkmm2.0-devel

%description
This package provides a C++ interface for GConf, a configuration data
storage mechanism to ship with GNOME.  It is a subpackage of the
gnomemm project, which provides a C++ interface for GNOME libraries.

%package	-n %{libname}
Summary:	%{summary}
Group:		%{group}
Provides:	%{name} = %{version}-%{release}

%description -n %{libname}
This package provides a C++ interface for GConf, a configuration data
storage mechanism to ship with GNOME.  It is a subpackage of the
gnomemm project, which provides a C++ interface for GNOME libraries.

%package -n %{libname}-devel
Summary:    Headers and development files of GConf 2 C++ wrapper
Group:      Development/GNOME and GTK+
Provides:   %{name}-devel = %{version}-%{release}
Provides:   %{libname_orig}-devel = %{version}-%{release}
Requires:   %{libname} = %{version}

%description -n %{libname}-devel
This package contains the headers and various development files needed,
when compiling or developing programs which want GConf 2 C++ wrapper.

%prep
%setup -q -n %pkgname-%version
%patch0 -p1 -b .64bit-fixes

%build
%configure2_5x --enable-static
%make 

%install
rm -rf %{buildroot}
%makeinstall_std

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files -n %{libname}
%defattr(-, root, root)
%doc COPYING.LIB
%{_libdir}/*.so.*

%files -n %{libname}-devel
%defattr(-, root, root)
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
%{_includedir}/*
%{_libdir}/%{pkgname}-%{api_version}
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so


%changelog
* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 2.0.2-4mdv2008.1
+ Revision: 136428
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sat Jul 07 2007 Götz Waschk <waschk@mandriva.org> 2.0.2-4mdv2008.0
+ Revision: 49517
- Import gconfmm2.0



* Thu Aug 31 2006 Götz Waschk <waschk@mandriva.org> 2.0.2-1mdv2007.0
- Rebuild

* Wed May 03 2006 Stefan van der Eijk <stefan@eijk.nu> 2.0.2-3mdk
-_rebuild_for_sparc

* Tue Aug 23 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.0.2-2mdk
- 64-bit fixes

* Tue Apr 26 2005 Götz Waschk <waschk@mandriva.org> 2.0.2-1mdk
- fix sourcr URL
- New release 2.0.2

* Sat Jun 05 2004 Abel Cheung <deaddog@deaddog.org> 2.0.1-7mdk
- Rebuild with new gcc

* Wed Apr 28 2004 Abel Cheung <deaddog@deaddog.org> 2.0.1-6mdk
- Rebuild

* Fri Aug 29 2003 Abel Cheung <deaddog@deaddog.org> 2.0.1-5mdk
- Can't even fix changelog? Counter black magic with black magic

* Fri Aug 29 2003 Abel Cheung <deaddog@deaddog.org> 2.0.1-4mdk
- Rebuild again, main library RPM vaporized (Thx Austin)
- Relax -devel requirement a little bit

* Fri Aug 22 2003 Abel Cheung <maddog@linux.org.hk> 2.0.1-3mdk
- Rebuild against new gtkmm

* Wed Aug 13 2003 Abel Cheung <maddog@linux.org.hk> 2.0.1-2mdk
- Enable static libraries
- Other spec tweaks

* Sun Apr 6 2003 Austin Acton <aacton@yorku.ca> 2.0.0-1mdk
- initial package