Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aledr:Dropped
libss7
libss7.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libss7.spec of Package libss7
# # spec file for package libss7 (Version 1.0.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libss7 Summary: SS7 library Version: 1.0.2 Release: 0 License: GPL v2 Group: Productivity/Telephony/Servers Url: http://www.asterisk.org Source: %{name}-%{version}.tar.bz2 Source1: baselibs.conf Patch0: %{name}-1.0.2-SONAME.patch Patch1: %{name}-1.0.2-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: /sbin/ldconfig BuildRequires: perl BuildRequires: dahdi-linux-devel dahdi-tools-devel BuildRequires: dahdi-linux-kmp-default %define debug_package_requires libss7-1 = %{version}-%{release} %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. For a working reference implementation, see the various link test programs, as well as the Asterisk Open Source PBX. %package -n libss7-1 Summary: SS7 library Group: System/Libraries %description -n libss7-1 This package contains shared libraries necessary for applications that were build with SS7 support. %package devel Summary: SS7 library Group: Development/Libraries/C and C++ Requires: libss7-1 = %{version} %description devel This package contains the header files and libraries necessary for developing applications which use libss7. Install libss7-devel if you want to develop applications which depend on libss7. %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 # change harcoded /usr/lib path to %{_libdir} so libs are placed properly # on 64 bit arches too perl -pi -e's,\$\(INSTALL_BASE\)/lib,%{_libdir},g' Makefile # use $(RPM_OPT_FLAGS) perl -pi -e 's,CFLAGS=.*,CFLAGS=\$(RPM_OPT_FLAGS) -fPIC,' Makefile %build %{__make} %install %{makeinstall} %post -n libss7-1 -p /sbin/ldconfig %postun -n libss7-1 -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files -n libss7-1 %defattr (-,root,root) %doc ChangeLog NEWS* README %{_libdir}/libss7.so.* %files devel %defattr (-,root,root) %{_libdir}/libss7.so %{_libdir}/libss7.a %{_includedir}/libss7.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor