# # spec file for package capiinfo # %define binfiles capiinfo Name: capiinfo Version: 2011.8.29 Release: 2.33.3.27 Summary: ISDN for Linux Basic Utilities License: GPL-2.0+ and LGPL-2.1+ Source1: capiinfo.tar.xz Provides: /usr/bin/capiinfo BuildRequires: pkgconfig(capi20) %description These utilities are needed for configuring and using ISDN devices. This package includes special tools for network connections via ISDN. Other tools for setup of various ISDN cards and for monitoring ISDN connections are also included. %prep # get source from subversion repo %ifarch %ix86 pushd %__eisler_repodir for i in %{binfiles} do rm -rf $i rm -f %_sourcedir/$i.tar.xz svn up $i tar cfJ %_sourcedir/$i.tar.xz $i done popd %endif %setup -cTq -n capiinfo -a 1 %build for i in capiinfo do pushd $i rm -f lt* libto* rm -f missing aclocal libtoolize --force --automake --copy automake --add-missing --copy autoconf popd done export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" for i in %{binfiles} do pushd $i %configure \ --sbindir=/usr/sbin make popd done %install for i in %{binfiles} do pushd $i make DESTDIR=$RPM_BUILD_ROOT install INSTALL_PROGRAM='install -m 0755' \ INSTALL_DATA='install -m 0644' INSTALL_MAN='install -m 0644' \ INSTALL_DIR='install -m 0755 -d' INSTALL_SBIN='install -m 0755' \ INSTALL_BIN='install -m 0755' \ SBINDIR=/usr/sbin \ MANDIR=/usr/share/man popd done # strip files/binarys for filename in $(find $RPM_BUILD_ROOT/usr/{sbin,bin}/* -type f) do strip -R .note -R .comment "$filename" done %files %defattr(-,root,root) %{_bindir} %{_datadir} %changelog * Sun Jun 20 2021 holgerbruenjes@gmx.net - update to GLibC 2.33 - split out capiinfo * Mon Jan 11 2021 holgerbruenjes@gmx.net - update to GLibC 2.31 * Mon Jun 11 2018 holgerbruenjes@gmx.net - update to GLibC 2.22 and 64bit * Fri Jan 17 2014 holgerbruenjes@gmx.net - first Version