#%%define git 1 %define rev 20071031 Summary: Network abstraction library Name: netembryo Version: 0.0.5 Release: 2%{?git:.%{rev}git}%{?dist} License: LGPLv2+ Group: Development/Libraries %if %{?git:1}0 # http://live.polito.it/gitweb/?p=netembryo.git;a=snapshot;h=HEAD Source: %{name}-%{rev}git.tar.gz %else Source: http://live.polito.it/files/downloads/netembryo/%{name}-%{version}.tar.bz2 %endif URL: http://live.polito.it/documentation/netembryo BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lksctp-tools-devel %{?git:BuildRequires: libtool} %description Netembryo is a network abstraction library (originated from our old wrapper socket) plus some misc utility functions used as foundation for feng, libnemesi, felix. It provides an uniform access to the following protocols: * UDP * TCP * SCTP %package devel Summary: Netembryo development library and headers Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The netembryo-devel package contains the header files and some documentation needed to develop application with netembryo. %prep %setup -q %{?git:-n %{name}.git} %build %{?git:autoreconf -i} %configure --disable-dependency-tracking --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} install %{__rm} %{buildroot}%{_libdir}/libnetembryo.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README TODO %{_libdir}/libnetembryo.so.* %files devel %defattr(-,root,root,-) %doc test %{_includedir}/netembryo %{_libdir}/libnetembryo.so %{_libdir}/pkgconfig/libnetembryo.pc %changelog * Tue Feb 19 2008 Fedora Release Engineering - 0.0.5-2 - Autorebuild for GCC 4.3 * Tue Jan 01 2008 Dominik Mierzejewski 0.0.5-1 - updated to 0.0.5 (security update) * Sun Nov 11 2007 Dominik Mierzejewski 0.0.4-1 - updated to release * Thu Nov 01 2007 Dominik Mierzejewski 0.0.4-0.3.20071031git - updated to latest snaphot (requested by upstream) - really fixed changelog version * Wed Oct 24 2007 Dominik Mierzejewski 0.0.4-0.2.20071011 - fixed changelog version - capitalized -devel Summary - added test directory to -devel docs - use disttag * Thu Oct 11 2007 Dominik Mierzejewski 0.0.4-0.1.20071011 - latest git snapshot