Author: glen Date: Tue May 16 20:56:32 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - adapted from FC5
---- Files affected: SPECS: python-pyblock.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-pyblock.spec diff -u /dev/null SPECS/python-pyblock.spec:1.1 --- /dev/null Tue May 16 22:56:32 2006 +++ SPECS/python-pyblock.spec Tue May 16 22:56:27 2006 @@ -0,0 +1,55 @@ +# $Revision$, $Date$ +%define realname pyblock +Summary: Python modules for dealing with block devices +Name: python-%{realname} +Version: 0.15 +Release: 1 +Source0: %{realname}-%{version}.tar.bz2 +# Source0-md5: a201b09eb86a748b0d41bd5671e7ae8f +Patch0: python-pyblock-ULLLLLL.patch +License: GPL +Group: Libraries +BuildRequires: device-mapper >= 1.02.05-0.3 +BuildRequires: dmraid-static +BuildRequires: gettext +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel +BuildRequires: python-devel +Requires: device-mapper >= 1.02.02 +Requires: libselinux +ExcludeArch: s390 s390x +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The pyblock contains Python modules for dealing with block devices. + +%prep +%setup -q -n %{realname}-%{version} +%patch0 -p1 + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + SITELIB=%{py_sitescriptdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%dir %{py_sitescriptdir}/block +%{py_sitescriptdir}/block/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/05/16 20:56:27 glen +- adapted from FC5 + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit