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

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Wed Dec 8 17:45:11 UTC 2004


Changeset from: mschwendt

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

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Gtk2.spec 
Log Message:
auto-import perl-Gtk2-1.061-0.fdr.2.2 on branch devel from perl-Gtk2-1.061-0.fdr.2.2.src.rpm


--- NEW FILE perl-Gtk2.spec ---
%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}

Name:           perl-Gtk2
Version:        1.061
Release:        0.fdr.2.2
Epoch:          0
Summary:        Perl interface to the 2.x series of the Gimp Toolkit library

Group:          Development/Libraries
License:        LGPL
URL:            http://search.cpan.org/dist/Gtk2/
Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Gtk2-1.061.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl >= 2:5.8.0
BuildRequires:  gtk2-devel, perl(Glib) >= 0:1.061
BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module allows you to write Gtk+ graphical user interfaces in a
perlish and object-oriented way, freeing you from the casting and
memory management in C, yet remaining very close in spirit to original
API.  Find out more about Gtk+ at http://www.gtk.org.


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


%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"


%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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check || :
# Testing requires X
#make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE NEWS README TODO
%doc examples/ gtk-demo/
%{perl_vendorarch}/auto/Gtk2/
%{perl_vendorarch}/Gtk2*
%{_mandir}/man3/*.3*


%changelog
* Mon Oct 25 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.061-0.fdr.2
- Removed irrelevant or duplicated documentation files.
- Description simplified (as suggested by Ville Skyttä).

* Tue Oct  5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.061-0.fdr.1
- Update to 1.061.

* Tue Oct  5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.043-0.fdr.2
- make test commented: needs X.

* Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.043-0.fdr.1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Gtk2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Dec 2004 17:43:28 -0000	1.1
+++ .cvsignore	8 Dec 2004 17:45:09 -0000	1.2
@@ -0,0 +1 @@
+Gtk2-1.061.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Gtk2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Dec 2004 17:43:28 -0000	1.1
+++ sources	8 Dec 2004 17:45:09 -0000	1.2
@@ -0,0 +1 @@
+f7a14ff2e86dc66c9a06539613b70576  Gtk2-1.061.tar.gz




More information about the fedora-extras-commits mailing list