1 Summary: Opensource CSS parser and optimiser
6 Group: Applications/WWW
7 Source0: http://dl.sourceforge.net/csstidy/%{name}-source-%{version}.zip
8 # Source0-md5: cd2e1e50289fdaba0c56dcb293de8c40
9 Patch0: http://ftp.debian.org/debian/pool/main/c/csstidy/%{name}_%{version}-1.diff.gz
10 URL: http://csstidy.sourceforge.net/
11 BuildRequires: libstdc++-devel
12 BuildRequires: sed >= 4.0
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 csstidy parses and optimises your CSS code, making it cleaner and more
17 concise. The end result is a smaller CSS file and better written code.
18 It has a variety of option settings giving the user a significant
19 amount of control over the level of file compression and readability.
20 It is not meant to be a css validator.
25 %{__patch} -p1 < debian/patches/01_Makefiles.dpatch
33 rm -rf $RPM_BUILD_ROOT
35 DESTDIR=$RPM_BUILD_ROOT
36 install -D csstidy.layout $RPM_BUILD_ROOT%{_datadir}/%{name}/csstidy.layout
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/csstidy
44 %dir %{_datadir}/%{name}
45 %{_datadir}/%{name}/csstidy.layout