Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37495949
en ru br
Репозитории ALT

Группа :: Разработка/C
Пакет: netembryo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/gawk pkgconfig(glib-2.0)
# END SourceDeps(oneline)
#%%define git 1
%define rev 20071031

Summary: Network abstraction library
Name: netembryo
Version: 0.1.1
Release: alt2_5%{?git:.%{rev}git}
License: LGPLv2+
Group: Development/C
%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://www.lscube.org/files/downloads/netembryo/%{name}-%{version}.tar.bz2
%endif
URL: http://www.lscube.org/projects/netembryo
BuildRequires: liblksctp-devel
%{?git:BuildRequires: libtool}
Source44: import.info

%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/C
Requires: %{name} = %{version}-%{release}

%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 --without-openssl
%{__make} %{?_smp_mflags}

%install
%{__make} DESTDIR=%{buildroot} install
%{__rm} %{buildroot}%{_libdir}/libnetembryo.la

%files
%doc AUTHORS COPYING ChangeLog README TODO
%{_libdir}/libnetembryo.so.*

%files devel
%{_includedir}/netembryo
%{_libdir}/libnetembryo.so
%{_libdir}/pkgconfig/libnetembryo*.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin