rpms/igraph/F-7 igraph.spec,NONE,1.1

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Wed Jan 30 19:06:19 UTC 2008


Author: nbecker

Update of /cvs/pkgs/rpms/igraph/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26336

Added Files:
	igraph.spec 
Log Message:
Initial



--- NEW FILE igraph.spec ---
Name:		igraph
Version:	0.4.5
Release:	4%{?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/igraph-0.4.5.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

#BuildRequires:	gcc
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info

%description
igraph wants to be an efficient platform for 
1) complex network analysis and 
2) developing and implementing graph algorithms. 
It provides flexible and efficient data structures for graphs and related
tasks. It also provides implementation to many classic and new graph
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

%description devel
The %{name}-devel package contains the header files and some
documentation needed to develop application with %{name}.

%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
cp doc/igraph-docs.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
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
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-docs.info %{_infodir}/dir || :
fi

%post -p /sbin/ldconfig

%post devel
/sbin/install-info %{_infodir}/igraph-docs.info %{_infodir}/dir || :

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_libdir}/libigraph.so.*


%doc COPYING AUTHORS NEWS README

%files devel
%defattr(-,root,root,-)
%{_includedir}/igraph
%{_libdir}/libigraph.so
%{_libdir}/pkgconfig/igraph.pc
%{_mandir}/man3/igraph.3*
%{_infodir}/igraph-docs.info*
%doc examples

%changelog
* Wed Jan 30 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-4
- Install examples instead of examples/simple

* Tue Jan 29 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-3
- Include examples/simple in devel doc
- Fix devel description

* Tue Jan 29 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-2
- Updates per panemade at gmail.com

* Wed Jan 23 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-1
- Initial package





More information about the fedora-extras-commits mailing list