diff --git a/.cvsignore b/.cvsignore index e69de29..c461d11 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gconfmm-2.6.1.tar.bz2 diff --git a/gconfmm.spec b/gconfmm.spec new file mode 100644 index 0000000..0a8fec9 --- /dev/null +++ b/gconfmm.spec @@ -0,0 +1,88 @@ +Name: gconfmm26 +Version: 2.6.1 +Release: 0.fdr.1.2 +Epoch: 0 +Summary: A C++ wrapper for GConf2 + +Group: System Environment/Libraries +License: LGPL +URL: http://gtkmm.sourceforge.net/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/gconfmm/2.6/gconfmm-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: glibmm24-devel >= 0:2.4.0 +BuildRequires: gtkmm24-devel >= 0:2.4.0 +BuildRequires: GConf2-devel >= 0:2.4.0 + +%description +This package provides a C++ interface for GConf2. It is a subpackage +of the GTKmm project. The interface provides a convenient interface +for C++ programmers to create Gnome GUIs with GTK+'s flexible +object-oriented framework. + +%package devel +Summary: Headers for developing programs that will use gconfmm +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: glibmm24-devel +Requires: gtkmm24-devel +Requires: GConf2-devel + +%description devel +This package contains the headers that programmers will need to +develop applications which will use gconfmm, part of GTKmm, the C++ +interface to the GTK+. + + +%prep +%setup -q -n gconfmm-%{version} + + +%build +%configure --enable-static --enable-shared +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +/sbin/ldconfig + + +%postun +/sbin/ldconfig + + +%files +%defattr(-, root, root, -) +%doc AUTHORS ChangeLog COPYING NEWS README INSTALL +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root, -) +%{_includedir}/gconfmm-2.6 +%{_libdir}/gconfmm-2.6 +%{_libdir}/*.a +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Mon Jun 27 2004 Denis Leroy - 0:2.6.1-0.fdr.1 +- Upgrade to 2.6.1 + +* Fri Oct 31 2003 Michael Koziarski - 2.0.1-0.fdr.2 +- Fix BuildRequires +- Add specific version numbers to GConf dependency. + +* Sat Oct 18 2003 Michael Koziarski - 2.0.1-0.fdr.1 +- Initial RPM creation diff --git a/sources b/sources index e69de29..07756aa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9edf4f866de9bd6db9ae7cf31535ad49 gconfmm-2.6.1.tar.bz2