Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
libpri
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 17
[-]
[+]
Changed
libpri.spec
@@ -9,8 +9,10 @@ # # norootforbuild +%define pkgname libpri +%define soname %{pkgname}1_4 -Name: libpri +Name: %{soname} %ifnarch s390 s390x BuildRequires: zaptel %endif @@ -22,13 +24,23 @@ URL: http://www.asterisk.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Prereq: /sbin/ldconfig -Source0: %{name}-%{version}.tar.bz2 +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: -------- @@ -36,7 +48,7 @@ Klaus-Peter Junghanns <kpj@junghanns.net> %prep -%setup -q +%setup -q -n %{pkgname}-%{version} %suse_update_libdir Makefile @@ -45,6 +57,7 @@ %install make install INSTALL_PREFIX=%buildroot LIB=%_lib +strip %{buildroot}%{_libdir}/%{pkgname}.so.1.4 %clean rm -rf $RPM_BUILD_ROOT @@ -52,8 +65,13 @@ %files %defattr(-,root,root,-) %doc ChangeLog README TODO -%_libdir/lib* -%_includedir/* +%{_libdir}/%{pkgname}.so.1.4 + +%files -n %{pkgname}-devel +%defattr(-,root,root) +%{_libdir}/%{pkgname}.a +%{_libdir}/%{pkgname}.so +%{_includedir}/libpri.h %post /sbin/ldconfig