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