packages: perl-Desktop-Notify/perl-Desktop-Notify.spec (NEW) - new

glen glen at pld-linux.org
Fri Dec 23 14:25:10 CET 2011


Author: glen                         Date: Fri Dec 23 13:25:10 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-Desktop-Notify:
   perl-Desktop-Notify.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Desktop-Notify/perl-Desktop-Notify.spec
diff -u /dev/null packages/perl-Desktop-Notify/perl-Desktop-Notify.spec:1.1
--- /dev/null	Fri Dec 23 14:25:10 2011
+++ packages/perl-Desktop-Notify/perl-Desktop-Notify.spec	Fri Dec 23 14:25:05 2011
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+# TODO
+# - tests fail, likely need dbus server or sth
+#
+# Conditional build:
+%bcond_with	tests		# do not perform "make test"
+
+%define		pdir	Desktop
+%define		pnam	Notify
+%include	/usr/lib/rpm/macros.perl
+Summary:	Desktop::Notify - Communicate with the Desktop Notifications framework
+Name:		perl-Desktop-Notify
+Version:	0.03
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/S/SA/SACAVILIA/Desktop-Notify-%{version}.tar.gz
+# Source0-md5:	8847fe21dcd8572fec8c4e5f082aa24d
+URL:		http://search.cpan.org/dist/Desktop-Notify/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Class-Accessor
+BuildRequires:	perl-Net-DBus
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a Perl interface to the Desktop Notifications
+framework.
+
+The framework allows applications to display pop-up notifications on
+an X desktop. This is implemented with two components: a daemon that
+displays the notifications, and a client library used by applications
+to send notifications to the daemon. These components communicate
+through the DBus message bus protocol.
+
+More information is available from
+<http://trac.galago-project.org/wiki/DesktopNotifications>
+
+This module serves the same purpose as libnotify, in an
+object-oriented Perl interface. It is not, however, an interface to
+libnotify itself, but a separate implementation of the specification
+using Net::DBus.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Desktop/*.pm
+%{perl_vendorlib}/Desktop/Notify
+%{_mandir}/man3/*
+
+%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  2011/12/23 13:25:05  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list