]> git.pld-linux.org Git - packages/perl-Crypt-MySQL.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 17 Jun 2003 22:22:49 +0000 (22:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-MySQL.spec -> 1.1

perl-Crypt-MySQL.spec [new file with mode: 0644]

diff --git a/perl-Crypt-MySQL.spec b/perl-Crypt-MySQL.spec
new file mode 100644 (file)
index 0000000..d52b66c
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Crypt
+%define        pnam    MySQL
+Summary:       Crypt::MySQL - emulate MySQL PASSWORD() function
+Summary(pl):   Crypt::MySQL - emulacja funkcji MySQL PASSWORD()
+Name:          perl-Crypt-MySQL
+Version:       0.01
+Release:       1
+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: 92b699648f662ba6f3e53950cd15a599
+%{!?_without_tests:BuildRequires:      perl-Test-Simple >= 0.32}
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Crypt::MySQL emulates MySQL PASSWORD() SQL function, without
+libmysqlclient. You can compare encrypted passwords, without real
+MySQL environment.
+
+%description -l pl
+Crypt::MySQL emuluje funkcjê SQL PASSWORD() z MySQL bez
+libmysqlclient. Pozwala porównywaæ zaszyfrowane has³a bez prawdziwego
+¶rodowiska MySQL.
+
+%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
+%{perl_vendorarch}/Crypt/MySQL.pm
+%dir %{perl_vendorarch}/auto/Crypt/MySQL
+%{perl_vendorarch}/auto/Crypt/MySQL/autosplit.ix
+%{perl_vendorarch}/auto/Crypt/MySQL/MySQL.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/MySQL/MySQL.so
+%{_mandir}/man3/*
This page took 0.113754 seconds and 4 git commands to generate.