rpms/pigment-python/F-8 pigment-python.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sat Feb 23 23:32:17 UTC 2008


Author: thias

Update of /cvs/extras/rpms/pigment-python/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31317/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	pigment-python.spec 
Log Message:
Initial import.



--- NEW FILE pigment-python.spec ---
%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")

Summary: Python bindings to the Pigment Media Center Toolkit
Name: pigment-python
Version: 0.3.2
Release: 2%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL: http://elisa.fluendo.com/
Source: http://elisa.fluendo.com/static/download/pigment/pigment-python-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: gstreamer-python
Requires: pygtk2
Requires: pigment >= 0.3.4
BuildRequires: glib2-devel
BuildRequires: pigment-devel >= 0.3.4
BuildRequires: python-devel
BuildRequires: pygtk2-devel
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: gtk2-devel
# For make check (disabled, as the gtk2 part requires a DISPLAY)
#BuildRequires: gstreamer-python, pygtk2

%description
Pigment is a toolkit for writing Media Center software.
These are the Python bindings for Pigment.


%prep
%setup -q


%build
%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot} _tmp
%{__make} install DESTDIR=%{buildroot} INSTALL="install -p"
# Remove all *.la files
find %{buildroot} -name '*.la' -exec rm -f {} \;
# Move the examples back here to be included as %%doc
%{__mkdir} _tmp
%{__mv} %{buildroot}%{_datadir}/pigment-python/*/examples _tmp/


#check
# It would be useful to run this, unfortunately the python checks try to
# "import gtk.gdk" and fail because of "RuntimeError: could not open display"
#{__make} check


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO _tmp/examples/
%{python_sitelib}/pgm/
%{python_sitearch}/_pgm*.so


%changelog
* Wed Feb 13 2008 Matthias Saou <http://freshrpms.net/> 0.3.2-2
- Add INSTALL="install -p" to the make install line, to preserve timestamps.

* Fri Feb  8 2008 Matthias Saou <http://freshrpms.net/> 0.3.2-1
- Update to 0.3.2.
- Set minimal pigment versions which can't be automatically set.
- Add missing gstreamer-devel build req, not pulled in by plugins-base-devel.
- Include the new examples in %%doc.

* Thu Jan 17 2008 Matthias Saou <http://freshrpms.net/> 0.3.1-1
- Initial RPM release, based on the current pigment spec file.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/pigment-python/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Feb 2008 17:33:47 -0000	1.1
+++ .cvsignore	23 Feb 2008 23:31:44 -0000	1.2
@@ -0,0 +1 @@
+pigment-python-0.3.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pigment-python/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Feb 2008 17:33:47 -0000	1.1
+++ sources	23 Feb 2008 23:31:44 -0000	1.2
@@ -0,0 +1 @@
+9d19b1a9c7055e551df5a0bd7cc0421c  pigment-python-0.3.2.tar.gz




More information about the fedora-extras-commits mailing list