- new, needs figure why compile fails
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 16 Jul 2007 12:04:19 +0000 (12:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    csstidy.spec -> 1.1

csstidy.spec [new file with mode: 0644]

diff --git a/csstidy.spec b/csstidy.spec
new file mode 100644 (file)
index 0000000..f11ec55
--- /dev/null
@@ -0,0 +1,35 @@
+Summary:       Opensource CSS parser and optimiser
+Name:          csstidy
+Version:       1.2
+Release:       0.1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://dl.sourceforge.net/csstidy/%{name}-source-%{version}.zip
+# Source0-md5: cd2e1e50289fdaba0c56dcb293de8c40
+URL:           http://csstidy.sourceforge.net/
+BuildRequires: libstdc++-devel
+BuildRequires: sed >= 4.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Opensource CSS parser and optimiser.
+
+%prep
+%setup -qc
+sed -i -e 's,g++,%{__cc},;s,-o,%{rpmcxxflags} -o,' compile.sh
+
+%build
+sh -x ./compile.sh
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install csstidy $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/csstidy
This page took 0.030771 seconds and 4 git commands to generate.