3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: IPC::ShareLite Perl module - light-weight interface to shared memory
9 Summary(pl): Modu³ Perla IPC::ShareLite - lekki interfejs do pamiêci dzielonej
10 Name: perl-IPC-ShareLite
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 3942a55cfc5e6d3b612a46cc1a9515b9
18 Patch0: %{name}-types.patch
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 IPC::ShareLite provides a simple interface to shared memory, allowing
25 data to be efficiently communicated between processes. Your operating
26 system must support SysV IPC (shared memory and semaphores) in order
30 IPC::ShareLite udostêpnia prosty interfejs do pamiêci wspólnej,
31 umo¿liwaiaj±c wydajn± wymianê danych pomiêdzy procesami. Aby
32 korzystanie z tego modu³u by³o mo¿liwe, System operacyjny musi
33 wspieraæ SysV IPC (pamiêæ wspólna i semafory).
36 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL </dev/null \
43 OPTIMIZE="%{rpmcflags}"
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc Changes README TODO
59 %{perl_vendorarch}/IPC/ShareLite.pm
60 %dir %{perl_vendorarch}/auto/IPC/ShareLite
61 %{perl_vendorarch}/auto/IPC/ShareLite/autosplit.ix
62 %{perl_vendorarch}/auto/IPC/ShareLite/ShareLite.bs
63 %attr(755,root,root) %{perl_vendorarch}/auto/IPC/ShareLite/ShareLite.so