Name: libss7 Version: 1.0.2 Release: 1%{?dist} Summary: SS7 protocol services to applications Group: System Environment/Libraries License: GPLv2 URL: http://www.asterisk.org/ Source0: http://downloads.digium.com/pub/telephony/libss7/releases/libss7-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description libss7 is a userspace library that is used for providing SS7 protocol services to applications. It has a working MTP2, MTP3, and ISUP for ITU and ANSI style SS7, however it was written in a manner that will easily allow support for other various national specific variants in the future. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup0 -q %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC" %install rm -rf $RPM_BUILD_ROOT make install INSTALL_PREFIX=$RPM_BUILD_ROOT libdir=%{_libdir} #ln -s libss7.so.1.0 $RPM_BUILD_ROOT%{_libdir}/libss7.so.1 find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc ChangeLog NEWS* README LICENSE %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc README LICENSE %{_includedir}/* %{_libdir}/*.so %changelog * Tue Jul 28 2009 Jeffrey C. Ollie - 1.0.2-1 - Update to 1.0.2 * Sat Jul 25 2009 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Oct 7 2008 Jeffrey C. Ollie - 1.0.1-3 - Don't forget to add spec file. * Tue Oct 7 2008 Jeffrey C. Ollie - 1.0.1-2 - Add LICENSE to docs * Tue Aug 5 2008 Jeffrey C. Ollie - 1.0.1-1 - Update to 1.0.1 * Tue Jul 29 2008 Jeffrey C. Ollie - 1.0.0-1 - First version for Fedora