michael@2: Summary: The UUCP cu command calls up another system michael@2: Vendor: Europalab Software michael@2: Name: cu michael@2: Version: 1.07 michael@2: Release: 20101201 michael@2: License: GPLv2+ michael@2: Group: Applications/Communications michael@2: URL: http://www.gnu.org/software/uucp/ michael@2: Source0: ftp://ftp.gnu.org/pub/gnu/uucp/uucp-%{version}.tar.gz michael@2: Patch0: http://archive.ubuntu.com/ubuntu/pool/main/u/uucp/uucp_1.07-20build1.diff.gz michael@2: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@2: michael@2: %description michael@2: The uucp command copies files between systems. Uucp is primarily used michael@2: by remote machines downloading and uploading email and news files to michael@2: local machines. michael@2: michael@2: %prep michael@2: %setup -q -n uucp-%{version} michael@2: %patch0 -p1 michael@2: michael@2: %build michael@2: %configure \ michael@2: --with-newconfigdir=%{_sysconfdir}/uucp \ michael@2: --with-oldconfigdir=%{_oldconfigdir}/uucp michael@2: make %{?_smp_mflags} -C unix libunix.a michael@2: make %{?_smp_mflags} -C uuconf libuuconf.a michael@2: make %{?_smp_mflags} -C lib libuucp.a michael@2: make %{?_smp_mflags} cu michael@2: michael@2: %install michael@2: rm -rf ${RPM_BUILD_ROOT} michael@2: mkdir -p ${RPM_BUILD_ROOT}%{_bindir} michael@2: mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 michael@2: mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/uucp michael@2: install -m 755 cu ${RPM_BUILD_ROOT}%{_bindir} michael@2: install -m 644 cu.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/ michael@2: install -m 644 sample/config ${RPM_BUILD_ROOT}%{_sysconfdir}/uucp/ michael@2: install -m 644 sample/sys1 ${RPM_BUILD_ROOT}%{_sysconfdir}/uucp/sys michael@2: strip $RPM_BUILD_ROOT%{_bindir}/* 2>/dev/null || true michael@2: michael@2: %clean michael@2: rm -rf ${RPM_BUILD_ROOT} michael@2: michael@2: %files michael@2: %defattr(-,root,root,-) michael@2: %config(noreplace) %{_sysconfdir}/uucp/* michael@2: %{_bindir}/* michael@2: %{_mandir}/man1/* michael@2: %{_sysconfdir}/uucp/* michael@2: michael@2: %changelog michael@2: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 1.07-20101201 michael@2: - Port the UUCP command to MeeGo 1.1