]> git.pld-linux.org Git - packages/perl-Math-Geometry-Planar-GPC.git/commitdiff
- Math-Geometry-GPC has been renamed to Math-Geometry-Planar-GPC
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Oct 2003 02:23:23 +0000 (02:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated to 1.04

Changed files:
    perl-Math-Geometry-Planar-GPC.spec -> 1.1

perl-Math-Geometry-Planar-GPC.spec [new file with mode: 0644]

diff --git a/perl-Math-Geometry-Planar-GPC.spec b/perl-Math-Geometry-Planar-GPC.spec
new file mode 100644 (file)
index 0000000..d8534ca
--- /dev/null
@@ -0,0 +1,62 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Math
+%define                pnam    Geometry-Planar-GPC
+Summary:       Math::Geometry::Planar::GPC - Perl wrapper for Alan Murta's gpc library
+Summary(pl):   Math::Geometry::Planar::GPC - perlowy interfejs do biblioteki gpc Alana Murty
+Name:          perl-Math-Geometry-Planar-GPC
+Version:       1.04
+Release:       1
+# perl interface is under "Artistic" license, but gpc itself is non-commercial
+License:       non-commercial use, freely distributable
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 0f059f596abba73eee7f0ffcee134567
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+Obsoletes:     perl-Math-Geometry-GPC
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is just a wrapper around the gpc (Generic Polygon
+Clipping) C library written by Alan Murta.
+
+%description -l pl
+Ten modu³ jest interfejsem do biblioteki C gpc (Generic Polygon
+Clipping - ogólnego obcinania wielok±tów).
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorarch}/Math/Geometry
+%dir %{perl_vendorarch}/Math/Geometry/Planar
+%{perl_vendorarch}/Math/Geometry/Planar/GPC.pm
+%dir %{perl_vendorarch}/auto/Math/Geometry
+%dir %{perl_vendorarch}/auto/Math/Geometry/Planar
+%dir %{perl_vendorarch}/auto/Math/Geometry/Planar/GPC
+%{perl_vendorarch}/auto/Math/Geometry/Planar/GPC/GPC.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Math/Geometry/Planar/GPC/GPC.so
+%{_mandir}/man3/*
This page took 0.118821 seconds and 4 git commands to generate.