forked from pool/python-xattr
Accepting request 72399 from home:saschpe:branches:devel:languages:python
- Spec file cleanup: * Regenerated with py2pack to fix completely broken mess * Add changes file * Fixed executable-bit rpmlint warning OBS-URL: https://build.opensuse.org/request/show/72399 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=4
This commit is contained in:
7
python-xattr.changes
Normal file
7
python-xattr.changes
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 12:50:15 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Spec file cleanup:
|
||||||
|
* Regenerated with py2pack to fix completely broken mess
|
||||||
|
* Add changes file
|
||||||
|
* Fixed executable-bit rpmlint warning
|
@@ -1,61 +1,64 @@
|
|||||||
# norootforbuild
|
#
|
||||||
|
# spec file for package python-xattr
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
Name: python-xattr
|
|
||||||
Version: 0.5
|
Name: python-xattr
|
||||||
Release: 0
|
Version: 0.6.1
|
||||||
Summary: Python Wrapper for Extended Filesytem Attributes
|
Release: 0
|
||||||
# http://svn.red-bean.com/bob/xattr/releases/xattr-%{version}/
|
Url: http://undefined.org/python/#xattr
|
||||||
Source: xattr-%{version}.tar.bz2
|
Summary: Python wrapper for extended filesystem attributes
|
||||||
Source1: http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py%{py_ver}.egg
|
License: MIT/X11
|
||||||
URL: http://www.undefined.org/python/#xattr
|
Group: Development/Languages/Python
|
||||||
Group: Development/Libraries/Python
|
Source: xattr-0.6.1.tar.gz
|
||||||
License: MIT License
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRequires: python-devel
|
||||||
BuildRequires: python python-devel glibc-devel gcc
|
BuildRequires: python-distribute
|
||||||
|
%if 0%{?suse_version}
|
||||||
%py_requires
|
%py_requires
|
||||||
|
%endif
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
xattr is a Python wrapper for Darwin, Linux, and FreeBSD extended filesystem
|
Extended attributes extend the basic attributes of files and directories
|
||||||
attributes.
|
in the file system. They are stored as name:data pairs associated with
|
||||||
|
file system objects (files, directories, symlinks, etc).
|
||||||
|
|
||||||
Extended attributes extend the basic attributes of files and directories in
|
Extended attributes are currently only available on Darwin 8.0+ (Mac OS X 10.4)
|
||||||
the file system. They are stored as name:data pairs associated with file
|
and Linux 2.6+. Experimental support is included for Solaris and FreeBSD.
|
||||||
system objects (files, directories, symlinks, etc).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Bob Ippolito <bob@redivi.com>
|
|
||||||
|
|
||||||
%debug_package
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "xattr-%{version}"
|
%setup -q -n xattr-%{version}
|
||||||
%__cp "%{SOURCE1}" .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" \
|
export CFLAGS="%{optflags}"
|
||||||
%__python ./setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python ./setup.py install \
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
--prefix="%{_prefix}" \
|
chmod 0755 %{buildroot}%{python_sitearch}/xattr/tool.py # Fix executable-bit rpmlint warning
|
||||||
--root="%{buildroot}" \
|
|
||||||
--record-rpm=files.lst
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%__rm -rf "%{buildroot}"
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files -f files.lst
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc README.txt LICENSE.txt TODO.txt
|
%doc LICENSE.txt README.txt TODO.txt
|
||||||
|
%{_bindir}/xattr
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 8 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.5
|
|
||||||
- new package
|
|
||||||
|
|
||||||
# Local Variables:
|
|
||||||
# mode: rpm-spec
|
|
||||||
# tab-width: 3
|
|
||||||
# End:
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1afdf59bb2f758b0f596f82d08f2e4064d69520460917e72070ec15deae67d74
|
|
||||||
size 15298
|
|
3
xattr-0.6.1.tar.gz
Normal file
3
xattr-0.6.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7c025768496f3162f79059456c870ab5ef7094c39bb1f138446df44981e18069
|
||||||
|
size 14585
|
Reference in New Issue
Block a user