base-specs/pygobject.spec
author dcarbery
Fri, 04 Jan 2008 19:25:35 +0000
changeset 11392 7fc668eb2c39
parent 10667 4d8a6977bb5d
child 12357 4c2c2614e126
permissions -rw-r--r--
2008-01-04 Damien Carbery <[email protected]> * base-specs/pygobject.spec: Bump to 2.14.1. Remove upstream patch, 01-uninst-datadir; rename rest. * patches/pygobject-01-uninst-datadir.diff: Removed, upstream. * patches/pygobject-01-pc-file.diff: Renamed from 02.
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 pygobject
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
11392
7fc668eb2c39 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10667
diff changeset
     4
# Copyright (c) 2008 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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: laca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
Name:			pygobject
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
License:		LGPL	
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
Group:			System/Library
11392
7fc668eb2c39 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10667
diff changeset
    13
Version:		2.14.1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Release:		2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Distribution:		Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Vendor:			Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:		Python bindings for GObject
10524
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10169
diff changeset
    18
Source:			http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.14/pygobject-%{version}.tar.bz2
10667
4d8a6977bb5d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10665
diff changeset
    19
#owner:dcarbery date:2007-10-16 bugzilla:487523 type:bug
11392
7fc668eb2c39 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10667
diff changeset
    20
Patch1:                 pygobject-01-pc-file.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
URL:			http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Docdir:			%{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Autoreqprov:		on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%define libglade_version 2.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%define glib2_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%define gtk2_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%define atk_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%define pango_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%define python_version 2.4
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
Requires:		libglade >= %{libglade_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:		gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:		glib2 >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:		atk >= %{atk_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:		pango >= %{pango_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:		python >= %{python_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: 		gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:		libglade-devel >= %{libglade_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires:		atk-devel >= %{atk_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
BuildRequires:		pango-devel >= %{pango_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
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
PyGObject is an extension module for python that gives you access to GObject
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Summary: files needed to build wrappers for GObject libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Group: Development/Languages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Requires: %{name} = %{version}
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
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
This package contains files required to build wrappers for GObject
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
libraries so that they interoperate with pygobject.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%setup -q -n pygobject-%{version}
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10524
diff changeset
    59
%patch1 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%ifos solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
# Disable optimizations on x86 to workaround compiler bug 6382078.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%ifarch sparc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
CFLAGS="$RPM_OPT_FLAGS"				\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
CFLAGS="$RPM_OPT_FLAGS -xO0"			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%endif
10169
8dba9a12689b 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 10168
diff changeset
    70
# Append -xc99 to fix #error failure in /usr/include/sys/feature_tests.h
8dba9a12689b 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 10168
diff changeset
    71
CFLAGS="$CFLAGS -xc99"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
./configure 	--prefix=%{_prefix}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
	    	--sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
make install DESTDIR=$RPM_BUILD_ROOT \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
    pythondir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
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
    81
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
    82
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_libdir}/python?.?/vendor-packages/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%doc examples
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%doc AUTHORS NEWS README MAPPING ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%{_libdir}/pygobject/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%{_datadir}/pygobject/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%changelog -n pygobject
11392
7fc668eb2c39 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10667
diff changeset
   105
* Fri Jan 04 2008 - [email protected]
7fc668eb2c39 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10667
diff changeset
   106
- Bump to 2.14.1. Remove upstream patch, 01-uninst-datadir; rename rest.
7fc668eb2c39 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10667
diff changeset
   107
10665
c98ec7dbc36d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10661
diff changeset
   108
* Tue Oct 16 2007 - [email protected]
c98ec7dbc36d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10661
diff changeset
   109
- Add patch, 02-pc-file, to add entries to the pc files to support building
c98ec7dbc36d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10661
diff changeset
   110
  against the uninstalled module.
c98ec7dbc36d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10661
diff changeset
   111
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10524
diff changeset
   112
* Sun Oct 07 2007 - [email protected]
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10524
diff changeset
   113
- Add patch, 01-uninst-datadir, to add a 'datadir' entry to the uninstalled pc
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10524
diff changeset
   114
  file.
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10524
diff changeset
   115
10524
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10169
diff changeset
   116
* Wed Sep 19 2007 - [email protected]
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10169
diff changeset
   117
- Bump to 2.14.0.
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10169
diff changeset
   118
10168
9e8782bf41d2 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 9852
diff changeset
   119
* Mon Jul 09 2007 - [email protected]
9e8782bf41d2 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 9852
diff changeset
   120
- Bump to 2.13.2. Remove upstream patches, 01-gcc-wall and 02-return-zero.
10169
8dba9a12689b 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 10168
diff changeset
   121
  Remove autofoo calls because configure.ac patches removed.
8dba9a12689b 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 10168
diff changeset
   122
  Append -xc99 to CFLAGS to fix #error in /usr/include/sys/feature_tests.h
10168
9e8782bf41d2 2007-07-09 Damien Carbery <[email protected]>
dcarbery
parents: 9852
diff changeset
   123
9850
402dacff19be 2007-05-09 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   124
* Wed May 09 2007 - [email protected]
402dacff19be 2007-05-09 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   125
- Bump to 2.13.1. Remove upstream patches, 01-uninstalled.pc and 02-void-return.
402dacff19be 2007-05-09 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   126
  Add patches, 01-gcc-wall and 02-return-zero, to fix build issues.
402dacff19be 2007-05-09 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   127
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Mon Nov 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Remove reference to pygtk2-02-pygobject-xsl-dir.diff as it has been removed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Mon Nov 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Bump to 2.12.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Sat Oct 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- Add aclocal and automake calls.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Wed Oct 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- Bump to 2.12.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
* Tue Sep 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- Bump to 2.12.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- Bump to 2.11.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Tue Aug 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- Bump to 2.11.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
* Tue Aug 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
- Bump to 2.11.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
* Mon Aug 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
- Bump to 2.11.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
- Bump to 2.11.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
* Tue Apr 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
- Bump to 2.10.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
* Wed Apr  5 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
- Initial Sun release.