source: spec/trunk/SPECS/perl.spec@ 202

Last change on this file since 202 was 202, checked in by Yuri Dario, 14 years ago

spec: preserve timestamp when using cp. ticket:23.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1
2%define perl_version 5.10.0
3%define perl_epoch 0
4
5Name: perl
6Version: %{perl_version}
7Release: 3%{?dist}
8Epoch: %{perl_epoch}
9Summary: The Perl programming language
10Group: Development/Languages
11# Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic,"
12# we have to reflect that in the sub-package containing them.
13# FIXME: Digest::MD5 has a must-advertise-RSA license with an exception,
14# the tag does not reflect that (yet).
15License: (GPL+ or Artistic) and (GPLv2+ or Artistic)
16Url: http://www.perl.org/
17Source0: perl.zip
18
19BuildRoot: %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n)
20#BuildRequires: tcsh, dos2unix, man, groff
21#BuildRequires: gdbm-devel, db4-devel
22
23%description
24Perl is a high-level programming language with roots in C, sed, awk
25and shell scripting. Perl is good at handling processes and files,
26and is especially good at handling text. Perl's hallmarks are
27practicality and efficiency. While it is used to do a lot of
28different things, Perl's most common applications are system
29administration utilities and web programming. A large proportion of
30the CGI scripts on the web are written in Perl. You need the perl
31package installed on your system so that your system can handle Perl
32scripts.
33
34Install this package if you want to program in Perl or enable your
35system to handle Perl scripts.
36
37%prep
38%setup -q -n %{name}-%{perl_version}
39
40%build
41
42%install
43rm -rf %{buildroot}
44mkdir -p %{buildroot}%{_bindir}
45
46cp -p usr/bin/perl %{buildroot}%{_bindir}
47
48%clean
49rm -rf %{buildroot}
50
51%files
52%defattr(-,root,root)
53%{_bindir}/perl
Note: See TracBrowser for help on using the repository browser.