Mageia Bugzilla – Attachment 4046 Details for
Bug 10228
provide updated isdn4k-utils for Mageia3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
updated specfile - include devname patch, convert do systemd, don't package static files
isdn4k-utils.spec (text/x-rpm-spec), 18.76 KB, created by
Christian Lohmaier
on 2013-05-24 21:03:00 CEST
(
hide
)
Description:
updated specfile - include devname patch, convert do systemd, don't package static files
Filename:
MIME Type:
Creator:
Christian Lohmaier
Created:
2013-05-24 21:03:00 CEST
Size:
18.76 KB
patch
obsolete
>%define major 3 >%define libname %mklibname %{name} %{major} >%define develname %mklibname %{name} -d >%bcond_without doc >Summary: Bundled Utilities for configuring ISDN4Linux >Name: isdn4k-utils >Version: 3.25 >Release: %mkrel 2 >License: GPLv2 >Epoch: 1 >Group: Communications/Dial-Up >URL: http://www.isdn4linux.de/ ># http://git.misdn.eu/?p=projects/isdn4k-utils.git;a=snapshot;h=v3.25;sf=tgz >%define gitver v3.25-a616866 >Source0: %{name}-%{gitver}.tar.gz ># the make menuconfig template/result >Source1: %{name}-config ># wauth was removed from source without adjusting makefiles for it >Patch34: %{name}-no_wauth.patch ># define HAVE_XLOG and HAVE_TRACE >Patch35: %{name}-eicon_configure.patch ># DES_ecb_encrypt is in libcrypto, not lin libssl >Patch36: %{name}-ipppd_openssl.patch ># install pppd-plugins to correct libdir >Patch37: %{name}-lib64_path.patch ># udev is too slow in creating the links... >Patch38: %{name}-capiinit_devname.patch >Requires(post): rpm-helper >Requires(preun):rpm-helper >BuildRequires: kernel-devel >BuildRequires: ppp-devel ># for ippp_filter >BuildRequires: pcap-devel ># for ms-chap >BuildRequires: openssl-devel ># building faq - linuxdoc-tools pull in texlive (huuuuge), so you might ># consider ignoring this and not build the html-pages (rpmbuild --without doc) >%if %{with doc} >BuildRequires: linuxdoc-tools >%endif ># X11 tools - make config checks for xmkmf and otherwise disables x11 choices >BuildRequires: imake >BuildRequires: libxt-devel >BuildRequires: xaw-devel ># for vbox >BuildRequires: tcl-devel > >%description >isdn4k-utils is a collection of various ISDN related utilities. This >package contains configuration tools for all ISDN adapters, supported >by Linux. Furthermore, several status-monitors are provided as well as >some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous >PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) >capifax, a faxmachine. > >%package xtools >Summary: ISDN utilities that use X >Group: Communications/Dial-Up >Requires: %{name} >= %{epoch}:%{version} > >%description xtools >These are the graphical utilities for ISDN, xmonisdn and xisdnload. >They provide, each in their own way, a visual indication of the status >of the ISDN lines, so that it is directly obvious when there is a >connection, for example. > >%package vbox >Summary: ISDN answering machine >Group: Communications/Dial-Up >Requires: %{name} >= %{epoch}:%{version} > >%description vbox >ISDN Answering Machine > >%package eurofile >Summary: ISDN eurofile transfer tool >Group: Communications/Dial-Up >License: LGPL >Requires: %{name} >= %{epoch}:%{version} >Requires(post): rpm-helper >Requires(preun): rpm-helper > >%description eurofile >If you want to send / receive files over an ISDN line with the eurofile system, >you need this package. > >%package isdnlog >Summary: ISDN connection logger >Group: Communications/Dial-Up >Requires: %{name} >= %{epoch}:%{version} > >%description isdnlog >isdnlog logs all ISDN connections, and can calculate the cost of calls. >If sufficient data is available, it can even recommend which alternate >carrier would have been cheaper for a given call. For countries where calls >are charged per discrete unit, it can disconnect the line just before the >next unit starts. > >%package -n %{libname} >Summary: Main library for %{name} >Group: System/Libraries >Requires: %{name} >= %{epoch}:%{version} > >%description -n %{libname} >isdn4k-utils is a collection of various ISDN related utilities. This >package contains configuration tools for all ISDN adapters, supported >by Linux. Furthermore, several status-monitors are provided as well as >some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous >PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) >capifax, a faxmachine. >This package contains the library needed to run programs dynamically >linked with %{name}. > >%package -n %{develname} >Summary: Includes and other files to develop %{name} applications >Group: Development/C >Requires: %{libname} >= %{epoch}:%{version}-%{release} >Provides: lib%{name}-devel %{name}-devel >Conflicts: %{_lib}isdn4k-utils3 < 1:3.12-7.mga1 > >%description -n %{develname} >Libraries, include files and other resources you can use to develop >%{name} applications. > >%if %{with doc} >%package doc >Summary: Complete HTML documentation for isdn4k-utils >Group: Documentation > >%description doc >This is the original, complete, documentation for isdn4k-utils, in >HTML format. > >isdn4k-utils is a collection of various ISDN related utilities. This >package contains configuration tools for all ISDN adapters, supported >by Linux. Furthermore, several status-monitors are provided as well as >some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous >PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) >capifax, a faxmachine. >%endif > >%prep >%setup -q -n %{name}-%{gitver} >%patch34 >%patch35 >%patch36 >%patch37 >%patch38 ># create dummy-files the build fails without >touch eurofile/COPYING.authlib >touch capifax/acconfig.h ># even without patching configure.in counfigure would have to be regenerated: ># eicon's existing configure misses CONFIG_CARD_SBINDIR substitution >cd eicon && autoconf && cd .. ># similar for ipppp (doesn't pass CONFIG_IPPP_FILTER to makefile) >cd ipppd && autoconf && cd .. ># append kernel version to path & set libdir >sed -e "s/CONFIG_KERNELDIR='[^']*/&-$(uname -r)/" \ > -e "/CONFIG_LIBDIR=/s#/usr/lib#%{_libdir}#" %{SOURCE1} > .config >%make subconfig > >%build ># the makefiles do nasty things and are not parallel-build safe >%make -j1 > >%install >mkdir -p %{buildroot}%{_sbindir} >mkdir -p %{buildroot}%{_initddir} >mkdir -p %{buildroot}%{_unitdir} >%makeinstall_std ABCLIBDIR=%{_libdir} \ > INSTALL_MAN="%{__install} -m 0644" \ > INSTALL_DATA="%{__install} -m 0644" \ > INSTALL_PROGRAM="%{__install} -m 0750" \ > INSTALL_BIN="%{__install} -m 0755" \ > INSTALL_SBIN="%{__install} -m 0755" \ > INSTALL_DIR="%{__install} -d -m 0755" > ># fix wrong names >mv %{buildroot}%{_mandir}/man8/.isdnctrl_conf.8 %{buildroot}%{_mandir}/man8/isdnctrl_conf.8 >mv %{buildroot}%{_initrddir}/eftd.sh %{buildroot}%{_initrddir}/eftd ># manually copy manpages >cp eurofile/doc/*.5 %{buildroot}%{_mandir}/man5/ >cp capiinit/capiinit.8 %{buildroot}%{_mandir}/man8/ ># install the sample capi.conf with all entries commented-out >sed -e 's/^[^#]/#&/' capiinit/capi.conf > %{buildroot}%{_sysconfdir}/capi.conf ># install our initscript >cat > %{buildroot}%{_unitdir}/capi4linux.service << EOF >[Unit] >Description=capi4linux - load capi-related kernel modules (and firmware into cards as configured in %{_sysconfdir}/capi.conf) >Documentation=man:capiinit(8) >After=syslog.target > >[Service] >Type=oneshot >RemainAfterExit=yes >ExecStart=%{_sbindir}/capiinit start >ExecReload=%{_sbindir}/capiinit reload ># print config to log - not having configuration is not fatal >ExecReload=-%{_sbindir}/capiinit show >ExecStartPost=-%{_sbindir}/capiinit show >ExecStop=%{_sbindir}/capiinit stop > >[Install] >WantedBy=multi-user.target >EOF > ># remove symlink that should not be packaged >rm %{buildroot}/usr/lib/X11/app-defaults ># remove static libs >rm %{buildroot}%{_libdir}/capi/lib_capi*a >rm %{buildroot}%{_libdir}/lib*a > >%post >%_post_service capi4linux > >%preun >%_preun_service capi4linux > >%post eurofile >%_post_service eftd > >%preun eurofile >%_preun_service eftd > >%files >%defattr(644,root,root,755) >%doc README NEWS >%dir %{_datadir}/isdn >%{_datadir}/isdn/* >%dir %{_sysconfdir}/isdn >%dir %{_sysconfdir}/drdsl >%config(noreplace) %{_sysconfdir}/capi.conf >%config(noreplace) %{_sysconfdir}/drdsl/adsl.conf >%config(noreplace) %{_sysconfdir}/ppp/peers/isdn/arcor >%config(noreplace) %{_sysconfdir}/ppp/peers/isdn/avm >%config(noreplace) %{_sysconfdir}/ppp/peers/isdn/avm-ml >%config(noreplace) %{_sysconfdir}/ppp/peers/isdn/leased >%config(noreplace) %{_sysconfdir}/ppp/peers/isdn/otelo >%config(noreplace) %{_sysconfdir}/ppp/peers/isdn/talkline >%config(noreplace) %{_sysconfdir}/isdn/isdn.conf >%config(noreplace) %{_sysconfdir}/isdn/callerid.conf >%config(noreplace) %{_sysconfdir}/isdn/rate.conf >%{_mandir}/man4/* >%{_mandir}/man5/rate.conf* >%{_mandir}/man7/isdn_cause.7* >%{_mandir}/man8/avmcapictrl.8* >%{_mandir}/man8/capi* >%{_mandir}/man8/icnctrl.8* >%{_mandir}/man8/imon.8* >%{_mandir}/man8/imontty.8* >%{_mandir}/man8/ipppd.8* >%{_mandir}/man8/ipppstats.8* >%{_mandir}/man8/iprofd.8* >%{_mandir}/man8/isdnctrl.8* >%{_mandir}/man8/isdnctrl_conf.8* >%{_mandir}/man8/loopctrl.8* >%{_mandir}/man8/eiconctrl.8* >%{_mandir}/man8/hisaxctrl.8* >%{_mandir}/man8/diva* >%{_mandir}/man8/divertctrl.8* >%{_mandir}/man8/actctrl.8* >%defattr(755,root,root,755) >%{_unitdir}/capi4linux.service >%{_sbindir}/avmcapictrl >%{_sbindir}/capiinit >%{_sbindir}/hisaxctrl >%{_sbindir}/icnctrl >%{_sbindir}/imon >%{_sbindir}/imontty >%{_sbindir}/ipppd >%{_sbindir}/ipppstats >%{_sbindir}/iprofd >%{_sbindir}/isdnctrl >%{_sbindir}/loopctrl >%{_sbindir}/rcapid >%{_sbindir}/actctrl >%{_sbindir}/diva* >%{_sbindir}/eiconctrl >%{_sbindir}/divertctrl >%{_bindir}/capi* > >%files xtools >%defattr(644,root,root,755) >%doc xmonisdn/README >%{_mandir}/man1/x* >%{_includedir}/X11/bitmaps/net* >%config(noreplace) %{_sysconfdir}/X11/app-defaults/XISDNLoad >%defattr(755,root,root,755) >%{_bindir}/x* > >%files vbox >%defattr(644,root,root,755) >%lang(de) %doc %{_datadir}/doc/%{name}-vbox/vbox* >%doc vbox/examples vbox/README vbox/CHANGES >%{_mandir}/man*/*vbox* >%dir %{_localstatedir}/spool/vbox >%dir %{_localstatedir}/log/vbox >%config(noreplace) %{_sysconfdir}/vbox/vboxgetty.conf >%config(noreplace) %{_sysconfdir}/vbox/vboxd.conf >%defattr(755,root,root,755) ># note: vboxbeep needs to be suid root to be useful, but that ># is left to the user >%{_bindir}/*vbox* >%{_sbindir}/vbox* > >%files eurofile >%defattr(644,root,root,755) >%doc eurofile/doc/[!R]*[!5] eurofile/COPYING* eurofile/CHANGES eurofile/README* eurofile/TODO >%{_mandir}/man5/eft*.5* >%config(noreplace) %{_sysconfdir}/isdn/eft.conf >%defattr(755,root,root,755) >%config(noreplace) %{_initrddir}/eftd >%{_sbindir}/eftd >%{_bindir}/eftp > >%files isdnlog >%defattr(644,root,root,755) >%doc isdnlog/BUGS isdnlog/README.* isdnlog/CREDITS isdnlog/FAQ isdnlog/NEWS isdnlog/TODO >%config(noreplace) %{_sysconfdir}/isdn/isdnlog.* >%{_mandir}/man1/isdn* >%{_mandir}/man5/isdnlog*.5* >%{_mandir}/man5/isdn.conf.5* >%{_mandir}/man5/callerid.conf.5* >%{_mandir}/man5/isdnformat.5* >%{_mandir}/man5/rate-files.5* >%{_mandir}/man8/isdnlog.8* >%{_mandir}/man8/mkzonedb* >%defattr(755,root,root,755) >%{_sbindir}/isdnlog >%{_sbindir}/mkzonedb >%{_bindir}/isdn* >%config(noreplace) %{_sysconfdir}/isdn/stop > >%files -n %{libname} >%defattr(644,root,root,755) >%doc README NEWS >%defattr(755,root,root,755) >%dir %{_libdir}/capi >%{_libdir}/capi/lib_capi_mod_*.so.* >%{_libdir}/libcapi*.so.%{major}* >%{_libdir}/pppd/*/* > >%files -n %{develname} >%defattr(644,root,root,755) >%attr(755,root,root) %{_libdir}/libcapi*.so >%attr(755,root,root) %{_libdir}/capi/lib_capi_mod_*.so >%{_includedir}/capi*.h >%{_includedir}/isdn_dwabclib.h >%{_libdir}/pkgconfig/capi20.pc > >%if %{with doc} >%files doc >%lang(de) %doc %{_datadir}/doc/isdn4k-utils-doc/i4lfaq-de* >%doc %{_datadir}/doc/isdn4k-utils-doc/i4lfaq-[123456789]*.html >%doc %{_datadir}/doc/isdn4k-utils-doc/i4lfaq.* >%endif > >%changelog > >* Tue May 21 2013 Christian Lohmaier <lohmaier+mageia@gmail.com> >- update to v3.25 ( a616866 ) from git.misdn.eu >- wuauth was removed (unfree/not for commercial use) by upstream >- make tabula rasa > + drop build-hackery > + drop all previous patches > + install vboxbeep, but let the user decide whether to make it suid or not > + add conditional to disable building of faq (--without doc) > since linuxdoc-tools pulls in huge requirements, so make sense to make it > optional when building the RPM > + convert to systemd style initscript > + don't package static libs and *la files > >* Sat Jan 12 2013 luigiwalser <luigiwalser> 1:3.12-14.mga3 >+ Revision: 361357 >- fix for automake 1.13 > > + umeabot <umeabot> > - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild > >* Wed Oct 03 2012 malo <malo> 1:3.12-12.mga3 >+ Revision: 302500 >- kill obsolete conditional that was never run (present since mdk-8.1) >- update RPM group > >* Sun Apr 29 2012 colin <colin> 1:3.12-11.mga2 >+ Revision: 234272 >- Add LSB headers to initscripts (mga#5262) > >* Thu Sep 29 2011 fwang <fwang> 1:3.12-10.mga2 >+ Revision: 150169 >- tighten br > >* Sat Jul 02 2011 fwang <fwang> 1:3.12-9.mga2 >+ Revision: 117403 >- more str fmt fix >- disable tcl86 patch >- rebuild for new tcl > >* Mon Jan 24 2011 blino <blino> 1:3.12-8.mga1 >+ Revision: 38080 >- update conflicts >- remove old obsoletes/conflicts >- remove old ldconfig scriptlets > > + ahmad <ahmad> > - imported package isdn4k-utils > > >* Wed May 05 2010 Funda Wang <fwang@mandriva.org> 1:3.12-7mdv2010.1 >+ Revision: 542280 >- fix capidyn.c, hardcode libmajor instead of libname >- fix build with autoconf 2.6 > > + Oden Eriksson <oeriksson@mandriva.com> > - rebuilt against openssl-0.9.8m > >* Sat Mar 28 2009 Funda Wang <fwang@mandriva.org> 1:3.12-5mdv2009.1 >+ Revision: 361911 >- fix str fmt >- rebuild for tcl 8.6 >- rediff types patch >- BR tcl-devel >- rediff glibc patch >- rediff nomknod patch > >* Thu Oct 30 2008 Adam Williamson <awilliamson@mandriva.org> 1:3.12-4mdv2009.1 >+ Revision: 298810 >- fix the obsolete to really work (38mdv2009.0 is greater than 38mdv) > >* Wed Oct 29 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.12-3mdv2009.1 >+ Revision: 298264 >- rebuilt against libpcap-1.0.0 > >* Thu Oct 23 2008 Adam Williamson <awilliamson@mandriva.org> 1:3.12-2mdv2009.1 >+ Revision: 296769 >- lib package must obsolete old major, as it contains unversioned libs > >* Thu Oct 16 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.12-1mdv2009.1 >+ Revision: 294143 >- bump release > >* Sat Oct 11 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.12-0.1mdv2009.1 >+ Revision: 291874 >- 3.12 (latest, synced with fedora) >- drop obsolete patches; P2,P17,P19,P22 >- fix deps > >* Thu Jul 31 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.2p3-38mdv2009.0 >+ Revision: 258105 >- rebuild >- rebuild > >* Thu Jun 19 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.2p3-36mdv2009.0 >+ Revision: 226233 >- bump release >- added a temporary hack to find out why the bs won't play nice... >- fix devel package naming and other stuff >- rebuild > > + Thierry Vignaud <tv@mandriva.org> > - rebuild > - remove useless kernel require > > + Pixel <pixel@mandriva.com> > - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers > > + Adam Williamson <awilliamson@mandriva.org> > - add types.patch (fixes 'size_t has not been declared' errors when building against capi20h.) > >* Fri Jan 04 2008 Olivier Blin <oblin@mandriva.com> 1:3.2p3-31mdv2008.1 >+ Revision: 144850 >- bump release >- restore BuildRoot >- fix output of "service capi4linux status" >- add LSB header in initscript >- fix permission of capi4linux service so that it can be enabled again (got broken in revision 54938) > > + Thierry Vignaud <tv@mandriva.org> > - kill re-definition of %%buildroot on Pixel's request > - buildrequires X11-devel instead of XFree86-devel > >* Fri Sep 07 2007 Anssi Hannula <anssi@mandriva.org> 1:3.2p3-30mdv2008.0 >+ Revision: 82017 >- rebuild for new soname of tcl > >* Tue Jul 24 2007 Olivier Blin <oblin@mandriva.com> 1:3.2p3-29mdv2008.0 >+ Revision: 54992 >- add patch to fix target check in FAQ install rule and make CONFIG_FAQDIR empty > >* Tue Jul 24 2007 Oden Eriksson <oeriksson@mandriva.com> 1:3.2p3-28mdv2008.0 >+ Revision: 54956 >- nuke installed docs >- make it find latest tcl >- resync with the src.rpm file in cooker with changes committed by blino: > - do not mark capi4linux service as config file > - bunzip2 sources and patches > - drop unused patches > - fix build with ppp 2.4.4 > - move doc in a separate isdn4k-utils-doc package > > >* Wed Sep 27 2006 Olivier Blin <blino@mandriva.com> 3.2p3-28mdv2007.0 >- rebuild for ncurses > >* Sat Aug 05 2006 Thierry Vignaud <tvignaud@mandriva.com> 3.2p3-27mdv2007.0 >- fix buildrequires >- fix build on x86_64 > >* Sat Aug 05 2006 Olivier Blin <blino@mandriva.com> 3.2p3-26mdv2007.0 >- don't require X11 (not provided anymore, and not really needed anyway) >- adapt to new X11 layout > >* Fri Jan 20 2006 Olivier Blin <oblin@mandriva.com> 3.2p3-25mdk >- remove requires on release >- convert prereq to requires(X) > >* Fri Jan 20 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 3.2p3-24mdk >- fix buildrequires: tcl -> libtcl-devel > >* Sun Jan 01 2006 Oden Eriksson <oeriksson@mandriva.com> 3.2p3-23mdk >- rebuilt against soname aware deps > >* Sat Dec 31 2005 Mandriva Linux Team <http://www.mandrivaexpert.com/> 3.2p3-22mdk >- Rebuild > >* Fri Jul 22 2005 Olivier Blin <oblin@mandriva.com> 1:3.2p3-21mdk >- Patch22: gcc4 fixes >- force autoconf for capifax as well >- create /dev/capi20 in init script (Source2) if it doesn't exist > >* Fri Apr 08 2005 Olivier Blin <oblin@mandrakesoft.com> 3.2p3-20mdk >- Source2 (update): trigger capi device creation by calling capiinit twice > >* Wed Apr 06 2005 Olivier Blin <oblin@mandrakesoft.com> 3.2p3-19mdk >- Patch21: really build capiplugin for pppd 2.4.3 > >* Thu Jan 20 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-18mdk >- rebuild for new readline >- fix build with current ppp > >* Wed Dec 22 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-17mdk >- fix buildrequires >- prereq on rpm-helper >- mark capi4linux init file as config > >* Tue Sep 21 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 3.2p3-16mdk >- build & 64-bit fixes >- BuildPreReq: ppp (pppd) > >* Tue Sep 14 2004 Olivier Blin <blino@mandrake.org> 3.2p3-15mdk >- add capi4linux service > >* Thu Sep 09 2004 Olivier Blin <blino@mandrake.org> 3.2p3-14mdk >- own %%{_libdir}/isdn > >* Thu Jul 29 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-13mdk >- get rid of drdsl files which are provided by other package according to Steffen Barszus > >* Sat Jul 24 2004 Olivier Blin <blino@mandrake.org> 3.2p3-12mdk >- move libcapi20.so in lib package (needed by capiplugin.so) > >* Fri Jul 23 2004 Olivier Blin <blino@mandrake.org> 3.2p3-11mdk >- replace patch14 with a perl one-liner, easier to update >- put plugins in current pppd dir, define pppd_ver (2.4.2) > >* Wed Jul 14 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-10mdk >- from Steffen Barszus <st_barszus@gmx.de>: > o moved patch 2 to patch 3 for capi4k-utils update > o added patch 2 for update of capi4k-utils to make them kernel 2.6 compatible > o rediffed patch 14 > o added patch 19 - fix capifax compilation > o corrected spec to use the updated P16 actually > >* Fri Jul 02 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 3.2p3-9mdk >- fix gcc3.4 patch >- lib64 fixes unmerged from maintainer > >* Wed Jun 30 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-8mdk >- fix gcc-3.4 build (P17 from Laurent Montel) >- skip all checks for linux/capi.h (updated P16) >- force use of autoconf2.5 and automake1.4 > >* Sat Jun 05 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-7mdk >- rebuild > >* Sun Feb 29 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-6mdk >- fix automake >- fix requires >- fix buildrequires(lib64..) >- skip check for linux/capi.h (P16) >- added docs >- added init script to post{,un} for eurofile
%define major 3 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d %bcond_without doc Summary: Bundled Utilities for configuring ISDN4Linux Name: isdn4k-utils Version: 3.25 Release: %mkrel 2 License: GPLv2 Epoch: 1 Group: Communications/Dial-Up URL: http://www.isdn4linux.de/ # http://git.misdn.eu/?p=projects/isdn4k-utils.git;a=snapshot;h=v3.25;sf=tgz %define gitver v3.25-a616866 Source0: %{name}-%{gitver}.tar.gz # the make menuconfig template/result Source1: %{name}-config # wauth was removed from source without adjusting makefiles for it Patch34: %{name}-no_wauth.patch # define HAVE_XLOG and HAVE_TRACE Patch35: %{name}-eicon_configure.patch # DES_ecb_encrypt is in libcrypto, not lin libssl Patch36: %{name}-ipppd_openssl.patch # install pppd-plugins to correct libdir Patch37: %{name}-lib64_path.patch # udev is too slow in creating the links... Patch38: %{name}-capiinit_devname.patch Requires(post): rpm-helper Requires(preun):rpm-helper BuildRequires: kernel-devel BuildRequires: ppp-devel # for ippp_filter BuildRequires: pcap-devel # for ms-chap BuildRequires: openssl-devel # building faq - linuxdoc-tools pull in texlive (huuuuge), so you might # consider ignoring this and not build the html-pages (rpmbuild --without doc) %if %{with doc} BuildRequires: linuxdoc-tools %endif # X11 tools - make config checks for xmkmf and otherwise disables x11 choices BuildRequires: imake BuildRequires: libxt-devel BuildRequires: xaw-devel # for vbox BuildRequires: tcl-devel %description isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine. %package xtools Summary: ISDN utilities that use X Group: Communications/Dial-Up Requires: %{name} >= %{epoch}:%{version} %description xtools These are the graphical utilities for ISDN, xmonisdn and xisdnload. They provide, each in their own way, a visual indication of the status of the ISDN lines, so that it is directly obvious when there is a connection, for example. %package vbox Summary: ISDN answering machine Group: Communications/Dial-Up Requires: %{name} >= %{epoch}:%{version} %description vbox ISDN Answering Machine %package eurofile Summary: ISDN eurofile transfer tool Group: Communications/Dial-Up License: LGPL Requires: %{name} >= %{epoch}:%{version} Requires(post): rpm-helper Requires(preun): rpm-helper %description eurofile If you want to send / receive files over an ISDN line with the eurofile system, you need this package. %package isdnlog Summary: ISDN connection logger Group: Communications/Dial-Up Requires: %{name} >= %{epoch}:%{version} %description isdnlog isdnlog logs all ISDN connections, and can calculate the cost of calls. If sufficient data is available, it can even recommend which alternate carrier would have been cheaper for a given call. For countries where calls are charged per discrete unit, it can disconnect the line just before the next unit starts. %package -n %{libname} Summary: Main library for %{name} Group: System/Libraries Requires: %{name} >= %{epoch}:%{version} %description -n %{libname} isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine. This package contains the library needed to run programs dynamically linked with %{name}. %package -n %{develname} Summary: Includes and other files to develop %{name} applications Group: Development/C Requires: %{libname} >= %{epoch}:%{version}-%{release} Provides: lib%{name}-devel %{name}-devel Conflicts: %{_lib}isdn4k-utils3 < 1:3.12-7.mga1 %description -n %{develname} Libraries, include files and other resources you can use to develop %{name} applications. %if %{with doc} %package doc Summary: Complete HTML documentation for isdn4k-utils Group: Documentation %description doc This is the original, complete, documentation for isdn4k-utils, in HTML format. isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine. %endif %prep %setup -q -n %{name}-%{gitver} %patch34 %patch35 %patch36 %patch37 %patch38 # create dummy-files the build fails without touch eurofile/COPYING.authlib touch capifax/acconfig.h # even without patching configure.in counfigure would have to be regenerated: # eicon's existing configure misses CONFIG_CARD_SBINDIR substitution cd eicon && autoconf && cd .. # similar for ipppp (doesn't pass CONFIG_IPPP_FILTER to makefile) cd ipppd && autoconf && cd .. # append kernel version to path & set libdir sed -e "s/CONFIG_KERNELDIR='[^']*/&-$(uname -r)/" \ -e "/CONFIG_LIBDIR=/s#/usr/lib#%{_libdir}#" %{SOURCE1} > .config %make subconfig %build # the makefiles do nasty things and are not parallel-build safe %make -j1 %install mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_initddir} mkdir -p %{buildroot}%{_unitdir} %makeinstall_std ABCLIBDIR=%{_libdir} \ INSTALL_MAN="%{__install} -m 0644" \ INSTALL_DATA="%{__install} -m 0644" \ INSTALL_PROGRAM="%{__install} -m 0750" \ INSTALL_BIN="%{__install} -m 0755" \ INSTALL_SBIN="%{__install} -m 0755" \ INSTALL_DIR="%{__install} -d -m 0755" # fix wrong names mv %{buildroot}%{_mandir}/man8/.isdnctrl_conf.8 %{buildroot}%{_mandir}/man8/isdnctrl_conf.8 mv %{buildroot}%{_initrddir}/eftd.sh %{buildroot}%{_initrddir}/eftd # manually copy manpages cp eurofile/doc/*.5 %{buildroot}%{_mandir}/man5/ cp capiinit/capiinit.8 %{buildroot}%{_mandir}/man8/ # install the sample capi.conf with all entries commented-out sed -e 's/^[^#]/#&/' capiinit/capi.conf > %{buildroot}%{_sysconfdir}/capi.conf # install our initscript cat > %{buildroot}%{_unitdir}/capi4linux.service << EOF [Unit] Description=capi4linux - load capi-related kernel modules (and firmware into cards as configured in %{_sysconfdir}/capi.conf) Documentation=man:capiinit(8) After=syslog.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=%{_sbindir}/capiinit start ExecReload=%{_sbindir}/capiinit reload # print config to log - not having configuration is not fatal ExecReload=-%{_sbindir}/capiinit show ExecStartPost=-%{_sbindir}/capiinit show ExecStop=%{_sbindir}/capiinit stop [Install] WantedBy=multi-user.target EOF # remove symlink that should not be packaged rm %{buildroot}/usr/lib/X11/app-defaults # remove static libs rm %{buildroot}%{_libdir}/capi/lib_capi*a rm %{buildroot}%{_libdir}/lib*a %post %_post_service capi4linux %preun %_preun_service capi4linux %post eurofile %_post_service eftd %preun eurofile %_preun_service eftd %files %defattr(644,root,root,755) %doc README NEWS %dir %{_datadir}/isdn %{_datadir}/isdn/* %dir %{_sysconfdir}/isdn %dir %{_sysconfdir}/drdsl %config(noreplace) %{_sysconfdir}/capi.conf %config(noreplace) %{_sysconfdir}/drdsl/adsl.conf %config(noreplace) %{_sysconfdir}/ppp/peers/isdn/arcor %config(noreplace) %{_sysconfdir}/ppp/peers/isdn/avm %config(noreplace) %{_sysconfdir}/ppp/peers/isdn/avm-ml %config(noreplace) %{_sysconfdir}/ppp/peers/isdn/leased %config(noreplace) %{_sysconfdir}/ppp/peers/isdn/otelo %config(noreplace) %{_sysconfdir}/ppp/peers/isdn/talkline %config(noreplace) %{_sysconfdir}/isdn/isdn.conf %config(noreplace) %{_sysconfdir}/isdn/callerid.conf %config(noreplace) %{_sysconfdir}/isdn/rate.conf %{_mandir}/man4/* %{_mandir}/man5/rate.conf* %{_mandir}/man7/isdn_cause.7* %{_mandir}/man8/avmcapictrl.8* %{_mandir}/man8/capi* %{_mandir}/man8/icnctrl.8* %{_mandir}/man8/imon.8* %{_mandir}/man8/imontty.8* %{_mandir}/man8/ipppd.8* %{_mandir}/man8/ipppstats.8* %{_mandir}/man8/iprofd.8* %{_mandir}/man8/isdnctrl.8* %{_mandir}/man8/isdnctrl_conf.8* %{_mandir}/man8/loopctrl.8* %{_mandir}/man8/eiconctrl.8* %{_mandir}/man8/hisaxctrl.8* %{_mandir}/man8/diva* %{_mandir}/man8/divertctrl.8* %{_mandir}/man8/actctrl.8* %defattr(755,root,root,755) %{_unitdir}/capi4linux.service %{_sbindir}/avmcapictrl %{_sbindir}/capiinit %{_sbindir}/hisaxctrl %{_sbindir}/icnctrl %{_sbindir}/imon %{_sbindir}/imontty %{_sbindir}/ipppd %{_sbindir}/ipppstats %{_sbindir}/iprofd %{_sbindir}/isdnctrl %{_sbindir}/loopctrl %{_sbindir}/rcapid %{_sbindir}/actctrl %{_sbindir}/diva* %{_sbindir}/eiconctrl %{_sbindir}/divertctrl %{_bindir}/capi* %files xtools %defattr(644,root,root,755) %doc xmonisdn/README %{_mandir}/man1/x* %{_includedir}/X11/bitmaps/net* %config(noreplace) %{_sysconfdir}/X11/app-defaults/XISDNLoad %defattr(755,root,root,755) %{_bindir}/x* %files vbox %defattr(644,root,root,755) %lang(de) %doc %{_datadir}/doc/%{name}-vbox/vbox* %doc vbox/examples vbox/README vbox/CHANGES %{_mandir}/man*/*vbox* %dir %{_localstatedir}/spool/vbox %dir %{_localstatedir}/log/vbox %config(noreplace) %{_sysconfdir}/vbox/vboxgetty.conf %config(noreplace) %{_sysconfdir}/vbox/vboxd.conf %defattr(755,root,root,755) # note: vboxbeep needs to be suid root to be useful, but that # is left to the user %{_bindir}/*vbox* %{_sbindir}/vbox* %files eurofile %defattr(644,root,root,755) %doc eurofile/doc/[!R]*[!5] eurofile/COPYING* eurofile/CHANGES eurofile/README* eurofile/TODO %{_mandir}/man5/eft*.5* %config(noreplace) %{_sysconfdir}/isdn/eft.conf %defattr(755,root,root,755) %config(noreplace) %{_initrddir}/eftd %{_sbindir}/eftd %{_bindir}/eftp %files isdnlog %defattr(644,root,root,755) %doc isdnlog/BUGS isdnlog/README.* isdnlog/CREDITS isdnlog/FAQ isdnlog/NEWS isdnlog/TODO %config(noreplace) %{_sysconfdir}/isdn/isdnlog.* %{_mandir}/man1/isdn* %{_mandir}/man5/isdnlog*.5* %{_mandir}/man5/isdn.conf.5* %{_mandir}/man5/callerid.conf.5* %{_mandir}/man5/isdnformat.5* %{_mandir}/man5/rate-files.5* %{_mandir}/man8/isdnlog.8* %{_mandir}/man8/mkzonedb* %defattr(755,root,root,755) %{_sbindir}/isdnlog %{_sbindir}/mkzonedb %{_bindir}/isdn* %config(noreplace) %{_sysconfdir}/isdn/stop %files -n %{libname} %defattr(644,root,root,755) %doc README NEWS %defattr(755,root,root,755) %dir %{_libdir}/capi %{_libdir}/capi/lib_capi_mod_*.so.* %{_libdir}/libcapi*.so.%{major}* %{_libdir}/pppd/*/* %files -n %{develname} %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libcapi*.so %attr(755,root,root) %{_libdir}/capi/lib_capi_mod_*.so %{_includedir}/capi*.h %{_includedir}/isdn_dwabclib.h %{_libdir}/pkgconfig/capi20.pc %if %{with doc} %files doc %lang(de) %doc %{_datadir}/doc/isdn4k-utils-doc/i4lfaq-de* %doc %{_datadir}/doc/isdn4k-utils-doc/i4lfaq-[123456789]*.html %doc %{_datadir}/doc/isdn4k-utils-doc/i4lfaq.* %endif %changelog * Tue May 21 2013 Christian Lohmaier <lohmaier+mageia@gmail.com> - update to v3.25 ( a616866 ) from git.misdn.eu - wuauth was removed (unfree/not for commercial use) by upstream - make tabula rasa + drop build-hackery + drop all previous patches + install vboxbeep, but let the user decide whether to make it suid or not + add conditional to disable building of faq (--without doc) since linuxdoc-tools pulls in huge requirements, so make sense to make it optional when building the RPM + convert to systemd style initscript + don't package static libs and *la files * Sat Jan 12 2013 luigiwalser <luigiwalser> 1:3.12-14.mga3 + Revision: 361357 - fix for automake 1.13 + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Oct 03 2012 malo <malo> 1:3.12-12.mga3 + Revision: 302500 - kill obsolete conditional that was never run (present since mdk-8.1) - update RPM group * Sun Apr 29 2012 colin <colin> 1:3.12-11.mga2 + Revision: 234272 - Add LSB headers to initscripts (mga#5262) * Thu Sep 29 2011 fwang <fwang> 1:3.12-10.mga2 + Revision: 150169 - tighten br * Sat Jul 02 2011 fwang <fwang> 1:3.12-9.mga2 + Revision: 117403 - more str fmt fix - disable tcl86 patch - rebuild for new tcl * Mon Jan 24 2011 blino <blino> 1:3.12-8.mga1 + Revision: 38080 - update conflicts - remove old obsoletes/conflicts - remove old ldconfig scriptlets + ahmad <ahmad> - imported package isdn4k-utils * Wed May 05 2010 Funda Wang <fwang@mandriva.org> 1:3.12-7mdv2010.1 + Revision: 542280 - fix capidyn.c, hardcode libmajor instead of libname - fix build with autoconf 2.6 + Oden Eriksson <oeriksson@mandriva.com> - rebuilt against openssl-0.9.8m * Sat Mar 28 2009 Funda Wang <fwang@mandriva.org> 1:3.12-5mdv2009.1 + Revision: 361911 - fix str fmt - rebuild for tcl 8.6 - rediff types patch - BR tcl-devel - rediff glibc patch - rediff nomknod patch * Thu Oct 30 2008 Adam Williamson <awilliamson@mandriva.org> 1:3.12-4mdv2009.1 + Revision: 298810 - fix the obsolete to really work (38mdv2009.0 is greater than 38mdv) * Wed Oct 29 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.12-3mdv2009.1 + Revision: 298264 - rebuilt against libpcap-1.0.0 * Thu Oct 23 2008 Adam Williamson <awilliamson@mandriva.org> 1:3.12-2mdv2009.1 + Revision: 296769 - lib package must obsolete old major, as it contains unversioned libs * Thu Oct 16 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.12-1mdv2009.1 + Revision: 294143 - bump release * Sat Oct 11 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.12-0.1mdv2009.1 + Revision: 291874 - 3.12 (latest, synced with fedora) - drop obsolete patches; P2,P17,P19,P22 - fix deps * Thu Jul 31 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.2p3-38mdv2009.0 + Revision: 258105 - rebuild - rebuild * Thu Jun 19 2008 Oden Eriksson <oeriksson@mandriva.com> 1:3.2p3-36mdv2009.0 + Revision: 226233 - bump release - added a temporary hack to find out why the bs won't play nice... - fix devel package naming and other stuff - rebuild + Thierry Vignaud <tv@mandriva.org> - rebuild - remove useless kernel require + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers + Adam Williamson <awilliamson@mandriva.org> - add types.patch (fixes 'size_t has not been declared' errors when building against capi20h.) * Fri Jan 04 2008 Olivier Blin <oblin@mandriva.com> 1:3.2p3-31mdv2008.1 + Revision: 144850 - bump release - restore BuildRoot - fix output of "service capi4linux status" - add LSB header in initscript - fix permission of capi4linux service so that it can be enabled again (got broken in revision 54938) + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request - buildrequires X11-devel instead of XFree86-devel * Fri Sep 07 2007 Anssi Hannula <anssi@mandriva.org> 1:3.2p3-30mdv2008.0 + Revision: 82017 - rebuild for new soname of tcl * Tue Jul 24 2007 Olivier Blin <oblin@mandriva.com> 1:3.2p3-29mdv2008.0 + Revision: 54992 - add patch to fix target check in FAQ install rule and make CONFIG_FAQDIR empty * Tue Jul 24 2007 Oden Eriksson <oeriksson@mandriva.com> 1:3.2p3-28mdv2008.0 + Revision: 54956 - nuke installed docs - make it find latest tcl - resync with the src.rpm file in cooker with changes committed by blino: - do not mark capi4linux service as config file - bunzip2 sources and patches - drop unused patches - fix build with ppp 2.4.4 - move doc in a separate isdn4k-utils-doc package * Wed Sep 27 2006 Olivier Blin <blino@mandriva.com> 3.2p3-28mdv2007.0 - rebuild for ncurses * Sat Aug 05 2006 Thierry Vignaud <tvignaud@mandriva.com> 3.2p3-27mdv2007.0 - fix buildrequires - fix build on x86_64 * Sat Aug 05 2006 Olivier Blin <blino@mandriva.com> 3.2p3-26mdv2007.0 - don't require X11 (not provided anymore, and not really needed anyway) - adapt to new X11 layout * Fri Jan 20 2006 Olivier Blin <oblin@mandriva.com> 3.2p3-25mdk - remove requires on release - convert prereq to requires(X) * Fri Jan 20 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 3.2p3-24mdk - fix buildrequires: tcl -> libtcl-devel * Sun Jan 01 2006 Oden Eriksson <oeriksson@mandriva.com> 3.2p3-23mdk - rebuilt against soname aware deps * Sat Dec 31 2005 Mandriva Linux Team <http://www.mandrivaexpert.com/> 3.2p3-22mdk - Rebuild * Fri Jul 22 2005 Olivier Blin <oblin@mandriva.com> 1:3.2p3-21mdk - Patch22: gcc4 fixes - force autoconf for capifax as well - create /dev/capi20 in init script (Source2) if it doesn't exist * Fri Apr 08 2005 Olivier Blin <oblin@mandrakesoft.com> 3.2p3-20mdk - Source2 (update): trigger capi device creation by calling capiinit twice * Wed Apr 06 2005 Olivier Blin <oblin@mandrakesoft.com> 3.2p3-19mdk - Patch21: really build capiplugin for pppd 2.4.3 * Thu Jan 20 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-18mdk - rebuild for new readline - fix build with current ppp * Wed Dec 22 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-17mdk - fix buildrequires - prereq on rpm-helper - mark capi4linux init file as config * Tue Sep 21 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 3.2p3-16mdk - build & 64-bit fixes - BuildPreReq: ppp (pppd) * Tue Sep 14 2004 Olivier Blin <blino@mandrake.org> 3.2p3-15mdk - add capi4linux service * Thu Sep 09 2004 Olivier Blin <blino@mandrake.org> 3.2p3-14mdk - own %%{_libdir}/isdn * Thu Jul 29 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-13mdk - get rid of drdsl files which are provided by other package according to Steffen Barszus * Sat Jul 24 2004 Olivier Blin <blino@mandrake.org> 3.2p3-12mdk - move libcapi20.so in lib package (needed by capiplugin.so) * Fri Jul 23 2004 Olivier Blin <blino@mandrake.org> 3.2p3-11mdk - replace patch14 with a perl one-liner, easier to update - put plugins in current pppd dir, define pppd_ver (2.4.2) * Wed Jul 14 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-10mdk - from Steffen Barszus <st_barszus@gmx.de>: o moved patch 2 to patch 3 for capi4k-utils update o added patch 2 for update of capi4k-utils to make them kernel 2.6 compatible o rediffed patch 14 o added patch 19 - fix capifax compilation o corrected spec to use the updated P16 actually * Fri Jul 02 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 3.2p3-9mdk - fix gcc3.4 patch - lib64 fixes unmerged from maintainer * Wed Jun 30 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-8mdk - fix gcc-3.4 build (P17 from Laurent Montel) - skip all checks for linux/capi.h (updated P16) - force use of autoconf2.5 and automake1.4 * Sat Jun 05 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-7mdk - rebuild * Sun Feb 29 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 3.2p3-6mdk - fix automake - fix requires - fix buildrequires(lib64..) - skip check for linux/capi.h (P16) - added docs - added init script to post{,un} for eurofile
View Attachment As Raw
Actions:
View
Attachments on
bug 10228
:
4027
|
4028
|
4029
|
4030
|
4031
|
4032
|
4033
|
4045
| 4046