Subject: | spec file |
here is a spec file. its all yours to include and distribute as you will.
Subject: | djabberd-entitytime.spec |
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
Summary: Implements XEP-0090 and XEP-0202
Name: DJabberd-EntityTime
Version: 0.03
Release: 1
Group: System Environment/Daemons
License: Perl
URL: http://search.cpan.org/dist/DJabberd-EntityTime/
Source: http://search.cpan.org/CPAN/authors/id/U/UR/URKLE/%{name}-%{version}.tar.gz
BuildRoot: /var/tmp/djabberd-entitytime-root
BuildArch: noarch
%description
DJabberd-EntityTime Implements XEP-0090 and XEP-0202
%prep
%setup
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib}
cp -rp lib/DJabberd $RPM_BUILD_ROOT/%{perl_vendorlib}
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%post
%files
%defattr(-,root,root)
%{perl_vendorlib}/*
%doc Changes
%doc README
%changelog
* Fri Jan 22 2010 Dean Hamstead <dean.hamstead@optusnet.com.au> 0.03-1
- First attempt