small spec file cleanups

epel9
Matthias Clasen 18 years ago
parent e1467d8414
commit a205aa8cb0

@ -2,15 +2,15 @@
%define gtk2_version 2.5.0 %define gtk2_version 2.5.0
%define pango_version 1.3.2 %define pango_version 1.3.2
Summary: The libglade library for loading user interfaces. Summary: The libglade library for loading user interfaces
Name: libglade2 Name: libglade2
Version: 2.6.0 Version: 2.6.0
Release: 2 Release: 3%{?dist}
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Source: libglade-%{version}.tar.bz2 Source: libglade-%{version}.tar.bz2
URL: http://www.gnome.org URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: libxml2 >= %{libxml2_version} Requires: libxml2 >= %{libxml2_version}
Requires: gtk2 >= %{gtk2_version} Requires: gtk2 >= %{gtk2_version}
BuildRequires: libxml2-devel >= %{libxml2_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. initial interface loading time, there is no performance tradeoff.
%package devel %package devel
Summary: The files needed for libglade application development. Summary: The files needed for libglade application development
Group: Development/Libraries Group: Development/Libraries
Requires: %name = %{PACKAGE_VERSION} Requires: %name = %{version}-%{release}
Requires: libxml2-devel >= %{libxml2_version} Requires: libxml2-devel >= %{libxml2_version}
Requires: gtk2-devel >= %{gtk2_version} Requires: gtk2-devel >= %{gtk2_version}
Requires: pkgconfig
Conflicts: libglade < 0.17 Conflicts: libglade < 0.17
%description devel %description devel
@ -61,7 +62,7 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.la rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -80,12 +81,14 @@ rm -rf $RPM_BUILD_ROOT
%doc test-libglade.c %doc test-libglade.c
%{_bindir}/* %{_bindir}/*
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_includedir}/* %{_includedir}/*
%{_datadir}/gtk-doc %{_datadir}/gtk-doc/html/libglade
%changelog %changelog
* Fri Dec 8 2006 Matthias Clasen <mclasen@redhat.com> - 2.6.0-3
- Small spec file cleanups
* Fri Jul 14 2006 Matthias Clasen <mclasen@redhat.com> - 2.6.0-2 * Fri Jul 14 2006 Matthias Clasen <mclasen@redhat.com> - 2.6.0-2
- BuildRequire gettext - BuildRequire gettext

Loading…
Cancel
Save