]> git.pld-linux.org Git - packages/lessphp.git/blob - lessphp.spec
up to 0.3.9
[packages/lessphp.git] / lessphp.spec
1 Summary:        lessphp is a compiler for LESS written in PHP
2 Name:           lessphp
3 Version:        0.3.9
4 Release:        1
5 License:        MIT/GPL v3
6 Group:          Applications
7 Source0:        http://leafo.net/lessphp/src/%{name}-%{version}.tar.gz
8 # Source0-md5:  a387e3e8a1fcfc84e261d39feaa46668
9 Patch0:         fixes.patch
10 URL:            http://leafo.net/lessphp/
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 lessphp is a compiler that generates CSS from a small superset
16 language that adds many additional features seen in other languages.
17 It is based off an original Ruby implementation called LESS.
18
19 %prep
20 %setup -qc
21 mv *%{name}*/* .
22 %patch0 -p1
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_data_dir}}
27 install -p plessc $RPM_BUILD_ROOT%{_bindir}
28 cp -p lessc.inc.php $RPM_BUILD_ROOT%{php_data_dir}
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 %doc LICENSE README.md
36 %attr(755,root,root) %{_bindir}/plessc
37 %{php_data_dir}/lessc.inc.php
This page took 0.028276 seconds and 3 git commands to generate.