SPECS: perl-SGI-FAM.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Fri Sep 30 00:38:32 CEST 2005


Author: zbyniu                       Date: Thu Sep 29 22:38:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-SGI-FAM.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-SGI-FAM.spec
diff -u /dev/null SPECS/perl-SGI-FAM.spec:1.1
--- /dev/null	Fri Sep 30 00:38:32 2005
+++ SPECS/perl-SGI-FAM.spec	Fri Sep 30 00:38:26 2005
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	SGI
+%define	pnam	FAM
+Summary:	SGI::FAM - Perl interface to SGI/Irix File Access Monitor
+#Summary(pl):	
+Name:		perl-SGI-FAM
+Version:	1.002
+Release:	0.1
+License:	UNKNOWN
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	e92451d3d8fbb9ea6e1995f80d5b086a
+BuildRequires:	fam-devel
+BuildRequires:	perl-File-PathConvert
+BuildRequires:	perl-Getopt-Mixed
+BuildRequires:	perl-Test-Helper
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides a somewhat higher-level and friendlier interface to the SGI/Irix File Access
+Monitor API. This allows one to monitor both local and remote (NFS-mounted) files and
+directories for common filesystem events. To do so, you must register "monitors" on
+specified pathnames and wait for events to arrive pertaining to them. To get a full
+description of the API, you should see fam(3x).
+
+Since FAM only deals with absolute pathnames, all paths are canonicalized internally
+and monitors are held on canonical paths. Whenever a path is returned from this module,
+howvever, via which or monitored with no arguments, the originally specified path
+is given for convenience.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_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 CHANGES README TODO
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorarch}/SGI/*.pm
+%dir %{perl_vendorarch}/auto/SGI/FAM
+%{perl_vendorarch}/auto/SGI/FAM/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/SGI/FAM/*.so
+%{_mandir}/man[13]/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/29 22:38:26  zbyniu
+- new
+
================================================================



More information about the pld-cvs-commit mailing list