[igraph] Update igraph to 0.6.5
Pierre-YvesChibon
pingou at fedoraproject.org
Mon Dec 9 17:14:26 UTC 2013
commit 7db2e7948cd8f9c15958dc16e51148c10904dcf2
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date: Mon Dec 9 18:14:08 2013 +0100
Update igraph to 0.6.5
.gitignore | 1 +
igraph.spec | 65 ++++++++++++++++++++++++++++------------------------------
sources | 2 +-
3 files changed, 33 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 843c83d..79ba97d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
igraph-0.5.2.tar.gz
/igraph-0.5.4.tar.gz
+/igraph-0.6.5.tar.gz
diff --git a/igraph.spec b/igraph.spec
index 0186623..6c27506 100644
--- a/igraph.spec
+++ b/igraph.spec
@@ -1,22 +1,16 @@
Name: igraph
-Version: 0.5.4
-Release: 8%{?dist}.2
+Version: 0.6.5
+Release: 1%{?dist}
Summary: Library for creating and manipulating graphs
-Group: System Environment/Libraries
License: GPLv2+
-URL: http://cneurocvs.rmki.kfki.hu/igraph
-Source0: http://igraph.googlecode.com/files/%{name}-%{version}.tar.gz
-#Patch1: igraph-cstdlib.patch
-#Patch2: igraph-test.patch
-# Needed for gcc-4.4
-#Patch3: igraph-cstdio.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: libxml2-devel, gmp-devel
+URL: http://igraph.sourceforge.net/
+Source0: http://downloads.sourceforge.net/projects/%{name}/files/C library/{%version}/%{name}-%{version}.tar.gz
+
+BuildRequires: libxml2-devel
+BuildRequires: gmp-devel
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
-Provides: %{name}-%{version}
%description
igraph wants to be an efficient platform for
@@ -28,10 +22,9 @@ algorithms like: maximum flows, graph isomorphism, scale-free
networks, community structure finding, etc.
%package devel
-Requires: %{name} = %{version}-%{release}, pkgconfig
-Group: Development/Libraries
-Summary: Development files for igraph
-#Provides: %{name}-devel-%{version}
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+Summary: Development files for igraph
%description devel
The %{name}-devel package contains the header files and some
@@ -39,9 +32,10 @@ documentation needed to develop application with %{name}.
%prep
%setup -q
-#%patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
+#for file in examples/simple/*
+#do
+#sed -i 's/\r$//' $file
+#done
%build
%configure
@@ -51,8 +45,6 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{_infodir}
-cp doc/igraph.info $RPM_BUILD_ROOT/%{_infodir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
cp doc/igraph.3 $RPM_BUILD_ROOT/%{_mandir}/man3
rm $RPM_BUILD_ROOT/%{_libdir}/*.a
@@ -62,39 +54,44 @@ find . -name '.arch-ids' | xargs rm -rf
%clean
rm -rf $RPM_BUILD_ROOT
-%preun devel
-if [ $1 = 0 ]; then
- /sbin/install-info --delete %{_infodir}/igraph.info %{_infodir}/dir || :
-fi
+%check
+make check
+
%post -p /sbin/ldconfig
%post devel
/sbin/install-info %{_infodir}/igraph.info %{_infodir}/dir || :
+
+%preun devel
+if [ $1 = 0 ]; then
+ /sbin/install-info --delete %{_infodir}/igraph.info %{_infodir}/dir || :
+fi
+
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
-%{_libdir}/libigraph.so.*
-
-
%doc COPYING AUTHORS NEWS README
+%{_libdir}/libigraph.so.*
%files devel
%defattr(-,root,root,-)
+%doc examples
%{_includedir}/igraph
%{_libdir}/libigraph.so
%{_libdir}/pkgconfig/igraph.pc
%{_mandir}/man3/igraph.3*
-%{_infodir}/igraph.info*
-%doc examples
-
-%check
-make check
%changelog
+* Mon Dec 09 2013 Pierre-Yves Chibon <pingou at pingoured.fr> - 0.6.5-1
+- Update to 0.6.5
+- Update Source0 and URL
+- Remove no longer-used patches
+- Little spec clean up
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.4-8.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 4d94523..8764f60 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-47963ece64fe5f793e154e238bc6c3c3 igraph-0.5.4.tar.gz
+5f9562263ba78b31c564d6897ff5a110 igraph-0.6.5.tar.gz
More information about the scm-commits
mailing list