[packages/glue] new, version 0.9.1

glen glen at pld-linux.org
Fri Oct 17 19:51:51 CEST 2014


commit dbc77c82561ca679b5f872c1bb93fca8286b80e8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Oct 17 20:48:12 2014 +0300

    new, version 0.9.1
    
    based on fedora python-glue package
    ef2f7cda1a5e7b2805bb5021b86fd3d36eb52e77

 glue.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/glue.spec b/glue.spec
new file mode 100644
index 0000000..50a9efb
--- /dev/null
+++ b/glue.spec
@@ -0,0 +1,54 @@
+Summary:	A simple command line tool to generate CSS sprites
+Name:		glue
+Version:	0.9.1
+Release:	1
+License:	BSD
+Group:		Applications/Graphics
+Source0:	http://pypi.python.org/packages/source/g/glue/%{name}-%{version}.tar.gz
+# Source0-md5:	6f431c294f4efa20921af82f4125645b
+URL:		http://github.com/jorgebastida/glue
+BuildRequires:	python-cssutils
+BuildRequires:	python-devel
+BuildRequires:	python-mock
+BuildRequires:	python-setuptools
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-jinja2
+Requires:	python-pillow
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Glue is a simple command line tool to generate CSS sprites using any
+kind of source images like PNG, JPEG or GIF. Glue will generate a
+unique PNG file containing every source image and a CSS file including
+the necessary CSS classes to use the sprite.
+
+%prep
+%setup -q
+rm -r glue.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING docs
+%attr(755,root,root) %{_bindir}/glue
+%dir %{py_sitescriptdir}/glue
+%{py_sitescriptdir}/glue/*.py[co]
+%{py_sitescriptdir}/glue/algorithms
+%{py_sitescriptdir}/glue/formats
+%{py_sitescriptdir}/glue/managers
+%{py_sitescriptdir}/glue-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glue.git/commitdiff/dbc77c82561ca679b5f872c1bb93fca8286b80e8



More information about the pld-cvs-commit mailing list