]> git.pld-linux.org Git - packages/closure-stylesheets.git/blame - closure-stylesheets.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/closure-stylesheets.git] / closure-stylesheets.spec
CommitLineData
305e64f8
ER
1# TODO
2# - build from source: https://code.google.com/p/closure-stylesheets/wiki/BuildingFromSource
305e64f8
ER
3Summary: Closure Stylesheets
4Name: closure-stylesheets
10360e35
ER
5Version: 20111230
6Release: 1
305e64f8
ER
7License: Apache v2.0
8Group: Applications/WWW
10360e35
ER
9Source0: https://closure-stylesheets.googlecode.com/files/%{name}-%{version}.jar
10# Source0-md5: eb82b5672843df21ad6fae6eb1547fa1
305e64f8 11Source1: %{name}.sh
10360e35 12Source2: get-source.sh
305e64f8
ER
13URL: https://code.google.com/p/closure-stylesheets/
14BuildRequires: rpm-javaprov
15BuildRequires: rpmbuild(macros) >= 1.300
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Closure Stylesheets is an extension to CSS that adds variables,
21functions, conditionals, and mixins to standard CSS. The tool also
22supports minification, linting, RTL flipping, and CSS class renaming.
23
24%prep
25%setup -qcT
26
27%install
28rm -rf $RPM_BUILD_ROOT
29install -d $RPM_BUILD_ROOT{%{_bindir},%{_javadir}}
30install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}
31
32# jars
33cp -p %{SOURCE0} $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
34ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
41%attr(755,root,root) %{_bindir}/%{name}
42%{_javadir}/*.jar
This page took 0.076417 seconds and 4 git commands to generate.