Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
mISDNuser
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 33
[-]
[+]
Changed
mISDNuser.spec
@@ -23,35 +23,37 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Hardware/ISDN Summary: Tools and library for mISDN -Version: 2.0.2+git28 +Version: 2.0.11+git Release: 0 #Git-Clone: git://git.misdn.org/mISDNuser #Changelog: http://misdn.org/index.php/MISDN_Release_Notes Source0: %{name}-%{version}.tar.bz2 -Patch1: misdn-fixes.diff +Source1: mISDNuser-rpmlintrc +#Patch1: misdn-fixes.diff %description This package contains libmisdn and some tools to use the mISDN driver. mISDN is the new modular ISDN driver for Linux. -%package -n libmisdn0 +%package -n libmisdn1 Summary: mISDN core library Group: System/Libraries +Obsoletes: libmisdn0 -%description -n libmisdn0 +%description -n libmisdn1 The mISDN core library. -%package -n libsuppserv0 -Summary: Library for ISDN Supplementary Services -Group: System/Libraries +##%package -n libsuppserv0 +##Summary: Library for ISDN Supplementary Services +##Group: System/Libraries -%description -n libsuppserv0 -The mISDN library for Supplemental Services support. +##%description -n libsuppserv0 +##The mISDN library for Supplemental Services support. %package devel Summary: C header files for mISDN Group: Development/Libraries/C and C++ -Requires: libmisdn0 = %version, libsuppserv0 = %version +Requires: libmisdn1 = %version %description devel This package contain the header files and libraries for @@ -59,7 +61,7 @@ %prep %setup -qn %name -%patch -P 1 -p1 +##patch -P 1 -p1 %build if [ ! -e configure ]; then @@ -73,26 +75,31 @@ make install DESTDIR="$b"; find "$b/%_libdir" -type f -name "*.la" -delete; -%post -n libmisdn0 -p /sbin/ldconfig +%post -n libmisdn1 +/sbin/ldconfig -%postun -n libmisdn0 -p /sbin/ldconfig +%postun -n libmisdn1 +/sbin/ldconfig -%post -n libsuppserv0 -p /sbin/ldconfig +##%post -n libsuppserv0 -p /sbin/ldconfig -%postun -n libsuppserv0 -p /sbin/ldconfig +##%postun -n libsuppserv0 -p /sbin/ldconfig %files %defattr(-,root,root) %_bindir/* %_sbindir/* +%dir /etc/udev +%dir /etc/udev/rules.d +%config %{_sysconfdir}/udev/rules.d/45-misdn.rules -%files -n libmisdn0 +%files -n libmisdn1 %defattr(-,root,root) -%_libdir/libmisdn.so.0* +%_libdir/libmisdn.so.1* -%files -n libsuppserv0 -%defattr(-,root,root) -%_libdir/libsuppserv.so.0* +##%files -n libsuppserv1 +##%defattr(-,root,root) +##%_libdir/libsuppserv.so.1* %files devel %defattr(-,root,root)