]> git.pld-linux.org Git - packages/perl-CSS-Tiny.git/blame - perl-CSS-Tiny.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-CSS-Tiny.git] / perl-CSS-Tiny.spec
CommitLineData
01e89423
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir CSS
6%define pnam Tiny
01e89423
JB
7Summary: CSS::Tiny - Read/Write .css files with as little code as possible
8Summary(pl.UTF-8): CSS::Tiny - odczyt/zapis plików .css przy użyciu jak najmniejszego kodu
9Name: perl-CSS-Tiny
af0bcfd6 10Version: 1.20
01e89423
JB
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/CSS/%{pdir}-%{pnam}-%{version}.tar.gz
af0bcfd6 16# Source0-md5: 044e777384d22941bc6c104dcfa18035
01e89423
JB
17URL: http://search.cpan.org/dist/CSS-Tiny/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-Test-Simple >= 0.47
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27CSS::Tiny is a Perl class to read and write .css stylesheets with as
28little code as possible, reducing load time and memory overhead.
29CSS.pm requires about 2.6 meg of RAM to load, which is a large amount
30of overhead if you only want to do trivial things.
31
32%description -l pl.UTF-8
33CSS::Tiny to klasa Perla do odczytu i zapisu arkuszy styli .css przy
34użyciu jak najmniejszej ilości kodu, co zmniejsza czas ładowania i
35narzut pamięciowy. CSS.pm wymaga około 2.6MB RAM, co jest znacznym
36narzutem, jeśli chce się zrobić coś prostego.
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44%{__make}
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes
60%{perl_vendorlib}/CSS/Tiny.pm
61%{_mandir}/man3/CSS::Tiny.3pm*
This page took 0.098226 seconds and 4 git commands to generate.