Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
dcc
> dcc.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File dcc.spec of Package dcc (Revision 6)
Currently displaying revision
6
,
show latest
Name: dcc Summary: the Distributed Checksum Clearinghouse Version: 1.3.99 Release: 0 License: Other (semi-free) Group: Productivity/Networking/Email/Utilities Source: %{name}-%{version}.tar.Z BuildRoot: %{_tmppath}/build-root-%{name} Url: http://www.dcc-servers.net/dcc/ BuildRequires: apache2 rrdtool %description The Distributed Checksum Clearinghouse or DCC is a cooperative, distributed system intended to detect "bulk" mail or mail sent to many people. It allows individuals receiving a single mail message to determine that many other people have received essentially identical copies of the message and so reject or discard the message. Source for the server, client, and utilities is available at Rhyolite Software, LLC, http://www.rhyolite.com/dcc/ It is free for organizations that do not sell spam or virus filtering services. %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --homedir=/var/lib/dcc \ --libexecdir=%{_prefix}/lib/dcc/libexec \ --with-cgibin=/srv/www/cgi-bin/dcc \ --disable-dccm \ --with-installroot=$RPM_BUILD_ROOT \ --bindir=%{_bindir} \ --mandir=%{_mandir} \ --disable-sys-inst %__make -j 2 %install %__make DESTDIR=$RPM_BUILD_ROOT install #cd $RPM_BUILD_ROOT # #find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs #find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp #sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > $RPM_BUILD_DIR/file.list.%{name}.files #find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs #sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' $RPM_BUILD_DIR/file.list.%{name}.dirs > $RPM_BUILD_DIR/file.list.%{name} #sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.files >> $RPM_BUILD_DIR/file.list.%{name} #sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.libs >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(0755,root,root) %{_bindir}/*dcc* /var/%{name} %{_prefix}/lib/dcc/libexec /srv/www/cgi-bin/dcc