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