%define homedir %{_sysconfdir}/dcc %define cgibin %{_localstatedir}/dcc/cgibin %define libexecdir %{_libexecdir}/dcc Summary: Distributed Checksum Clearinghouse Name: dcc Version: 1.2.50 Release: 1.n0i.1 Epoch: 0 URL: http://www.rhyolite.com/anti-spam/dcc/ Source0: http://www.rhyolite.com/anti-spam/dcc/source/dcc-dccd.tar.Z License: distributable Group: Applications/Internet BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: sendmail-devel Requires: sendmail %description The DCC or Distributed Checksum Clearinghouse is currently a system of many clients and more than 120 servers that collects and count checksums related to several million mail messages per day, most as seen by Internet Service Providers. The counts can be used by SMTP servers and mail user agents to detect and reject or filter spam or unsolicited bulk mail. DCC servers exchange or "flood" common checksums. The checksums include values that are constant across common variations in bulk messages, including "personalizations." %prep %setup -n dcc-dccd-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" ./configure \ --with-installroot=$RPM_BUILD_ROOT \ --homedir=%{homedir} \ --with-cgibin=%{cgibin} \ --libexecdir=%{libexecdir} \ --bindir=%{_bindir} \ --mandir=%{_mandir} make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT # work around chowns + chmods export DCC_MODE=755 export DCC_OWN=$(id -un) export DCC_GRP=$(id -gn) export DCC_SUID=$(id -un) %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE FAQ* CHANGES %dir %{homedir} %config(noreplace) %{homedir}/dcc_conf %config(noreplace) %{homedir}/flod %config(noreplace) %{homedir}/grey_flod %config(noreplace) %{homedir}/grey_whitelist %config(noreplace) %{homedir}/ids %config(noreplace) %{homedir}/log %config(noreplace) %{homedir}/map %config(noreplace) %{homedir}/map.txt %config(noreplace) %{homedir}/whiteclnt %config(noreplace) %{homedir}/whitecommon %config(noreplace) %{homedir}/whitelist %attr(4555,root,root) %{_bindir}/cdcc %attr(4555,root,root) %{_bindir}/dccproc %{libexecdir} %{cgibin} %{_mandir}/man8/* %changelog * Mon Jun 28 2004 Marius FERARU 0:1.2.50-1.n0i.1 - dcc 1.2.50 - Fedora style spec cleanups - using original name (dcc) instead atrpms' one (DCC) - twisted %%install stage in order to be able to build package as any user * Mon May 31 2004 Axel Thimm - Update to 1.2.49. * Mon May 3 2004 Axel Thimm - Updated to 1.2.47. * Sat Apr 3 2004 Axel Thimm - Update to 1.2.39. * Fri May 2 2003 Axel Thimm - Initial build.