Stephan Kulow
2011-11-17 14:18:11 +00:00
committed by Git OBS Bridge
parent 32ee0302eb
commit 8082dd3a13
4 changed files with 59 additions and 47 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41ff61e7dfb6df6211cf4eed3d486b148ed3c6f3180e502f2a9ad5684d4d65b7
size 7923

3
CSS-Squish-0.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65fc0d69acd1fa33d9a4c3b09cce0fbd737d747b1fcc4e9d87ebd91050cbcb4e
size 8646

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 17 14:14:36 UTC 2011 - coolo@suse.com
- updated to 0.10
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:31:22 UTC 2010 - coolo@novell.com Wed Dec 1 13:31:22 UTC 2010 - coolo@novell.com

View File

@@ -1,70 +1,77 @@
# #
# spec file for package perl-CSS-Squish # spec file for package perl-CSS-Squish
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-CSS-Squish Name: perl-CSS-Squish
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Version: 0.10
Summary: Compact many CSS files into one big file
Url: http://search.cpan.org/perldoc?CSS:Squish
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.08
Release: 1 Release: 1
Vendor: openSUSE-Education License: GPL+ or Artistic
Source: %{real_name}-%{version}.tar.bz2 %define cpan_name CSS-Squish
BuildRequires: perl-macros Summary: Compact many CSS files into one big file
BuildRequires: perl-Test-LongString Url: http://search.cpan.org/dist/CSS-Squish/
BuildRequires: perl-URI Group: Development/Libraries/Perl
BuildRequires: perl(Test::Pod::Coverage) Source: http://www.cpan.org/authors/id/T/TS/TSIBLEY/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl(Test::Pod) BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::LongString)
BuildRequires: perl(URI)
BuildRequires: perl(URI::file)
Requires: perl(URI)
Requires: perl(URI::file)
%{perl_requires} %{perl_requires}
%description %description
This module takes a list of CSS files and concatenates them, making sure to This module takes a list of CSS files and concatenates them, making sure to
honor any valid @import statements included in the files. honor any valid @import statements included in the files.
The benefit of this is that you get to keep your CSS as individual files, but The benefit of this is that you get to keep your CSS as individual files,
can serve it to users in one big file, saving the overhead of possibly dozens but can serve it to users in one big file, saving the overhead of possibly
of HTTP requests. dozens of HTTP requests.
Following the CSS 2.1 spec, @import statements must be the first rules in a CSS Following the CSS 2.1 spec, @import statements must be the first rules in a
file. Media-specific @import statements will be honored by enclosing the CSS file. Media-specific @import statements will be honored by enclosing
included file in an @media rule. This has the side effect of actually improving the included file in an @media rule. This has the side effect of actually
compatibility in Internet Explorer, which ignores media-specific @import rules _improving_ compatibility in Internet Explorer, which ignores
but understands @media rules. media-specific @import rules but understands @media rules.
It is possible that future versions will include methods to compact whitespace It is possible that future versions will include methods to compact
and other parts of the CSS itself, but this functionality is not supported at whitespace and other parts of the CSS itself, but this functionality is not
the current time. supported at the current time.
Authors:
--------
Thomas Sibley <trs@bestpractical.com>,
Ruslan Zakirov <ruz@bestpractical.com>
%prep %prep
%setup -n %{real_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?jobs:-j%jobs} %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-, root, root) %defattr(-,root,root,755)
%doc CHANGES README MANIFEST %doc CHANGES README
%changelog %changelog