[ioprocess/el6] add specfile

smizrahi smizrahi at fedoraproject.org
Sun Jun 8 11:15:12 UTC 2014


commit abec3091d071cefdf7e9f42f8f9506adda360c3f
Author: Saggi Mizrahi <ficoos at gmail.com>
Date:   Sun Jun 8 14:14:53 2014 +0300

    add specfile

 ioprocess.spec |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/ioprocess.spec b/ioprocess.spec
new file mode 100644
index 0000000..2cedb2c
--- /dev/null
+++ b/ioprocess.spec
@@ -0,0 +1,67 @@
+%global owner smizrahi
+
+#python2_sitelib is declared as python_sitelib in EL6
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%global python2_sitelib %{python_sitelib}
+%endif
+
+Name:		ioprocess
+Version:	0.4.1
+Release:	1%{?dist}
+Summary:	Slave process to perform risky IO
+
+Group:		System Environment/Base
+License:	GPLv2+
+URL:		https://github.com/ficoos/ioprocess
+Source0:	https://%{owner}.fedorapeople.org/%{name}/%{name}-%{version}.tar.gz
+
+
+BuildRequires:	python2-devel
+BuildRequires:	glib2-devel
+BuildRequires:	yajl-devel
+Requires:	yajl
+
+%description
+Slave process to perform risky IO.
+
+
+%prep
+%setup -q %{name}-%{commit}
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+
+
+%files
+%{_libexecdir}/ioprocess
+%doc README.md COPYING AUTHORS
+
+%package -n python-ioprocess
+Summary:	Python bindings for ioprocess
+BuildArch:	noarch
+Requires:	python
+Requires:	python-cpopen
+Requires:	%{name} = %{version}-%{release}
+
+%description -n python-ioprocess
+Python bindings for ioprocess
+
+%files -n python-ioprocess
+%{python2_sitelib}/ioprocess-*.egg-info
+%{python2_sitelib}/ioprocess/
+
+%changelog
+* Thu Jun 05 2014 Saggi Mizrahi <smizrahi at redhat.com> 0.4.1-1
+Fixed missing dependcy for python bindings
+* Mon Jun 02 2014 Saggi Mizrahi <smizrahi at redhat.com> 0.4-1
+Added touch command
+Changed truncate to include setting file mode and creating a file only when one
+doesn't exist
+* Sun Jan 05 2014 Saggi Mizrahi <smizrahi at redhat.com> 0.3-1
+Inital RPM release


More information about the scm-commits mailing list