base-specs/pycairo.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 21462 0ff7dfc533ba
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package pycairo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
15895
bd4b5ec822c6 2009-06-15 Halton Huo <[email protected]>
halton
parents: 14644
diff changeset
     4
# Copyright 2009 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16429
diff changeset
     8
%define owner laca
16617
0168bcc3c73c Add bugdb lines and a patch comment.
yippi
parents: 16614
diff changeset
     9
# bugdb: bugzilla.freedesktop.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
16429
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16149
diff changeset
    11
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16149
diff changeset
    12
%define OSR 5165:1.2.2
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16149
diff changeset
    13
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Name:			pycairo
16614
c151ffbda133 2009-09-22 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    15
License:		LGPL
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Group:			System/Library
16614
c151ffbda133 2009-09-22 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    17
Version:		1.8.8
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Release:		1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Distribution:		Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 16617
diff changeset
    20
Vendor:			freedesktop.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:		Python bindings for Cairo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source:			http://cairographics.org/releases/pycairo-%{version}.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
URL:			http://www.cairographics.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Docdir:			%{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Autoreqprov:		on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
21106
512b7ea38e70 2010-12-06 Brian Cameron <[email protected]>
yippi
parents: 17865
diff changeset
    28
%{?!python_version:%define python_version 2.6}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
PyCairo is an extension module for python that gives you access to Cairo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Summary: files needed to build wrappers for Cairo libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Group: Development/Languages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires: %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
This package contains files required to build wrappers for Cairo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
libraries so that they interoperate with python.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%setup -q -n pycairo-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%build
16614
c151ffbda133 2009-09-22 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    46
libtoolize --copy --force
c151ffbda133 2009-09-22 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    47
aclocal $ACLOCAL_FLAGS
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
./configure 	--prefix=%{_prefix}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
	    	--sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
make install DESTDIR=$RPM_BUILD_ROOT \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
    pythondir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%{_libdir}/python?.?/vendor-packages/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%doc examples
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%doc AUTHORS NEWS README MAPPING ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_libdir}/pycairo/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%{_datadir}/pycairo/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%changelog -n pycairo
21462
0ff7dfc533ba 2011-02-18 Brian Cameron <[email protected]>
yippi
parents: 21240
diff changeset
    82
* Fri Feb 18 2011 - [email protected]
0ff7dfc533ba 2011-02-18 Brian Cameron <[email protected]>
yippi
parents: 21240
diff changeset
    83
- Remove uninstalled.pc patch.
16614
c151ffbda133 2009-09-22 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    84
* Tue Sep 22 2009 - [email protected]
c151ffbda133 2009-09-22 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    85
- Bump to 1.8.8 and add pycairo-01-uninstalled-pc.diff patch.
16149
c3a5fc3e1690 2009-07-28 Christian Kelly <[email protected]>
chrisk
parents: 15895
diff changeset
    86
* Tue Jul 28 2009 - [email protected]
c3a5fc3e1690 2009-07-28 Christian Kelly <[email protected]>
chrisk
parents: 15895
diff changeset
    87
- Bump to 1.8.6.
15895
bd4b5ec822c6 2009-06-15 Halton Huo <[email protected]>
halton
parents: 14644
diff changeset
    88
* Mon Jun 15 2009 - [email protected]
bd4b5ec822c6 2009-06-15 Halton Huo <[email protected]>
halton
parents: 14644
diff changeset
    89
- Bump to 1.8.4
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9570
diff changeset
    90
* Mon Nov 24 2008 - [email protected]
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9570
diff changeset
    91
- use %{python_version} macro to select which version of Python to build with
9570
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    92
* Thu Mar 15 2007 - [email protected]
955f61f25b7f 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    93
- Bump to 1.4.0.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- Bumped to 1.2.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Fri Jul 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- Initial Sun release.