packages: perl-Parse-Dia-SQL/perl-Parse-Dia-SQL.spec (NEW) - new
radek
radek at pld-linux.org
Fri May 29 12:09:04 CEST 2009
Author: radek Date: Fri May 29 10:09:04 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Parse-Dia-SQL:
perl-Parse-Dia-SQL.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Parse-Dia-SQL/perl-Parse-Dia-SQL.spec
diff -u /dev/null packages/perl-Parse-Dia-SQL/perl-Parse-Dia-SQL.spec:1.1
--- /dev/null Fri May 29 12:09:04 2009
+++ packages/perl-Parse-Dia-SQL/perl-Parse-Dia-SQL.spec Fri May 29 12:08:59 2009
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Parse
+%define pnam Dia-SQL
+Summary: Parse::Dia::SQL - Convert Dia class diagrams into SQL
+#Summary(pl.UTF-8):
+Name: perl-Parse-Dia-SQL
+Version: 0.10
+Release: 1
+License: GPL
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Parse/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: cdb484e9d75207c0c3085f83d77c28a3
+URL: http://search.cpan.org/dist/Parse-Dia-SQL/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Log-Dispatch-FileRotate
+BuildRequires: perl-Log-Log4perl
+BuildRequires: perl-Test-Exception
+BuildRequires: perl-Text-Table
+BuildRequires: perl-XML-DOM
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Parse::Dia::SQL converts Dia class diagrams into SQL.
+
+# %description -l pl.UTF-8
+# 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} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS Changes README TODO
+%{perl_vendorlib}/Parse/Dia
+%{_mandir}/man?/*
+
+%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 2009/05/29 10:08:59 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list