[csslint/f15] Initial upload

Guillaume Kulakowski llaumgui at fedoraproject.org
Sun Jan 8 10:33:12 UTC 2012


commit a566f2d8cb466cee6fcf253e453a842ab14184c8
Author: Guillaume Kulakowski <guillaume at llaumgui.com>
Date:   Sun Jan 8 11:33:08 2012 +0100

    Initial upload

 .gitignore   |    2 +
 csslint.spec |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    2 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b79ab09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/csslint.sh
+/stubbornella-csslint-v0.9.2-0-gf742a8c.tar.gz
diff --git a/csslint.spec b/csslint.spec
new file mode 100644
index 0000000..53a1145
--- /dev/null
+++ b/csslint.spec
@@ -0,0 +1,66 @@
+%global github stubbornella-csslint
+%global gitcommit f742a8c
+%global gitsub 0
+
+Name:           csslint
+Version:        0.9.2
+Release:        1%{?dist}
+Summary:        Detecting potential problems in CSS code
+
+Group:          Development/Libraries
+License:        MIT
+URL:            https://github.com/stubbornella/csslint
+Source0:        https://github.com/stubbornella/csslint/tarball/v%{version}/%{github}-v%{version}-%{gitsub}-g%{gitcommit}.tar.gz
+Source1:        %{name}.sh
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+Requires:       rhino
+
+
+%description
+CSSLint is a tool to help point out problems with your CSS code. It does basic
+syntax checking as well as applying a set of rules to the code that look for
+problematic patterns or signs of inefficiency. The rules are all pluggable, so
+you can easily write your own or omit ones you don't want.
+
+
+%prep
+%setup -q -n %{github}-%{gitcommit}
+# Executable
+cp -p %{SOURCE1} .
+sed -i -e 's|@JS_JAR@|%{_datadir}/java/js.jar|g' %{name}.sh
+sed -i -e 's|@CSSLINT_RHINO@|%{_datadir}/%{name}/%{name}-rhino.js|g' %{name}.sh
+
+
+%build
+# Empty build section, most likely nothing required.
+
+
+%install
+install -d %{buildroot}%{_datadir}/%{name}
+cp -a release/csslint-rhino.js %{buildroot}%{_datadir}/%{name}/
+install -d %{buildroot}%{_bindir}
+cp -a %{name}.sh %{buildroot}%{_bindir}/%{name}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGELOG README.md
+%{_datadir}/%{name}
+%{_bindir}/%{name}
+
+
+%changelog
+* Sun Jan 08 2012 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.9.2-1
+- Upstream 0.9.2
+
+* Fri Dec 23 2011 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.8.5-1
+- Upstream 0.8.5
+
+* Fri Nov 18 2011 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.8.1-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..58ceaa9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+0e356cc1ceace9377212b5b1fb7daeaa  csslint.sh
+6acb781da8d3f4e30bb774361907b06d  stubbornella-csslint-v0.9.2-0-gf742a8c.tar.gz


More information about the scm-commits mailing list