source: projects/specs/trunk/p/perl-Digest-HMAC/perl-Digest-HMAC-vl.spec @ 8723

Revision 8723, 3.0 KB checked in by iwaim, 10 years ago (diff)

perl-Digest-HMAC 1.03-1

Line 
1%define _use_internal_dependency_generator 0
2
3Name: perl-Digest-HMAC
4Version: 1.03
5Release: 1%{_dist_release}
6Summary: Digest-HMAC Perl module
7License: distributable
8Group: Development/Libraries
9URL: http://search.cpan.org/search?mode=module&query=Digest%3a%3aHMAC
10BuildRoot: %{_tmppath}/%{name}-root
11BuildRequires: perl >= 0:5.00503
12Source0: Digest-HMAC-%{version}.tar.gz
13BuildArch: noarch
14
15BuildRequires: perl(Digest::SHA) >= 1.00
16BuildRequires: perl(Digest::MD5) >= 2.00
17Requires: perl(Digest::SHA) >= 1.00
18Requires: perl(Digest::MD5) >= 2.00
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24HMAC is used for message integrity checks between two parties that
25share a secret key, and works in combination with some other Digest
26algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in
27RFC 2104.
28
29HMAC follow the common Digest:: interface, but the constructor takes
30the secret key and the name of some other simple Digest:: as argument.
31
32%prep
33%setup -q -n Digest-HMAC-%{version}
34
35%build
36CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
37make
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%install
43rm -rf $RPM_BUILD_ROOT
44#eval `perl '-V:installarchlib'`
45#mkdir -p $RPM_BUILD_ROOT/$installarchlib
46make DESTDIR=$RPM_BUILD_ROOT install
47
48[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
49
50find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
51
52find $RPM_BUILD_ROOT/usr -type f -print | \
53        sed "s@^$RPM_BUILD_ROOT@@g" | \
54        grep -v perllocal.pod | \
55        grep -v "\.packlist" > Digest-HMAC-%{version}-filelist
56if [ "$(cat Digest-HMAC-%{version}-filelist)X" = "X" ] ; then
57    echo "ERROR: EMPTY FILE LIST"
58    exit -1
59fi
60
61%check
62make test
63
64%files -f Digest-HMAC-%{version}-filelist
65%defattr(-,root,root)
66
67%changelog
68* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.03-1
69- build with Perl 5.16
70- update to 1.03
71- add Requires and BuildRequires version
72
73* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.02-1
74- new upstream release
75- add Vendor and Distribution tags
76
77* Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> - 1.01-14
78- built with perl-5.10.0.
79
80* Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.01-13vl4
81- added %check
82- changed Group to Development/Libraries
83
84* Mon Oct 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
85- 1.01-13vl3
86- rebuild for VineSeed / Vine 4.0
87- changed Group to Development/Languages
88- installs to vendor_arch directory
89
90* Thu Oct 05 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
91- 1.01-13vl2
92- change install dir (remove vender)
93
94* Thu Oct 05 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
95- 1.01-13vl1
96- rebuild fot Vine 3.2
97
98* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.01-13
99- rebuild
100
101* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 1.01-12
102- bump
103
104* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
105- version bump and rebuild
106
107* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
108- automated release bump and build
109
110* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
111- description update
112
113* Wed Jun 26 2002 cturner@redhat.com
114- Specfile autogenerated
115
Note: See TracBrowser for help on using the repository browser.