Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aledr:Dropped
libpri
libpri.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libpri.spec of Package libpri
# # spec file for package libpri # # Copyright (c) 2011 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/ # Name: libpri Version: 1.4.12 Release: 0 URL: http://www.asterisk.org/libpri Summary: ISDN Library License: BSD License and BSD-like, GNU General Public License (GPL) Group: System/Libraries Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libpri is a C implementation of the Primary Rate ISDN specification. It has been extended to support Basic Rate ISDN as well. %package devel Summary: ISDN Library Group: Development/Libraries/C and C++ %description devel This package contains the header files and libraries necessary for developing applications which use libpri. libpri is a C implementation of the Primary Rate ISDN specification. It has been extended to support Basic Rate ISDN as well. Install libpri-devel if you want to develop applications which depend on libpri. %prep %setup -q # Change harcoded /usr/lib path to %{_libdir} so libs are placed properly on 64 bit arches too. %{__sed} -i 's,\$(INSTALL_BASE)/lib,%{_libdir},g' Makefile # Use $(RPM_OPT_FLAGS) %{__sed} -i 's/^CFLAGS=-Wall/CFLAGS=\$(RPM_OPT_FLAGS) -Werror -Wstrict-prototypes -Wmissing-prototypes \$(ALERTING) \$(LIBPRI_COUNTERS)/g' Makefile %build export CFLAGS="%{optflags}" %{__make} %{?_smp_mflags} %install %makeinstall # Remove static libpri rm %{buildroot}%{_libdir}/libpri.a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ChangeLog LICENSE README TODO %files devel %defattr(-,root,root,-) %attr(0755,root,root) %{_libdir}/libpri.so.1.4 %attr(0755,root,root) %{_libdir}/libpri.so %attr(0644,root,root) %{_includedir}/libpri.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