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