From a205aa8cb0afc71ff92e5971ba0983293e6319f6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Dec 08 2006 05:04:54 +0000 Subject: small spec file cleanups --- diff --git a/libglade2.spec b/libglade2.spec index cc5ccbb..3b594ba 100644 --- a/libglade2.spec +++ b/libglade2.spec @@ -2,15 +2,15 @@ %define gtk2_version 2.5.0 %define pango_version 1.3.2 -Summary: The libglade library for loading user interfaces. +Summary: The libglade library for loading user interfaces Name: libglade2 Version: 2.6.0 -Release: 2 +Release: 3%{?dist} License: LGPL Group: System Environment/Libraries Source: libglade-%{version}.tar.bz2 URL: http://www.gnome.org -BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: libxml2 >= %{libxml2_version} Requires: gtk2 >= %{gtk2_version} BuildRequires: libxml2-devel >= %{libxml2_version} @@ -36,11 +36,12 @@ instantiated, libglade gives no overhead, so other than the short initial interface loading time, there is no performance tradeoff. %package devel -Summary: The files needed for libglade application development. +Summary: The files needed for libglade application development Group: Development/Libraries -Requires: %name = %{PACKAGE_VERSION} +Requires: %name = %{version}-%{release} Requires: libxml2-devel >= %{libxml2_version} Requires: gtk2-devel >= %{gtk2_version} +Requires: pkgconfig Conflicts: libglade < 0.17 %description devel @@ -61,7 +62,7 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT %makeinstall -rm $RPM_BUILD_ROOT%{_libdir}/*.la +rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a} %clean rm -rf $RPM_BUILD_ROOT @@ -80,12 +81,14 @@ rm -rf $RPM_BUILD_ROOT %doc test-libglade.c %{_bindir}/* %{_libdir}/lib*.so -%{_libdir}/*.a %{_libdir}/pkgconfig/* %{_includedir}/* -%{_datadir}/gtk-doc +%{_datadir}/gtk-doc/html/libglade %changelog +* Fri Dec 8 2006 Matthias Clasen - 2.6.0-3 +- Small spec file cleanups + * Fri Jul 14 2006 Matthias Clasen - 2.6.0-2 - BuildRequire gettext