forked from pool/perl-Graphics-ColorUtils
- initial version 0.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-ColorUtils?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
a89e4988f7
commit
37823a168c
@@ -1,59 +0,0 @@
|
|||||||
# $Id: perl-Graphics-ColorUtils.spec 5683 2007-08-04 01:32:57Z dag $
|
|
||||||
# Authority: dries
|
|
||||||
# Upstream: Philipp K. Janert <pause$beyondcode,org>
|
|
||||||
|
|
||||||
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
|
||||||
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|
|
||||||
|
|
||||||
%define real_name Graphics-ColorUtils
|
|
||||||
|
|
||||||
Summary: Easy-to-use color space conversions
|
|
||||||
Name: perl-Graphics-ColorUtils
|
|
||||||
Version: 0.17
|
|
||||||
%define releasesuffix mandriva2006
|
|
||||||
Release: 1
|
|
||||||
License: Artistic/GPL
|
|
||||||
Group: Applications/CPAN
|
|
||||||
URL: http://search.cpan.org/dist/Graphics-ColorUtils/
|
|
||||||
|
|
||||||
Packager: Dries Verachtert <dries@ulyssis.org>
|
|
||||||
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
|
|
||||||
Source: http://www.cpan.org/modules/by-module/Graphics/Graphics-ColorUtils-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl, perl(ExtUtils::MakeMaker)
|
|
||||||
|
|
||||||
%description
|
|
||||||
Easy-to-use color space conversions and more.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n %{real_name}-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
%{__make} install
|
|
||||||
|
|
||||||
### Clean up buildroot
|
|
||||||
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%doc Changes MANIFEST META.yml README
|
|
||||||
%doc %{_mandir}/man3/Graphics::ColorUtils.3pm*
|
|
||||||
%dir %{perl_vendorlib}/Graphics/
|
|
||||||
%{perl_vendorlib}/Graphics/ColorUtils.pm
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Jul 5 2007 Quien Sabe (aka Jim) <quien-sabe@metaorg.com> - 0.17-1
|
|
||||||
- Updated to latest upstream version { old source not available }
|
|
||||||
|
|
||||||
* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.03-1
|
|
||||||
- Initial package.
|
|
@@ -1,59 +0,0 @@
|
|||||||
# $Id: perl-Graphics-ColorUtils.spec 5683 2007-08-04 01:32:57Z dag $
|
|
||||||
# Authority: dries
|
|
||||||
# Upstream: Philipp K. Janert <pause$beyondcode,org>
|
|
||||||
|
|
||||||
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
|
||||||
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|
|
||||||
|
|
||||||
%define real_name Graphics-ColorUtils
|
|
||||||
|
|
||||||
Summary: Easy-to-use color space conversions
|
|
||||||
Name: perl-Graphics-ColorUtils
|
|
||||||
Version: 0.17
|
|
||||||
%define releasesuffix sles9
|
|
||||||
Release: 1
|
|
||||||
License: Artistic/GPL
|
|
||||||
Group: Applications/CPAN
|
|
||||||
URL: http://search.cpan.org/dist/Graphics-ColorUtils/
|
|
||||||
|
|
||||||
Packager: Dries Verachtert <dries@ulyssis.org>
|
|
||||||
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
|
|
||||||
Source: http://www.cpan.org/modules/by-module/Graphics/Graphics-ColorUtils-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl, perl(ExtUtils::MakeMaker)
|
|
||||||
|
|
||||||
%description
|
|
||||||
Easy-to-use color space conversions and more.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n %{real_name}-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
%{__make} install
|
|
||||||
|
|
||||||
### Clean up buildroot
|
|
||||||
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%doc Changes MANIFEST META.yml README
|
|
||||||
%doc %{_mandir}/man3/Graphics::ColorUtils.3pm*
|
|
||||||
%dir %{perl_vendorlib}/Graphics/
|
|
||||||
%{perl_vendorlib}/Graphics/ColorUtils.pm
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Jul 5 2007 Quien Sabe (aka Jim) <quien-sabe@metaorg.com> - 0.17-1
|
|
||||||
- Updated to latest upstream version { old source not available }
|
|
||||||
|
|
||||||
* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.03-1
|
|
||||||
- Initial package.
|
|
@@ -1,59 +0,0 @@
|
|||||||
# $Id: perl-Graphics-ColorUtils.spec 5683 2007-08-04 01:32:57Z dag $
|
|
||||||
# Authority: dries
|
|
||||||
# Upstream: Philipp K. Janert <pause$beyondcode,org>
|
|
||||||
|
|
||||||
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
|
||||||
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|
|
||||||
|
|
||||||
%define real_name Graphics-ColorUtils
|
|
||||||
|
|
||||||
Summary: Easy-to-use color space conversions
|
|
||||||
Name: perl-Graphics-ColorUtils
|
|
||||||
Version: 0.17
|
|
||||||
%define releasesuffix sle10
|
|
||||||
Release: 1
|
|
||||||
License: Artistic/GPL
|
|
||||||
Group: Applications/CPAN
|
|
||||||
URL: http://search.cpan.org/dist/Graphics-ColorUtils/
|
|
||||||
|
|
||||||
Packager: Dries Verachtert <dries@ulyssis.org>
|
|
||||||
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
|
|
||||||
Source: http://www.cpan.org/modules/by-module/Graphics/Graphics-ColorUtils-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl, perl(ExtUtils::MakeMaker)
|
|
||||||
|
|
||||||
%description
|
|
||||||
Easy-to-use color space conversions and more.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n %{real_name}-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
%{__make} install
|
|
||||||
|
|
||||||
### Clean up buildroot
|
|
||||||
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%doc Changes MANIFEST META.yml README
|
|
||||||
%doc %{_mandir}/man3/Graphics::ColorUtils.3pm*
|
|
||||||
%dir %{perl_vendorlib}/Graphics/
|
|
||||||
%{perl_vendorlib}/Graphics/ColorUtils.pm
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Jul 5 2007 Quien Sabe (aka Jim) <quien-sabe@metaorg.com> - 0.17-1
|
|
||||||
- Updated to latest upstream version { old source not available }
|
|
||||||
|
|
||||||
* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.03-1
|
|
||||||
- Initial package.
|
|
@@ -1,59 +0,0 @@
|
|||||||
# $Id: perl-Graphics-ColorUtils.spec 5683 2007-08-04 01:32:57Z dag $
|
|
||||||
# Authority: dries
|
|
||||||
# Upstream: Philipp K. Janert <pause$beyondcode,org>
|
|
||||||
|
|
||||||
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
|
||||||
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|
|
||||||
|
|
||||||
%define real_name Graphics-ColorUtils
|
|
||||||
|
|
||||||
Summary: Easy-to-use color space conversions
|
|
||||||
Name: perl-Graphics-ColorUtils
|
|
||||||
Version: 0.17
|
|
||||||
%define releasesuffix opensuse10.2
|
|
||||||
Release: 1
|
|
||||||
License: Artistic/GPL
|
|
||||||
Group: Applications/CPAN
|
|
||||||
URL: http://search.cpan.org/dist/Graphics-ColorUtils/
|
|
||||||
|
|
||||||
Packager: Dries Verachtert <dries@ulyssis.org>
|
|
||||||
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
|
|
||||||
Source: http://www.cpan.org/modules/by-module/Graphics/Graphics-ColorUtils-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl, perl(ExtUtils::MakeMaker)
|
|
||||||
|
|
||||||
%description
|
|
||||||
Easy-to-use color space conversions and more.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n %{real_name}-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
%{__make} install
|
|
||||||
|
|
||||||
### Clean up buildroot
|
|
||||||
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%doc Changes MANIFEST META.yml README
|
|
||||||
%doc %{_mandir}/man3/Graphics::ColorUtils.3pm*
|
|
||||||
%dir %{perl_vendorlib}/Graphics/
|
|
||||||
%{perl_vendorlib}/Graphics/ColorUtils.pm
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Jul 5 2007 Quien Sabe (aka Jim) <quien-sabe@metaorg.com> - 0.17-1
|
|
||||||
- Updated to latest upstream version { old source not available }
|
|
||||||
|
|
||||||
* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.03-1
|
|
||||||
- Initial package.
|
|
@@ -1,59 +0,0 @@
|
|||||||
# $Id: perl-Graphics-ColorUtils.spec 5683 2007-08-04 01:32:57Z dag $
|
|
||||||
# Authority: dries
|
|
||||||
# Upstream: Philipp K. Janert <pause$beyondcode,org>
|
|
||||||
|
|
||||||
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
|
||||||
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|
|
||||||
|
|
||||||
%define real_name Graphics-ColorUtils
|
|
||||||
|
|
||||||
Summary: Easy-to-use color space conversions
|
|
||||||
Name: perl-Graphics-ColorUtils
|
|
||||||
Version: 0.17
|
|
||||||
%define releasesuffix opensusefactory
|
|
||||||
Release: 1
|
|
||||||
License: Artistic/GPL
|
|
||||||
Group: Applications/CPAN
|
|
||||||
URL: http://search.cpan.org/dist/Graphics-ColorUtils/
|
|
||||||
|
|
||||||
Packager: Dries Verachtert <dries@ulyssis.org>
|
|
||||||
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
|
|
||||||
Source: http://www.cpan.org/modules/by-module/Graphics/Graphics-ColorUtils-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl, perl(ExtUtils::MakeMaker)
|
|
||||||
|
|
||||||
%description
|
|
||||||
Easy-to-use color space conversions and more.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n %{real_name}-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
%{__make} install
|
|
||||||
|
|
||||||
### Clean up buildroot
|
|
||||||
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%doc Changes MANIFEST META.yml README
|
|
||||||
%doc %{_mandir}/man3/Graphics::ColorUtils.3pm*
|
|
||||||
%dir %{perl_vendorlib}/Graphics/
|
|
||||||
%{perl_vendorlib}/Graphics/ColorUtils.pm
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Jul 5 2007 Quien Sabe (aka Jim) <quien-sabe@metaorg.com> - 0.17-1
|
|
||||||
- Updated to latest upstream version { old source not available }
|
|
||||||
|
|
||||||
* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.03-1
|
|
||||||
- Initial package.
|
|
4
perl-Graphics-ColorUtils.changes
Normal file
4
perl-Graphics-ColorUtils.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 19 08:54:40 UTC 2019 - lars@linux-schulserver.de - 0.17
|
||||||
|
|
||||||
|
- initial version 0.17
|
82
perl-Graphics-ColorUtils.spec
Normal file
82
perl-Graphics-ColorUtils.spec
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Graphics-ColorUtils
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-Graphics-ColorUtils
|
||||||
|
Version: 0.17
|
||||||
|
Release: 0
|
||||||
|
%define cpan_name Graphics-ColorUtils
|
||||||
|
Summary: Easy-to-use color space conversions and more
|
||||||
|
License: GPL-1.0-or-later OR Artistic-1.0
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Graphics-ColorUtils/
|
||||||
|
Source: http://www.cpan.org/authors/id/J/JA/JANERT/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
#BuildRequires: perl(Graphics::ColorUtils)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This modules provides some utility functions to handle colors and color
|
||||||
|
space conversions.
|
||||||
|
|
||||||
|
The interface has been kept simple, so that most functions can be called
|
||||||
|
"inline" when making calls to graphics libraries such as GD, Tk, or when
|
||||||
|
generating HTML/CSS. (E.g. for GD: '$c = $img->colorAllocate( hsv2rgb( 270,
|
||||||
|
0.5, 0.3 ) );'.)
|
||||||
|
|
||||||
|
Features:
|
||||||
|
|
||||||
|
* Color Space Conversions
|
||||||
|
|
||||||
|
Color space conversions, in particular between the "intuitive" color
|
||||||
|
spaces HSV (Hue/Saturation/Value) and HLS (Hue/Lightness/Saturation) to
|
||||||
|
and from RGB (Red/Green/Blue).
|
||||||
|
|
||||||
|
* Color Lookup
|
||||||
|
|
||||||
|
Color lookup by name for three standard sets of colors: WWW/CSS, SVG, and
|
||||||
|
X11.
|
||||||
|
|
||||||
|
* Color Gradients
|
||||||
|
|
||||||
|
Management of color gradients, which can be indexed by a floating point
|
||||||
|
number in the range 0..1. (Mostly intended for false-color data
|
||||||
|
visualization.)
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes README
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user