Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4e0f6c077f
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (39 sloc) 1.088 kb
name: DDLockd
summary: DDLockd - ddlockd server.
version: 0.00
release: r42
vendor: Brad Fitzpatrick <brad@danga.com>
packager: Jonathan Steinert <rpm@hachi.kuiki.net>
license: Artistic
group: Applications/CPAN
buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
buildarch: noarch
source: DDLockd-%{version}.tar.gz
requires: perl-Danga-Socket
%description
ddlockd client library.
%prep
rm -rf "%{buildroot}"
%setup -n DDLockd-%{version}
%build
%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix}
make all
make test
%install
make pure_install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
# remove special files
find %{buildroot} \( \
-name "perllocal.pod" \
-o -name ".packlist" \
-o -name "*.bs" \
\) -exec rm -f {} \;
# no empty directories
find %{buildroot}%{_prefix} \
-type d -depth -empty \
-exec rmdir {} \;
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_prefix}/bin/*
Jump to Line
Something went wrong with that request. Please try again.