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