]> git.pld-linux.org Git - packages/python-cryptsetup.git/commitdiff
new, version 0.1.4 auto/th/python-cryptsetup-0.1.4-1
authorElan Ruusamäe <glen@delfi.ee>
Thu, 16 May 2013 06:40:19 +0000 (09:40 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 16 May 2013 06:40:48 +0000 (09:40 +0300)
based on fedora package
cd79c2ee6bc8cb32118a7bdf964bff62c0b93b55

python-cryptsetup.spec [new file with mode: 0644]

diff --git a/python-cryptsetup.spec b/python-cryptsetup.spec
new file mode 100644 (file)
index 0000000..3513d16
--- /dev/null
@@ -0,0 +1,50 @@
+%define        module  cryptsetup
+Summary:       Python bindings for cryptsetup
+Name:          python-%{module}
+Version:       0.1.4
+Release:       1
+License:       GPL v2+
+Group:         Libraries/Python
+# To generate source do
+# git clone git://git.fedorahosted.org/python-cryptsetup.git
+# make archive
+Source0:       http://pkgs.fedoraproject.org/repo/pkgs/python-cryptsetup/%{name}-%{version}.tar.gz/9455d264032342e322bbcce7ce5697d9/%{name}-%{version}.tar.gz
+# Source0-md5: 9455d264032342e322bbcce7ce5697d9
+URL:           http://git.fedorahosted.org/git/?p=python-cryptsetup.git
+BuildRequires: cryptsetup-devel >= 1.2.0
+BuildRequires: python
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      cryptsetup >= 1.2.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python module to ease the manipulation with LUKS devices.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc selftest.py
+%dir %{py_sitedir}/pycryptsetup
+%{py_sitedir}/pycryptsetup/*.py[co]
+%attr(755,root,root) %{py_sitedir}/cryptsetup.so
+%{py_sitedir}/pycryptsetup-%{version}-py*.egg-info
This page took 1.506347 seconds and 4 git commands to generate.