Group :: System/Libraries
RPM: libsdp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_enable static
Name: libsdp
Summary: LD_PRELOAD-able library for using SDP
Version: 1.1.99
Release: alt1
License: %gpl2only
Group: System/Libraries
Url: http://www.openfabrics.org
Source: %name-%version.tar
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: flex
%description
%name can be LD_PRELOAD-ed to have a sockets application use
InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently
and without recompiling the application.
%package devel
Summary: Development files for the %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Development files of %name.
%if_enabled static
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static %name library.
%endif
%prep
%setup
%build
%configure %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc README NEWS ChangeLog COPYING
%config(noreplace) %_sysconfdir/*
%_libdir/*.so.*
%files devel
%_libdir/*.so
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here
Name: libsdp
Summary: LD_PRELOAD-able library for using SDP
Version: 1.1.99
Release: alt1
License: %gpl2only
Group: System/Libraries
Url: http://www.openfabrics.org
Source: %name-%version.tar
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: flex
%description
%name can be LD_PRELOAD-ed to have a sockets application use
InfiniBand Sockets Direct Protocol (SDP) instead of TCP, transparently
and without recompiling the application.
%package devel
Summary: Development files for the %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Development files of %name.
%if_enabled static
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static %name library.
%endif
%prep
%setup
%build
%configure %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc README NEWS ChangeLog COPYING
%config(noreplace) %_sysconfdir/*
%_libdir/*.so.*
%files devel
%_libdir/*.so
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here