2015-03-18 21:28:30 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-CSS-Sass
|
|
|
|
#
|
2017-02-13 18:40:53 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-03-18 21:28:30 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-CSS-Sass
|
2017-03-13 06:18:55 +00:00
|
|
|
Version: 3.4.4
|
2015-03-18 21:28:30 +00:00
|
|
|
Release: 0
|
|
|
|
%define cpan_name CSS-Sass
|
2017-02-28 14:20:56 +00:00
|
|
|
Summary: Compile .scss files using libsass
|
|
|
|
License: MIT
|
2015-03-18 21:28:30 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/CSS-Sass/
|
2017-02-13 18:40:53 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OC/OCBNET/%{cpan_name}-%{version}.tar.gz
|
2016-06-24 05:49:09 +00:00
|
|
|
Source1: cpanspec.yml
|
2015-03-18 21:28:30 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2017-02-28 14:20:56 +00:00
|
|
|
BuildRequires: perl(Encode::Locale) >= 0.01
|
|
|
|
BuildRequires: perl(ExtUtils::CppGuess) >= 0.09
|
|
|
|
BuildRequires: perl(File::Slurp) >= 0.01
|
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.01
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
Requires: perl(Encode::Locale) >= 0.01
|
|
|
|
Requires: perl(File::Slurp) >= 0.01
|
|
|
|
Requires: perl(List::MoreUtils) >= 0.01
|
|
|
|
Requires: perl(version)
|
2015-03-18 21:28:30 +00:00
|
|
|
%{perl_requires}
|
2016-06-24 05:49:09 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: gcc-c++
|
2016-07-08 17:04:02 +00:00
|
|
|
BuildRequires: perl(ExtUtils::CppGuess)
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
BuildRequires: perl(YAML::XS)
|
2016-06-24 05:49:09 +00:00
|
|
|
# MANUAL END
|
2015-03-18 21:28:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
CSS::Sass provides a perl interface to libsass, a fairly complete Sass
|
2016-07-08 17:04:02 +00:00
|
|
|
compiler written in C++. It is currently around ruby sass 3.3/3.4 feature
|
|
|
|
parity and heading towards full 3.4 compatibility. It can compile .scss and
|
|
|
|
.sass files.
|
2015-03-18 21:28:30 +00:00
|
|
|
|
|
|
|
%prep
|
2016-06-24 05:49:09 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2015-03-18 21:28:30 +00:00
|
|
|
|
|
|
|
%build
|
2016-06-24 05:49:09 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%{__make} %{?_smp_mflags}
|
2015-03-18 21:28:30 +00:00
|
|
|
|
|
|
|
%check
|
2016-06-24 05:49:09 +00:00
|
|
|
%{__make} test
|
2015-03-18 21:28:30 +00:00
|
|
|
|
|
|
|
%install
|
2016-06-24 05:49:09 +00:00
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-03-18 21:28:30 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2017-02-13 18:40:53 +00:00
|
|
|
%doc Changes perlobject.map README.md util
|
|
|
|
%license LICENSE
|
2015-03-18 21:28:30 +00:00
|
|
|
|
|
|
|
%changelog
|