[perl-Gtk3] Add BR for ExtUtils::Install
by Daniel P. Berrange
commit d37899bdead812b3f892fa67e8d2c329eeda0273
Author: Daniel P. Berrange <berrange(a)redhat.com>
Date: Fri Jan 6 12:34:36 2012 +0000
Add BR for ExtUtils::Install
perl-Gtk3.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/perl-Gtk3.spec b/perl-Gtk3.spec
index 299a15c..9030e69 100644
--- a/perl-Gtk3.spec
+++ b/perl-Gtk3.spec
@@ -10,6 +10,7 @@ URL: http://search.cpan.org/dist/Gtk3/
Source0: http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk3-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::Install)
BuildRequires: perl(Glib) >= 1.240
BuildRequires: perl(Glib::Object::Introspection) >= 0.002
BuildRequires: perl(Test::More)
12 years, 4 months
[perl-Gtk3] Initial import after review (rhbz #754754)
by Daniel P. Berrange
commit 16a9d133597cc9102eaf5dddfc8b6d98096bcff9
Author: Daniel P. Berrange <berrange(a)redhat.com>
Date: Fri Jan 6 11:33:02 2012 +0000
Initial import after review (rhbz #754754)
.gitignore | 4 +++
perl-Gtk3.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..557b754 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,4 @@
+.build*.log
+*.src.rpm
+/Gtk3-*.tar.gz
+noarch/
diff --git a/perl-Gtk3.spec b/perl-Gtk3.spec
new file mode 100644
index 0000000..299a15c
--- /dev/null
+++ b/perl-Gtk3.spec
@@ -0,0 +1,82 @@
+%global use_x11_tests 1
+
+Name: perl-Gtk3
+Version: 0.002
+Release: 2%{?dist}
+Summary: Perl interface to the 3.x series of the GTK+ toolkit
+License: LGPLv2+
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Gtk3/
+Source0: http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk3-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Glib) >= 1.240
+BuildRequires: perl(Glib::Object::Introspection) >= 0.002
+BuildRequires: perl(Test::More)
+BuildRequires: gtk3
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Scalar::Util)
+Requires: perl(Glib) >= 1.240
+Requires: perl(Glib::Object::Introspection) >= 0.002
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: gtk3
+%if %{use_x11_tests}
+# X11 tests:
+BuildRequires: xorg-x11-server-Xvfb
+BuildRequires: xorg-x11-xinit
+BuildRequires: font(:lang=en)
+%endif
+
+%description
+The Gtk3 module allows a Perl developer to use the GTK+ graphical user
+interface library. Find out more about GTK+ at <http://www.gtk.org/>.
+
+%prep
+%setup -q -n Gtk3-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+%if %{use_x11_tests}
+ xinit /bin/sh -c 'rm -f ok; make test && touch ok' -- /usr/bin/Xvfb :666
+ test -e ok
+%else
+ make test
+%endif
+
+%files
+%doc LICENSE NEWS README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jan 5 2012 Daniel P. Berrange <berrange(a)redhat.com> - 0.002-2
+- Use xvfb to run test suite
+- Fix capitalization of GTK+
+- Remove dist.ini & perl-Gtk3.doap
+- Remove defattr from files section
+- Add missing BuildRequires for test suite
+- Add trailing / into URIs
+
+* Thu Dec 15 2011 Daniel P. Berrange <berrange(a)redhat.com> - 0.002-1
+- Update to 0.002 release
+
+* Mon Nov 28 2011 Daniel P. Berrange <berrange(a)redhat.com> - 0.001-2
+- Add Test::More BR
+- Disable overrides.t test (rt #72773)
+- Comment about running test without $DISPLAY available
+
+* Fri Nov 04 2011 Daniel P Berrange <berrange(a)redhat.com> 0.001-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..026f572 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+be2cc3b34d48d6d9b56050d72561715e Gtk3-0.002.tar.gz
12 years, 4 months
[perl-Graph-Easy] update to 0.71
by Iain Arnell
commit 55cbead7eb87edbe4d933477090b68ec16d534a0
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Fri Jan 6 11:46:02 2012 +0100
update to 0.71
.gitignore | 1 +
perl-Graph-Easy.spec | 15 ++++++++++-----
sources | 2 +-
3 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 67e7cca..57017d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Graph-Easy-0.70.tar.gz
+/Graph-Easy-0.71.tar.gz
diff --git a/perl-Graph-Easy.spec b/perl-Graph-Easy.spec
index fab78ea..6efb77b 100644
--- a/perl-Graph-Easy.spec
+++ b/perl-Graph-Easy.spec
@@ -1,6 +1,6 @@
Name: perl-Graph-Easy
-Version: 0.70
-Release: 2%{?dist}
+Version: 0.71
+Release: 1%{?dist}
Summary: Convert or render graphs as ASCII, HTML, SVG or via Graphviz
License: GPLv2+ and ASL 1.1
Group: Development/Libraries
@@ -31,10 +31,12 @@ Requires: perl(Graph::Easy::As_svg) >= 0.23
%endif
# filter unversioned provides
-%{?perl_default_filter:
+%{?filter_setup:
%filter_from_provides /^perl(Graph::Easy\(\|::Edge\|::Edge::Cell\|::Group\|::Node\))\s*$/d
-%perl_default_filter
+%?perl_default_filter
}
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Graph::Easy\\)$
+%global __provides_exclude %__provides_exclude|perl\\(Graph::Easy::(Edge|Edge::Cell|Group|Node)\\)$
%description
Graph::Easy lets you generate graphs consisting of various shaped nodes
@@ -65,7 +67,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
make test
%files
-%defattr(-,root,root,-)
%doc CHANGES LICENSE README TODO examples
%{_bindir}/*
%{_mandir}/man1/*
@@ -73,6 +74,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri Jan 06 2012 Iain Arnell <iarnell(a)gmail.com> 0.71-1
+- update to latest upstream version
+- update filtering for rpm 4.9
+
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano(a)redhat.com> - 0.70-2
- Perl mass rebuild
diff --git a/sources b/sources
index 21c29ad..a6e33ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ced2a9ebee7b751d3223317f46dc08c0 Graph-Easy-0.70.tar.gz
+e0ff999694110fda648d8b19a2da53df Graph-Easy-0.71.tar.gz
12 years, 4 months
[perl-WWW-Pastebin-PastebinCom-Create] update to 0.004
by Iain Arnell
commit 75df2f48f40211f97a9ff4e80aeff3222535c771
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Fri Jan 6 11:20:22 2012 +0100
update to 0.004
.gitignore | 1 +
perl-WWW-Pastebin-PastebinCom-Create.spec | 15 ++++++---------
sources | 2 +-
3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 872b0b1..de6b8c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
WWW-Pastebin-PastebinCom-Create-0.003.tar.gz
+/WWW-Pastebin-PastebinCom-Create-0.004.tar.gz
diff --git a/perl-WWW-Pastebin-PastebinCom-Create.spec b/perl-WWW-Pastebin-PastebinCom-Create.spec
index bf80836..c297506 100644
--- a/perl-WWW-Pastebin-PastebinCom-Create.spec
+++ b/perl-WWW-Pastebin-PastebinCom-Create.spec
@@ -1,12 +1,11 @@
Name: perl-WWW-Pastebin-PastebinCom-Create
-Version: 0.003
-Release: 5%{?dist}
+Version: 0.004
+Release: 1%{?dist}
Summary: Paste to http://pastebin.com from Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/WWW-Pastebin-PastebinCom-Create/
Source0: http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/WWW-Pastebin-PastebinCom-Creat...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(LWP::UserAgent) >= 2.036
BuildRequires: perl(Module::Build)
@@ -31,8 +30,6 @@ pastebin site.
./Build
%install
-rm -rf $RPM_BUILD_ROOT
-
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -41,16 +38,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README examples
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Jan 06 2012 Iain Arnell <iarnell(a)gmail.com> 0.004-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
* Tue Jul 19 2011 Petr Sabata <contyk(a)redhat.com> - 0.003-5
- Perl mass rebuild
diff --git a/sources b/sources
index 18ee24b..87df803 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-feade397d4386d804eb2571c3983f19e WWW-Pastebin-PastebinCom-Create-0.003.tar.gz
+13111f91ef422b1d85927c84278fe4dc WWW-Pastebin-PastebinCom-Create-0.004.tar.gz
12 years, 4 months
[perl-MooseX-Types-Perl] update to 0.101341
by Iain Arnell
commit 92053aa614cbc8bd2a7a57ee8d4a581bcc9761e9
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Fri Jan 6 10:38:45 2012 +0100
update to 0.101341
.gitignore | 1 +
perl-MooseX-Types-Perl.spec | 17 +++++++----------
sources | 2 +-
3 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7376672..8fc647a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
MooseX-Types-Perl-0.101340.tar.gz
+/MooseX-Types-Perl-0.101341.tar.gz
diff --git a/perl-MooseX-Types-Perl.spec b/perl-MooseX-Types-Perl.spec
index 6abd1b4..ce44fba 100644
--- a/perl-MooseX-Types-Perl.spec
+++ b/perl-MooseX-Types-Perl.spec
@@ -1,12 +1,11 @@
Name: perl-MooseX-Types-Perl
-Version: 0.101340
-Release: 5%{?dist}
+Version: 0.101341
+Release: 1%{?dist}
Summary: Moose types that check against Perl syntax
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooseX-Types-Perl/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/MooseX-Types-Perl-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(MooseX::Types)
@@ -30,8 +29,6 @@ against syntax that is, or is a reasonable subset of, Perl syntax.
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -42,16 +39,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
-%doc Changes dist.ini LICENSE META.json README
+%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Jan 06 2012 Iain Arnell <iarnell(a)gmail.com> 0.101341-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
* Thu Jul 21 2011 Petr Sabata <contyk(a)redhat.com> - 0.101340-5
- Perl mass rebuild
diff --git a/sources b/sources
index efa06a2..8b52c93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6d9a8c90e0382032dbc05efec8e42fa8 MooseX-Types-Perl-0.101340.tar.gz
+28ce385b35f8ef9ef696a42ea358f7fb MooseX-Types-Perl-0.101341.tar.gz
12 years, 4 months