rpms/pyabiword/devel pyabiword.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marc Maurer (uwog) fedora-extras-commits at redhat.com
Wed Jul 23 16:55:30 UTC 2008


Author: uwog

Update of /cvs/pkgs/rpms/pyabiword/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28150

Modified Files:
	.cvsignore sources 
Added Files:
	pyabiword.spec 
Log Message:
Initial spec file




--- NEW FILE pyabiword.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%define abiword_api_version 2.6

Summary: Python bindings for libabiword
Name: pyabiword
Version: 0.6.1
Release: 3%{?dist}
Source0: pyabiword-%{version}.tar.gz
URL: http://abisource.com/downloads/pyabiword/%{version}/pyabiword-%{version}.tar.gz
License: GPL+
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libabiword-devel >= %{abiword_api_version}
BuildRequires: pygtk2-devel
BuildRequires: gtk2-devel
BuildRequires: libglade2-devel
BuildRequires: libgnomeprintui22-devel
BuildRequires: goffice04-devel
BuildRequires: enchant-devel
BuildRequires: fribidi-devel
BuildRequires: wv-devel

%description
This package installs Python bindings for libabiword

%package devel
Summary: Support files necessary to compile applications using pyabiword.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Libraries, headers, and support files necessary to compile applications using pyabiword.

%prep
%setup -q

%build

%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# remove execution bits from python examples
find $RPM_BUILD_DIR/%{name}-%{version}/examples -name *.py -type f -print | xargs chmod -x
# nuke .la files
rm -f $RPM_BUILD_ROOT/%{python_sitearch}/abiword/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING $RPM_BUILD_DIR/%{name}-%{version}/examples
%dir %{python_sitearch}/abiword
%{python_sitearch}/abiword/*.py
%{python_sitearch}/abiword/*.pyc
%{python_sitearch}/abiword/*.pyo
%{python_sitearch}/abiword/*.so

%files devel
%defattr(-,root,root,-)
%{_datadir}/pygtk/2.0/defs/pyabiword.defs

%changelog
* Tue Jul 22 2008 Marc Maurer <uwog at uwog.net> - 0.6.1-3
- Include the BRs required to build in koji

* Tue Jul 22 2008 Marc Maurer <uwog at uwog.net> - 0.6.1-2
- Drop vendor tag
- Include documentation
- Include examples

* Mon Jul 21 2008 Marc Maurer <uwog at uwog.net> - 0.6.1-1
- Initial spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyabiword/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Jul 2008 15:42:03 -0000	1.1
+++ .cvsignore	23 Jul 2008 16:54:46 -0000	1.2
@@ -0,0 +1 @@
+pyabiword-0.6.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyabiword/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Jul 2008 15:42:03 -0000	1.1
+++ sources	23 Jul 2008 16:54:46 -0000	1.2
@@ -0,0 +1 @@
+d0cfa7533fc30db236993131a513ec0d  pyabiword-0.6.1.tar.gz




More information about the fedora-extras-commits mailing list