]> git.pld-linux.org Git - packages/perl-Crypt-MySQL.git/blame - perl-Crypt-MySQL.spec
- release 3
[packages/perl-Crypt-MySQL.git] / perl-Crypt-MySQL.spec
CommitLineData
0a2226a9
JB
1#
2# Conditional build:
a6067872 3%bcond_without tests # Do not perform "make test"
0a2226a9
JB
4#
5%include /usr/lib/rpm/macros.perl
bbd473df 6%define pdir Crypt
7%define pnam MySQL
0a2226a9 8Summary: Crypt::MySQL - emulate MySQL PASSWORD() function
e5b9e0df 9Summary(pl.UTF-8): Crypt::MySQL - emulacja funkcji MySQL PASSWORD()
0a2226a9 10Name: perl-Crypt-MySQL
a2732b5c 11Version: 0.02
6305e415 12Release: 3
8b6382f3 13# same as perl
0a2226a9
JB
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a2732b5c 17# Source0-md5: dfaf418d37f4f690f8e69a2e03e74371
a6067872 18%{?with_tests:BuildRequires: perl-Test-Simple >= 0.32}
85bb6964 19BuildRequires: perl-devel >= 1:5.8.0
0a2226a9
JB
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Crypt::MySQL emulates MySQL PASSWORD() SQL function, without
25libmysqlclient. You can compare encrypted passwords, without real
26MySQL environment.
27
f2b97c4b
JR
28%description -l pl.UTF-8
29Crypt::MySQL emuluje funkcję SQL PASSWORD() z MySQL bez
30libmysqlclient. Pozwala porównywać zaszyfrowane hasła bez prawdziwego
31środowiska MySQL.
0a2226a9
JB
32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
8999f74a 39%{__make} \
4d4e6c89 40 CC="%{__cc}" \
8999f74a 41 OPTIMIZE="%{rpmcflags}"
0a2226a9 42
a6067872 43%{?with_tests:%{__make} test}
0a2226a9
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Changes
57%{perl_vendorarch}/Crypt/MySQL.pm
58%dir %{perl_vendorarch}/auto/Crypt/MySQL
59%{perl_vendorarch}/auto/Crypt/MySQL/autosplit.ix
60%{perl_vendorarch}/auto/Crypt/MySQL/MySQL.bs
61%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/MySQL/MySQL.so
62%{_mandir}/man3/*
This page took 0.034758 seconds and 4 git commands to generate.