]> git.pld-linux.org Git - packages/perl-IPC-ShareLite.git/blame - perl-IPC-ShareLite.spec
- rebuild with perl 5.26
[packages/perl-IPC-ShareLite.git] / perl-IPC-ShareLite.spec
CommitLineData
5b43eadb 1#
2# Conditional build:
acf6f8a7
JB
3%bcond_without tests # do not perform "make test"
4#
7423d7cb 5%include /usr/lib/rpm/macros.perl
7c3f2189 6%define pdir IPC
7%define pnam ShareLite
acf6f8a7 8Summary: IPC::ShareLite Perl module - light-weight interface to shared memory
0ba1577d 9Summary(pl.UTF-8): Moduł Perla IPC::ShareLite - lekki interfejs do pamięci dzielonej
141fd70d 10Name: perl-IPC-ShareLite
61b97dc2 11Version: 0.17
ba118027 12Release: 11
b4f4db1a 13# same as perl
14License: GPL v1+ or Artistic
141fd70d 15Group: Development/Languages/Perl
e052f530 16Source0: http://www.cpan.org/modules/by-module/IPC/%{pdir}-%{pnam}-%{version}.tar.gz
61b97dc2 17# Source0-md5: 54c7aa08dc065b6c946c48491d33450d
e052f530 18URL: http://search.cpan.org/dist/IPC-ShareLite/
acf6f8a7 19BuildRequires: perl-devel >= 1:5.8.0
0bbac017 20BuildRequires: rpm-perlprov >= 4.1-13
0115779a 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
141fd70d 22
23%description
5b43eadb 24IPC::ShareLite provides a simple interface to shared memory, allowing
25data to be efficiently communicated between processes. Your operating
26system must support SysV IPC (shared memory and semaphores) in order
27to use this module.
141fd70d 28
3998744d
JR
29%description -l pl.UTF-8
30IPC::ShareLite udostępnia prosty interfejs do pamięci wspólnej,
31umożliwiając wydajną wymianę danych pomiędzy procesami. Aby
32korzystanie z tego modułu było możliwe, System operacyjny musi
33wspierać SysV IPC (pamięć wspólna i semafory).
141fd70d 34
35%prep
7423d7cb 36%setup -q -n %{pdir}-%{pnam}-%{version}
141fd70d 37
38%build
0bbac017 39%{__perl} Makefile.PL </dev/null \
113d0688 40 INSTALLDIRS=vendor
acf6f8a7 41%{__make} \
98f9fd1d 42 CC="%{__cc}" \
acf6f8a7 43 OPTIMIZE="%{rpmcflags}"
141fd70d 44
acf6f8a7 45%{?with_tests:%{__make} test}
5b43eadb 46
141fd70d 47%install
48rm -rf $RPM_BUILD_ROOT
141fd70d 49
acf6f8a7
JB
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
141fd70d 52
141fd70d 53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
61b97dc2 58%doc Changes README
0bbac017 59%{perl_vendorarch}/IPC/ShareLite.pm
60%dir %{perl_vendorarch}/auto/IPC/ShareLite
61%{perl_vendorarch}/auto/IPC/ShareLite/autosplit.ix
0bbac017 62%attr(755,root,root) %{perl_vendorarch}/auto/IPC/ShareLite/ShareLite.so
141fd70d 63%{_mandir}/man3/*
This page took 0.132834 seconds and 4 git commands to generate.