Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
libpri
> libpri.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libpri.spec of Package libpri (Revision 19)
Currently displaying revision
19
,
show latest
# # spec file for package libpri (Version 1.4.10.2) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define pkgname libpri %define soname %{pkgname}1_4 Name: %{soname} %ifnarch s390 s390x BuildRequires: zaptel %endif Summary: ISDN Library Version: 1.4.10.2 Release: 1 License: BSD License and BSD-like, GNU General Public License (GPL) - all versions Group: System/Libraries URL: http://www.asterisk.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Prereq: /sbin/ldconfig Source0: %{pkgname}-%{version}.tar.bz2 %description libpri is a C implementation of the Primary Rate ISDN specification. It has been extended to support Basic Rate ISDN as well. %package -n %{pkgname}-devel Requires: %{soname} Summary: ISDN Library devel files Group: System/Libraries Provides: %{pkgname} Obsoletes: %{pkgname} %description -n %{pkgname}-devel libpri is a C implementation of the Primary Rate ISDN specification. It has been extended to support Basic Rate ISDN as well. This package contains development files Authors: -------- Mark Spencer <markster@digium.com> Klaus-Peter Junghanns <kpj@junghanns.net> %prep %setup -q -n %{pkgname}-%{version} %suse_update_libdir Makefile %build make CFLAGS="%optflags -fPIC" %install make install INSTALL_PREFIX=%buildroot LIB=%_lib strip %{buildroot}%{_libdir}/%{pkgname}.so.1.4 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README TODO %{_libdir}/%{pkgname}.so.1.4 %files -n %{pkgname}-devel %defattr(-,root,root) %{_libdir}/%{pkgname}.a %{_libdir}/%{pkgname}.so %{_includedir}/libpri.h %post /sbin/ldconfig %postun /sbin/ldconfig %changelog -n libpri * Tue Nov 03 2009 Carsten Schoene <cs@linux-administrator.com> - 1.4.10.2 - update to release 1.4.10.2 * Thu Apr 30 2009 Carsten Schoene <cs@linux-administrator.com> - 1.4.10-1 - update to release 1.4.10 * Fri Jan 10 2009 Carsten Schoene <cs@linux-administrator.com> - update release to 1.4.9 * Mon Jul 21 2008 Carsten Schoene <cs@linux-administrator.com> - update release to 1.4.5 * Wed May 13 2008 Carsten Schoene <cs@linux-administrator.com> - update release to 1.4.4 * Sun Feb 03 2008 Carsten Schoene <cs@linux-administrator.com> - update release to 1.4.3 * Thu Aug 30 2007 - Peter Nixon - Update to 1.4.1 - use suse macro to fixup libdir