Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 52a686908182dcf6912f649d6260f5c3 > files > 4

sks-1.1.1-4.fc13.src.rpm

Summary:        Synchronizing Key Server
Name:           sks
Version:        1.1.1
Release:        4%{?dist}
License:        GPLv2+
Group:          System Environment/Daemons
URL:            http://code.google.com/p/sks-keyserver/
Source0:        http://sks-keyserver.googlecode.com/files/sks-1.1.1.tgz
Patch0:         sks-1.1.1-libdb.patch
Patch1:		sks-1.1.1-bdb.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:  ocaml ocaml-camlp4-devel db4-devel zlib-devel chrpath

%description
SKS is a OpenPGP keyserver whose goal is to provide easy to
deploy, decentralized, and highly reliable synchronization.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%__mv Makefile.local.unused Makefile.local
%__make dep
%__make CFLAGS="$RPM_OPT_FLAGS -I`ocamlc -where` -I ." all

%install
%__rm -Rf "%{buildroot}"
%__make install PREFIX="%{buildroot}%{_prefix}" MANDIR="%{buildroot}%{_mandir}"
chmod -x %{buildroot}%{_mandir}/man8/sks.8.gz
chrpath --delete %{buildroot}%{_bindir}/sks

%clean
%__rm -Rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc BUGS CHANGELOG COPYING FILES README TODO VERSION
%{_bindir}/sks
%{_bindir}/sks_build.sh
%{_bindir}/sks_add_mail
%{_mandir}/man8/sks.8.gz

%changelog
* Tue May 18 2010 Nick Bebout <nb@fedoraproject.org> - 1.1.1-4
- Make bdb patch better
* Tue Apr 20 2010 Nick Bebout <nb@fedoraproject.org> - 1.1.1-3
- Fix FTBFS
* Wed Oct 14 2009 Nick Bebout <nb@fedoraproject.org> - 1.1.1-2
- Add CFLAGS to make all
* Tue Oct 13 2009 Nick Bebout <nb@fedoraproject.org> - 1.1.1-1
- Initial Fedora package based on 1.1.1 of sks