[oct2spec] Initial import
Orion Poplawski
orion at fedoraproject.org
Thu Apr 7 22:29:31 UTC 2011
commit e60d5ef123d1629c9ad2397ba7c3112204089ca2
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Apr 7 16:29:34 2011 -0600
Initial import
.gitignore | 1 +
oct2spec.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d82ef8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oct2spec-1.0.1.tar.gz
diff --git a/oct2spec.spec b/oct2spec.spec
new file mode 100644
index 0000000..a7f3b94
--- /dev/null
+++ b/oct2spec.spec
@@ -0,0 +1,59 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name: oct2spec
+Version: 1.0.1
+Release: 2%{?dist}
+Summary: Python script to generate Octave package spec file
+
+Group: Development/Languages
+License: GPLv3+
+URL: https://fedorahosted.org/oct2spec/
+Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: python-devel
+Requires: wget fedora-packager
+
+%description
+oct2spec is a small python tool that generates spec file for Octave packages.
+It can work from a package name, URL, or a tarball.
+oct2spec provides oct2rpm which generates rpm for Octave packages using the
+oct2spec API.
+
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --root=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+#-f installed_files2
+%defattr(-,root,root,-)
+%doc README LICENSE CHANGELOG
+%{python_sitelib}/*
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%{_bindir}/%{name}
+%{_bindir}/oct2rpm
+%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/oct2rpm.1.gz
+
+%changelog
+* Thu Apr 7 2011 Orion Poplawski <orion at cora.nwra.com> 1.0.1-2
+- Fix typo
+- Use name macro in Source0
+
+* Wed Apr 6 2011 Orion Poplawski <orion at cora.nwra.com> 1.0.1-1
+- Update to 1.0.1 - add obsoletes to spec template
+
+* Wed Mar 30 2011 Orion Poplawski <orion at cora.nwra.com> 1.0.0-1
+- Initial release
diff --git a/sources b/sources
index e69de29..ada90f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f811c94083a243d8a27720e6dab7430f oct2spec-1.0.1.tar.gz
More information about the scm-commits
mailing list