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