- Remove redundant requirements.
- Use name tag where appropriate.
This commit is contained in:
parent
ad0d0314d7
commit
55b88c43dc
@ -9,7 +9,7 @@
|
||||
|
||||
Name: pygobject2
|
||||
Version: 2.14.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: Development/Languages
|
||||
Summary: Python bindings for GObject
|
||||
@ -17,11 +17,6 @@ URL: http://www.pygtk.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Source: pygobject-%{version}.tar.bz2
|
||||
|
||||
### Dependencies ###
|
||||
|
||||
Requires: glib2 >= %{glib2_version}
|
||||
Requires: python2 >= %{python2_version}
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
BuildRequires: automake >= %{automake_version}
|
||||
@ -30,34 +25,33 @@ BuildRequires: libtool
|
||||
BuildRequires: python2-devel >= %{python2_version}
|
||||
|
||||
%description
|
||||
pygobject2 provides a convenient wrapper for the GObject library
|
||||
The %{name} package provides a convenient wrapper for the GObject library
|
||||
for use in Python programs.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for building add-on libraries
|
||||
Group: Development/Languages
|
||||
Requires: pygobject2 = %{version}-%{release}
|
||||
Requires: pygobject2-doc = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-doc = %{version}-%{release}
|
||||
Requires: glib2-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
This package contains files required to build wrappers for
|
||||
pygobject2-based libraries such as pygtk2.
|
||||
This package contains files required to build wrappers for %{name}-based
|
||||
libraries such as pygtk2.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for pygobject2
|
||||
Summary: Documentation files for %{name}
|
||||
Group: Development/Languages
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for pygobject2.
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygobject-%{version}
|
||||
|
||||
%build
|
||||
# --disable-docs doesn't work; it builds the docs anyway.
|
||||
%configure --enable-thread --disable-docs
|
||||
%configure --enable-thread
|
||||
export tagname=CC
|
||||
make LIBTOOL=/usr/bin/libtool
|
||||
|
||||
@ -97,6 +91,10 @@ rm -fr $RPM_BUILD_ROOT
|
||||
%{_datadir}/pygobject/xsl
|
||||
|
||||
%changelog
|
||||
* Fri Oct 26 2007 Matthew Barnes <mbarnes@redhat.com> - 2.14.0-2.fc9
|
||||
- Remove redundant requirements.
|
||||
- Use name tag where appropriate.
|
||||
|
||||
* Sun Sep 16 2007 Matthew Barnes <mbarnes@redhat.com> - 2.14.0-1.fc8
|
||||
- Update to 2.14.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user