Logoj0ke.net Open Build Service > Projects > devel:perl > perl-String-CRC32 > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added perl-String-CRC32.spec
x
 
1
@@ -0,0 +1,48 @@
2
+%define modname    String-CRC32
3
+Name:           perl-%{modname}
4
+Version:        1.4
5
+Release:        1
6
+Summary:        Perl interface for cyclic redundency check generation
7
+Requires:       perl = %{perl_version}
8
+BuildRequires:  perl
9
+License:        Public Domain
10
+Group:          Development/Libraries/Perl
11
+Source:         %{modname}-%{version}.tar.bz2
12
+BuildRoot:      %{_tmppath}/%{name}-root
13
+
14
+%description
15
+The CRC32 module calculates CRC sums of 32 bit lengths. It generates the same
16
+CRC values as ZMODEM, PKZIP, PICCHECK and many others.
17
+
18
+Authors:
19
+--------
20
+    Soenke J. Peters <peters__perl@opcenter.de>
21
+
22
+%prep
23
+%setup -q -n %{modname}-%{version}
24
+
25
+%build
26
+perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
27
+make
28
+make test
29
+
30
+%install
31
+rm -rf %{buildroot}
32
+make DESTDIR=$RPM_BUILD_ROOT install_vendor
33
+%perl_process_packlist
34
+
35
+%clean
36
+rm -rf %{buildroot}
37
+
38
+%files
39
+%defattr(-, root, root)
40
+%doc README
41
+%doc %{_mandir}/man?/*
42
+%{perl_vendorarch}/String
43
+%{perl_vendorarch}/auto/String
44
+/var/adm/perl-modules/%{name}
45
+
46
+%changelog
47
+
48
+* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 1.4-1
49
+- Initial release
50