rpms/gtkmm24/EL-4 gtkmm.spec,1.4,1.5
Denis Leroy (denis)
fedora-extras-commits at redhat.com
Sun Jan 14 04:05:39 UTC 2007
Author: denis
Update of /cvs/extras/rpms/gtkmm24/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21396
Modified Files:
gtkmm.spec
Log Message:
- Spec file cleanup, added dist tag
Index: gtkmm.spec
===================================================================
RCS file: /cvs/extras/rpms/gtkmm24/EL-4/gtkmm.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gtkmm.spec 10 May 2005 15:11:53 -0000 1.4
+++ gtkmm.spec 14 Jan 2007 04:05:08 -0000 1.5
@@ -1,7 +1,6 @@
Name: gtkmm24
Version: 2.4.11
-Release: 1
-Epoch: 0
+Release: 2%{?dist}
Summary: A C++ interface for GTK2 (a GUI library for X).
Group: System Environment/Libraries
@@ -10,12 +9,11 @@
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/gtkmm-%{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: atk-devel >= 0:1.6.0
-BuildRequires: pango-devel >= 0:1.4.0
-BuildRequires: gtk2-devel >= 0:2.4.0
+BuildRequires: glibmm24-devel >= 2.4.0
+BuildRequires: atk-devel >= 1.6.0
+BuildRequires: pango-devel >= 1.4.0
+BuildRequires: gtk2-devel >= 2.4.0
+
%description
gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps GTK+ 2.
@@ -23,24 +21,28 @@
and a comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces.
+
%package devel
Summary: Headers for developing programs that will use %{name}.
Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel
Requires: glib2-devel
Requires: glibmm24-devel
Requires: atk-devel
Requires: pango-devel
+
%description devel
This package contains the static libraries and header files needed for
developing gtkmm applications.
+
%package docs
Summary: Documentation for %{name}, includes full API docs.
Group: Documentation
-Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+
%description docs
This package contains the full API documentation for %{name}.
@@ -51,7 +53,7 @@
%build
-%configure --enable-static --enable-shared --disable-examples --disable-demos
+%configure %{!?_with_static: --disable-static} --enable-shared --disable-examples --disable-demos
make %{?_smp_mflags}
@@ -63,16 +65,15 @@
%{__mv} ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-2.4/* docs-to-include/
rm -f ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/gtkmm-2.4/*
+
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
@@ -80,6 +81,7 @@
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*
+
%files devel
%defattr(-, root, root, -)
%doc CHANGES PORTING
@@ -87,18 +89,22 @@
%{_includedir}/atkmm-1.6
%{_includedir}/gdkmm-2.4
%{_includedir}/pangomm-1.4
-%{_libdir}/*.a
+%{?_with_static: %{_libdir}/*.a}
%{_libdir}/*.so
%{_libdir}/gtkmm-2.4
%{_libdir}/gdkmm-2.4
%{_libdir}/pkgconfig/*.pc
+
%files docs
%defattr(-, root, root, -)
%doc docs-to-include/*
%changelog
+* Sun Jan 14 2007 Denis Leroy <denis at poolshark.org> - 2.4.11-2
+- Spec file cleanup, added dist tag
+
* Tue May 10 2005 Denis Leroy <denis at poolshark.org> - 0:2.4.11-1
- Update to gtkmm 2.4.11
- Disabled building of examples and demos
More information about the scm-commits
mailing list