]> git.pld-linux.org Git - packages/perl-LockFile-Simple.git/commitdiff
- new STABLE
authorankry <ankry@pld-linux.org>
Fri, 21 Feb 2003 14:08:01 +0000 (14:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-LockFile-Simple.spec -> 1.1

perl-LockFile-Simple.spec [new file with mode: 0644]

diff --git a/perl-LockFile-Simple.spec b/perl-LockFile-Simple.spec
new file mode 100644 (file)
index 0000000..44e95d3
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    LockFile
+%define        pnam    Simple
+Summary:       LockFile::Simple Perl module - simple file locking scheme
+Summary(pl):   Modu³ Perla LockFile::Simple - prosty schemat blokowania plików
+Name:          perl-LockFile-Simple
+Version:       0.2.5
+Release:       1
+License:       Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LockFile::Simple Perl module - provides simple locking scheme which
+is not based on any file locking system calls such as "flock()" or
+"lockf()" but rather relies on basic file system primitives and
+properties, such as the atomicity of the "write()" system call. It is
+not meant to be exempt from all race conditions, especially over NFS.
+
+%description -l pl
+Modu³ Perla LockFile::Simple - udostêpnia prosty system blokowania
+plików nie oparty na ¿adnych funkcjach systemowych, takich jak
+"flock()" i "lockf()" s³u¿±cych do blokowania plików. Korzysta on z
+podstawowych w³asno¶ci systemów plików, takich jak atomowo¶æ funkcji
+systemowej "write()". Nie oznacza to, ¿e jest on wolny od sytuacji
+"wy¶cigu" (race conditions), zw³aszcza w przypadku korzystania z NFS.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%{perl_sitelib}/LockFile/*.pm
+%{perl_sitelib}/LockFile/Lock
+%{_mandir}/man3/*
This page took 0.060414 seconds and 4 git commands to generate.