Name: rpc2 Version: 2.8 Release: 4%{?dist} Summary: C library for remote procedure calls over UDP Group: System Environment/Libraries License: LGPLv2 URL: http://www.coda.cs.cmu.edu/ Source0: ftp://ftp.coda.cs.cmu.edu/pub/coda/src/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lwp-devel lua-devel flex bison # patch is upstream in git Patch0: rpc2-2.8-dso.patch %description The RPC2 library. %package devel Summary: Development files for %{name} Group: Development/Libraries # headers are LGPLv2, rp2gen is GPLv2 License: LGPLv2 and GPLv2 Requires: %{name} = %{version}-%{release}, pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch -P 0 -p1 %build %configure --disable-static --with-lua # Don't use rpath! sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING NEWS %{_libdir}/*.so.* %{_datadir}/%{name} %files devel %defattr(-,root,root,-) %{_bindir}/rp2gen %{_includedir}/%{name} %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Tue Feb 16 2010 Adam Goode <adam@spicenitz.org> - 2.8-4 - Fix FTBFS (bz 565008) * Wed Sep 9 2009 Adam Goode <adam@spicenitz.org> - 2.8-3 - Remove unnecessary readline-devel build requires (INSTALL file seems wrong) * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Feb 27 2009 Adam Goode <adam@spicenitz.org> - 2.8-1 - New upstream release + Bugfixes + Some const correctness fixes + Improvements to file transfer performance * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon May 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 2.7-1 - Initial Fedora package