48 lines
815 B
RPMSpec
48 lines
815 B
RPMSpec
Summary: Python bindings for the cairo library
|
|
Name: pycairo
|
|
Version: 0.1.3
|
|
Release: 1
|
|
License: LGPL
|
|
Group: Development/Languages
|
|
URL: http://cairographics.org/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: python
|
|
BuildRequires: cairo-devel python-devel
|
|
Requires: pygtk2
|
|
Requires: cairo
|
|
%description
|
|
Python bindings for the cairo library
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%configure
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
find $RPM_BUILD_ROOT -name '*.la' |xargs rm
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc
|
|
%{_libdir}/python2.3/site-packages/cairo/
|
|
|
|
|
|
%changelog
|
|
* Fri Dec 10 2004 Kristian Høgsberg <krh@redhat.com> - 0.1.3-1
|
|
- Add python-devel build requires.
|
|
|
|
* Wed Nov 24 2004 <jrb@redhat.com> -
|
|
- Initial build.
|
|
|