[python-igraph] Add the devel subpackage for the header file
Pierre-YvesChibon
pingou at fedoraproject.org
Thu Dec 12 19:36:29 UTC 2013
commit 7ec11ed5ed26c1149c0ae4ef3a80f744ff80034a
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date: Thu Dec 12 20:29:38 2013 +0100
Add the devel subpackage for the header file
python-igraph.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/python-igraph.spec b/python-igraph.spec
index 4ad09d2..cecafb9 100644
--- a/python-igraph.spec
+++ b/python-igraph.spec
@@ -23,6 +23,15 @@ source igraph library written in almost 100% pure C, it is blazing
fast and outperforms most other pure Python-based graph packages
around.
+%package devel
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+Summary: Development files for igraph
+
+%description devel
+The %{name}-devel package contains the header files and some
+documentation needed to develop application with %{name}.
+
%prep
%setup -q
@@ -40,8 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%{python2_sitearch}/python_igraph-%{version}-py*.egg-info
%{_bindir}/igraph
-#%check
-#(cd igraph; PYTHONPATH=$RPM_BUILD_ROOT%{python_archlib} %{__python} -c 'import igraph.test; igraph.test.test();' )
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*/%{name}
%changelog
* Mon Dec 09 2013 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.6.5-1
@@ -49,6 +59,7 @@ rm -rf $RPM_BUILD_ROOT
- Clean the spec a little
- Comment out the tests for the moment
- Update macro to python2
+- Add the devel subpackage for the header file
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list