]> git.pld-linux.org Git - packages/perl-Devel-Cycle.git/commitdiff
- new AC-branch AC-STABLE auto/ac/perl-Devel-Cycle-1_07-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Sep 2006 22:48:21 +0000 (22:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Devel-Cycle.spec -> 1.1

perl-Devel-Cycle.spec [new file with mode: 0644]

diff --git a/perl-Devel-Cycle.spec b/perl-Devel-Cycle.spec
new file mode 100644 (file)
index 0000000..00af9f1
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Devel
+%define        pnam    Cycle
+Summary:       Devel::Cycle - Find memory cycles in objects
+Name:          perl-Devel-Cycle
+Version:       1.07
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/L/LD/LDS/Devel-Cycle-%{version}.tar.gz
+# Source0-md5: 7d8a1e0ca88f8a66bb1344a217d21f1c
+URL:           http://search.cpan.org/dist/Devel-Cycle/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a simple developer's tool for finding circular references in
+objects and other types of references. Because of Perl's
+reference-count based memory management, circular references will
+cause memory leaks.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_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
+%{perl_vendorlib}/Devel/*.pm
+%{_mandir}/man3/*
This page took 0.044394 seconds and 4 git commands to generate.