rpms/perl-Gtk2-Notify/devel perl-Gtk2-Notify.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Mon Nov 27 18:46:45 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-Gtk2-Notify/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29089/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Gtk2-Notify.spec 
Log Message:
auto-import perl-Gtk2-Notify-0.02-3.fc6 on branch devel from perl-Gtk2-Notify-0.02-3.fc6.src.rpm


--- NEW FILE perl-Gtk2-Notify.spec ---
Name:           perl-Gtk2-Notify
Version:        0.02
Release:        3%{?dist}
Summary:        Gtk2::Notify Perl module
License:        LGPL
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Gtk2-Notify/

#Source0:        http://www.cpan.org/modules/by-module/Gtk2/Gtk2-Notify-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-Notify-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(Glib) >= 1.093, perl(Gtk2)
BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
BuildRequires:  perl(ExtUtils::MakeMaker), libnotify-devel

# for tests...
%{?_with_display_tests:BuildRequires:  perl(Test::Pod::Coverage) >= 1.04, perl(Test::Pod) >= 1.14}

# libnotify-devel seems to be missing this.  see BZ#216946
BuildRequires:  gtk2-devel

Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Perl bindings to libnotify.  This module will allow one to use the notify
functionality from within a perl application.

%prep
%setup -q -n Gtk2-Notify-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
# tests all bomb under mock, unfortunately
%{?_with_display_tests: make test}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes maps README examples/
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Gtk2*
%{_mandir}/man3/*

%changelog
* Mon Nov 27 2006 Chris Weyl <cweyl at alumni.drew.edu>
- change source0 to pull from an alternate CPAN location

* Wed Nov 22 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.02-2
- conditionalize tests as they tend to die horribly under mock

* Wed Nov 22 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.02-1
- Specfile autogenerated by cpanspec 1.69.1.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Gtk2-Notify/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Nov 2006 18:46:05 -0000	1.1
+++ .cvsignore	27 Nov 2006 18:46:15 -0000	1.2
@@ -0,0 +1 @@
+Gtk2-Notify-0.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Gtk2-Notify/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Nov 2006 18:46:05 -0000	1.1
+++ sources	27 Nov 2006 18:46:15 -0000	1.2
@@ -0,0 +1 @@
+77a64c944cf1516bcc514456de22a82b  Gtk2-Notify-0.02.tar.gz




More information about the scm-commits mailing list