From 40595dafd2a05f5990c18c8cc85adbc5557659fe Mon Sep 17 00:00:00 2001 From: Jeffrey C. Ollie Date: Jul 02 2007 19:31:28 +0000 Subject: Initial import of python-isprelink to devel. --- diff --git a/.cvsignore b/.cvsignore index e69de29..b8607b2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +isprelink-0.1.2.tar.gz diff --git a/python-isprelink.spec b/python-isprelink.spec new file mode 100644 index 0000000..953fcea --- /dev/null +++ b/python-isprelink.spec @@ -0,0 +1,43 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Name: python-isprelink +Version: 0.1.2 +Release: 2%{?dist} +Summary: Python module to determine if a file has been prelinked + +Group: Development/Languages +License: GPL +URL: http://trac.mcs.anl.gov/projects/bcfg2 +Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/isprelink-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-devel +BuildRequires: elfutils-libelf-devel + +%description +Python module to determine if a file has been prelinked. + +%prep +%setup -q -n isprelink-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc README +%{python_sitearch}/* + +%changelog +* Fri Jun 29 2007 Jeffrey C. Ollie - 0.1.2-2 +- Upstream tarball is different from what I was using, adapt. + +* Tue Jun 26 2007 Jeffrey C. Ollie - 0.1.2-1 +- First version for Fedora diff --git a/sources b/sources index e69de29..0744291 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +05aba5c89ad941bef7ab0bc292b9cfed isprelink-0.1.2.tar.gz