]>
Commit | Line | Data |
---|---|---|
a59ff69b ER |
1 | Summary: Opensource CSS parser and optimiser |
2 | Name: csstidy | |
3 | Version: 1.2 | |
53eb9304 | 4 | Release: 0.2 |
a59ff69b ER |
5 | License: GPL v2 |
6 | Group: Applications/WWW | |
00244649 ER |
7 | Source0: http://dl.sourceforge.net/csstidy/%{name}-source-%{version}.zip |
8 | # Source0-md5: cd2e1e50289fdaba0c56dcb293de8c40 | |
a59ff69b ER |
9 | URL: http://csstidy.sourceforge.net/ |
10 | BuildRequires: libstdc++-devel | |
11 | BuildRequires: sed >= 4.0 | |
a59ff69b ER |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | Opensource CSS parser and optimiser. | |
16 | ||
17 | %prep | |
18 | %setup -qc | |
b32202c1 | 19 | sed -i -e 's,g++,%{__cxx},;s,-o,%{rpmcxxflags} -o,' compile.sh |
a59ff69b ER |
20 | |
21 | %build | |
22 | sh -x ./compile.sh | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{_bindir} | |
27 | install csstidy $RPM_BUILD_ROOT%{_bindir} | |
28 | ||
29 | %clean | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | %files | |
33 | %defattr(644,root,root,755) | |
34 | %attr(755,root,root) %{_bindir}/csstidy |