- Update to 1.2.6
- Clean up the spec file.
This commit is contained in:
parent
0914dd16ca
commit
cb768b4900
@ -1 +1 @@
|
||||
pycairo-1.2.2.tar.gz
|
||||
pycairo-1.2.6.tar.gz
|
||||
|
||||
38
pycairo.spec
38
pycairo.spec
@ -1,21 +1,30 @@
|
||||
%define pyver %(python -c 'import sys ; print sys.version[:3]')
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
### Abstract ###
|
||||
|
||||
Summary: Python bindings for the cairo library
|
||||
Name: pycairo
|
||||
Version: 1.2.2
|
||||
Version: 1.2.6
|
||||
Release: 1%{?dist}
|
||||
License: LGPL
|
||||
Group: Development/Languages
|
||||
Summary: Python bindings for the cairo library
|
||||
URL: http://cairographics.org/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
|
||||
### Dependencies ###
|
||||
|
||||
Requires: cairo >= 1.2.6
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
BuildRequires: python
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: pkgconfig
|
||||
Requires: cairo >= 1.1.10
|
||||
|
||||
%description
|
||||
Python bindings for the cairo library
|
||||
Python bindings for the cairo library.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for pycairo
|
||||
@ -24,15 +33,14 @@ Requires: %name = %{version}-%{release}
|
||||
Requires: cairo-devel python-devel
|
||||
|
||||
%description devel
|
||||
|
||||
Headers for pycairo
|
||||
This package contains files required to build wrappers for cairo add-on
|
||||
libraries so that they interoperate with pycairo.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%configure
|
||||
|
||||
%build
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
@ -44,20 +52,22 @@ find $RPM_BUILD_ROOT -name '*.la' |xargs rm
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_libdir}/python%{pyver}/site-packages/cairo/
|
||||
%{python_sitearch}/cairo/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%{_libdir}/pkgconfig/pycairo.pc
|
||||
%dir %{_includedir}/pycairo
|
||||
%{_libdir}/pkgconfig/pycairo.pc
|
||||
%{_includedir}/pycairo/pycairo.h
|
||||
|
||||
%changelog
|
||||
* Tue Nov 28 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-1.fc7
|
||||
- Update to 1.2.6
|
||||
- Clean up the spec file.
|
||||
|
||||
* Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.2-1
|
||||
- Update to 1.2.2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user