Group :: System/Libraries
RPM: librelp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
Name: librelp
Version: 0.1.1
Release: alt1
Summary: The RELP (reliable event logging protocol) core protocol library
License: GPLv3
Group: System/Libraries
Url: http://www.librelp.com/
Packager: Ivan Fedorov <ns at altlinux.org>
Source: %name-%version.tar
%description
librelp is an easy to use library for the RELP protocol. RELP in turn
provides reliable event logging over the network (and consequently
RELP stands for Reliable Event Logging Protocol).
%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Headers for building software that uses %name
%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libs for building statically linked software that uses %name
%endif
%prep
%setup
%build
%autoreconf
%configure %{subst_enable static}
%make_build
%install
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/%name.so.*
%doc AUTHORS ChangeLog doc/relp.html
%files devel
%_pkgconfigdir/relp.pc
%_libdir/%name.so
%_includedir/%name.h
%if_enabled static
%files -n lib%name-devel-static
%_libdir/%name.a
%endif
%changelog
…
Full changelog you can see here
Name: librelp
Version: 0.1.1
Release: alt1
Summary: The RELP (reliable event logging protocol) core protocol library
License: GPLv3
Group: System/Libraries
Url: http://www.librelp.com/
Packager: Ivan Fedorov <ns at altlinux.org>
Source: %name-%version.tar
%description
librelp is an easy to use library for the RELP protocol. RELP in turn
provides reliable event logging over the network (and consequently
RELP stands for Reliable Event Logging Protocol).
%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Headers for building software that uses %name
%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libs for building statically linked software that uses %name
%endif
%prep
%setup
%build
%autoreconf
%configure %{subst_enable static}
%make_build
%install
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/%name.so.*
%doc AUTHORS ChangeLog doc/relp.html
%files devel
%_pkgconfigdir/relp.pc
%_libdir/%name.so
%_includedir/%name.h
%if_enabled static
%files -n lib%name-devel-static
%_libdir/%name.a
%endif
%changelog
…
Full changelog you can see here