This commit is contained in:
parent
0e7c09bd29
commit
6f04859a45
@ -1 +0,0 @@
|
||||
service download_url /root/bs/call-service-in-lxc.sh /usr/lib/obs/service//download_url --host api.opensuse.org --protocol https --path /public/source/home:illuusio/perl-Acme-Damn/perl-Acme-Damn.spec --outdir /obs/ss//2675/.tmp failed
|
56
perl-Acme-Damn.spec
Normal file
56
perl-Acme-Damn.spec
Normal file
@ -0,0 +1,56 @@
|
||||
Name: perl-Acme-Damn
|
||||
# List of additional build dependencies
|
||||
#BuildRequires: gcc-c++ libxml2-devel
|
||||
Version: 0.04
|
||||
Release: 1
|
||||
License: Artistic license
|
||||
Source: Acme-Damn-0.04.tar.gz
|
||||
Group: Development/Libraries/Perl
|
||||
Summary: Acme::Damn - 'Unbless' Perl objects
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Acme::Damn provides a single routine, damn(), which takes a blessed
|
||||
reference (a Perl object), and unblesses it, to return the original
|
||||
reference. I can't think of any reason why you might want to do this,
|
||||
but just because it's of no use doesn't mean that you shouldn't be
|
||||
able to do it.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Acme-Damn-%version
|
||||
|
||||
%build
|
||||
|
||||
perl Makefile.PL
|
||||
make
|
||||
|
||||
|
||||
|
||||
%install
|
||||
|
||||
make DESTDIR=%buildroot install_vendor
|
||||
%perl_process_packlist
|
||||
|
||||
|
||||
|
||||
# Write a proper %%files section and remove these two commands and
|
||||
# the '-f filelist' option to %%files
|
||||
echo '%%defattr(-,root,root)' >filelist
|
||||
find %buildroot -type f -printf '/%%P*\n' >>filelist
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files -f filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{perl_vendorarch}/Acme
|
||||
%dir %{perl_vendorarch}/auto/Acme
|
||||
%dir %{perl_vendorarch}/auto/Acme/Damn
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 19 2009 tuukka.pasanen@ilmi.fi
|
||||
- packaged perl-Acme-Damn version 0.04 using the buildservice spec file wizard
|
Loading…
Reference in New Issue
Block a user