Author: spot
Update of /cvs/extras/rpms/perl-Gtk2-ImageView/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5523/devel
Modified Files:
.cvsignore sources
Added Files:
import.log perl-Gtk2-ImageView.spec
Log Message:
initial commit
--- NEW FILE import.log ---
perl-Gtk2-ImageView-0_04-2_fc10:HEAD:perl-Gtk2-ImageView-0.04-2.fc10.src.rpm:1221228826
--- NEW FILE perl-Gtk2-ImageView.spec ---
Name: perl-Gtk2-ImageView
Version: 0.04
Release: 2%{?dist}
Summary: Perl bindings to the GtkImageView image viewer widget
Group: Development/Libraries
License: LGPLv3+
URL:
http://search.cpan.org/dist/Gtk2-ImageView/
Source0:
http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Gtk2-ImageView-%{ve...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel
BuildRequires: gtkimageview-devel >= 1.6.0
BuildRequires: perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
BuildRequires: perl(Glib) >= 1.163
BuildRequires: perl(Cairo) >= 1.00
BuildRequires: perl(ExtUtils::Depends) >= 0.2
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03
BuildRequires: perl(Gtk2)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
Requires: perl(Glib) >= 1.163
Requires: perl(Cairo) >= 1.00
%description
Perl bindings to the GtkImageView image viewer widget. Find out more about
GtkImageView at
http://trac.bjourne.webfactional.com/. The Perl bindings follow
the C API very closely, and the C reference should be considered the canonical
documentation.
%package devel
Summary: Development headers for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development headers for %{name}.
%prep
%setup -q -n Gtk2-ImageView-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
# There are tests, but they need an X DISPLAY to run. Not worth it.
# make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING.LESSER README
%{perl_vendorarch}/auto/Gtk2/ImageView/
%{perl_vendorarch}/Gtk2*
%exclude %{perl_vendorarch}/Gtk2/ImageView/Install/*.h
%{_mandir}/man3/*.3pm*
%files devel
%defattr(-,root,root,-)
%{perl_vendorarch}/Gtk2/ImageView/Install/*.h
%changelog
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 0.04-2
- missing BuildRequires: perl(GTK2)
* Thu Sep 11 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 0.04-1
- initial package for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Gtk2-ImageView/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 Sep 2008 14:14:29 -0000 1.1
+++ .cvsignore 12 Sep 2008 14:15:38 -0000 1.2
@@ -0,0 +1 @@
+Gtk2-ImageView-0.04.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Gtk2-ImageView/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Sep 2008 14:14:29 -0000 1.1
+++ sources 12 Sep 2008 14:15:38 -0000 1.2
@@ -0,0 +1 @@
+1351295fb6391345fba53c25065180ed Gtk2-ImageView-0.04.tar.gz