SPECS: perl-Config-Record.spec (NEW), perl-Audio-Analyzer.spec (NE...
agaran
agaran at pld-linux.org
Wed Dec 12 22:11:50 CET 2007
Author: agaran Date: Wed Dec 12 21:11:50 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new packages, specs generated by pldcpan
---- Files affected:
SPECS:
perl-Config-Record.spec (NONE -> 1.1) (NEW), perl-Audio-Analyzer.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Config-Record.spec
diff -u /dev/null SPECS/perl-Config-Record.spec:1.1
--- /dev/null Wed Dec 12 22:11:51 2007
+++ SPECS/perl-Config-Record.spec Wed Dec 12 22:11:45 2007
@@ -0,0 +1,93 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Config
+%define pnam Record
+Summary: Config::Record - Configuration file access
+#Summary(pl):
+Name: perl-Config-Record
+Version: 1.1.2
+Release: 0.1
+License: GPL
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 3958d3b5221ddf65ba3143d28e0cd4e0
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides an API for loading and saving of simple configuration
+file records. Entries in the configuration file are essentially key,value
+pairs, with the key and values separated by a single equals symbol. The
+key consists only of alphanumeric characters. There are three types of
+values, scalar values can contain anything except newlines. Trailing
+whitespace will be trimmed unless the value is surrounded in double
+quotes. eg
+
+ foo = Wizz
+ foo = "Wizz.... "
+
+Long lines can be split with a backslash character, without introducing
+newlines. Without double quotes, whitespace at beginning and end of lines
+will be trimmed eg
+
+ foo = This is a long \
+ line of text
+ foo = "This is a long " \
+ "line of text"
+
+Multi-line strings can be provided as 'HERE' documents, eg
+
+
+
+# %description -l pl
+# TODO
+
+%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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES INSTALL README
+%{perl_vendorlib}/Config/*.pm
+#%{perl_vendorlib}/Config/Record
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-12-12 21:11:45 agaran
+- new packages, specs generated by pldcpan
+
================================================================
Index: SPECS/perl-Audio-Analyzer.spec
diff -u /dev/null SPECS/perl-Audio-Analyzer.spec:1.1
--- /dev/null Wed Dec 12 22:11:51 2007
+++ SPECS/perl-Audio-Analyzer.spec Wed Dec 12 22:11:45 2007
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Audio
+%define pnam Analyzer
+Summary: Audio::Analyzer
+#Summary(pl):
+Name: perl-Audio-Analyzer
+Version: 0.03
+Release: 0.1
+# same as perl (REMOVE THIS LINE IF NOT TRUE)
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 02420510e2afb67fc0f020c2dd58d12e
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl(Math::FFT)
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module makes it easy to analyze music files with the Fast Fourier
+Transform and sync the output of the FFT in time for visual representation.
+
+
+# %description -l pl
+# TODO
+
+%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}/Audio/*.pm
+#%{perl_vendorlib}/Audio/Analyzer
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-12-12 21:11:45 agaran
+- new packages, specs generated by pldcpan
+
================================================================
More information about the pld-cvs-commit
mailing list