rpms/perl-Padre/F-10 Padre-removevsORLite.patch, NONE, 1.1 perl-Padre.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marcela Mašláňová mmaslano at fedoraproject.org
Wed Oct 15 10:52:19 UTC 2008


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-Padre/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19337

Modified Files:
	.cvsignore sources 
Added Files:
	Padre-removevsORLite.patch perl-Padre.spec 
Log Message:
* Fri Oct 10 2008 Marcela Mašláňová <mmaslano at redhat.com> 0.10-4
- move templates into _datadir


Padre-removevsORLite.patch:

--- NEW FILE Padre-removevsORLite.patch ---
diff -up Padre-0.10/lib/Padre/DB.pm.old Padre-0.10/lib/Padre/DB.pm
--- Padre-0.10/lib/Padre/DB.pm.old	2008-09-22 07:50:46.000000000 +0200
+++ Padre-0.10/lib/Padre/DB.pm	2008-10-03 09:45:23.000000000 +0200
@@ -4,11 +4,10 @@ package Padre::DB;
 
 use strict;
 use Padre;
-use ORLite 0.13 {
+use ORLite {
 	file   => Padre->ide->config_db,
 	tables => 0,
 };
 
-our $VERSION = '0.10';
 
 1;


--- NEW FILE perl-Padre.spec ---
Name:           perl-Padre
Version:        0.10
Release:        4%{?dist}
Summary:        Perl Application Development and Refactoring Environment
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Padre/
Source0:        http://www.cpan.org/authors/id/S/SZ/SZABGAB/Padre-%{version}.tar.gz
Source1:        Padre.desktop
Patch0:         Padre-removevsORLite.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 0:5.008
BuildRequires:  perl(Class::Accessor)
BuildRequires:  perl(DBD::SQLite)
BuildRequires:  perl(File::Copy::Recursive)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(PAR) >= 0.970
BuildRequires:  perl(Pod::Simple)
BuildRequires:  perl(Probe::Perl) >= 0.01
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(Test::More) >= 0.47
BuildRequires:  perl(Test::NoWarnings)
BuildRequires:  perl(Wx::Perl::Dialog)
BuildRequires:  desktop-file-utils
Requires:       perl(Class::Accessor)
Requires:       perl(DBD::SQLite)
Requires:       perl(File::Copy::Recursive)
Requires:       perl(PAR) >= 0.970
Requires:       perl(Pod::Simple)
Requires:       perl(PPI) >= 1.203
Requires:       perl(Probe::Perl) >= 0.01
Requires:       perl(Wx::Perl::Dialog)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Padre is a text editor aimed to be an IDE for Perl. 
The application maintains its configuration information
in a directory called .padre.

%prep
%setup -q -n Padre-%{version}
%patch0 -p1 -b .patch

%build
%{__perl} Build.PL installdirs=vendor
./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 \;
mv $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Padre $RPM_BUILD_ROOT/%{_datadir}/padre
%{_fixperms} $RPM_BUILD_ROOT/*
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/Padre/Wx/Ack.pm

# there's no desktop file in source, let's create one
desktop-file-install --vendor="fedora" \
--dir=$RPM_BUILD_ROOT/%{_datadir}/applications \
%{SOURCE1}

%check
# We don't test GUI tests.
#./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
/usr/bin/padre
%{perl_vendorlib}/*
%{_datadir}/padre
%{_datadir}/applications/fedora-Padre.desktop
%{_mandir}/man3/*

%changelog
* Fri Oct 10 2008 Marcela Mašláňová <mmaslano at redhat.com> 0.10-4
- move templates into _datadir

* Fri Oct 10 2008 Marcela Mašláňová <mmaslano at redhat.com> 0.10-3
- add desktop file

* Fri Oct 10 2008 Marcela Mašláňová <mmaslano at redhat.com> 0.10-2
- fix review
- example and test files should have permission 644
- desktop file is missing in upstream version

* Fri Oct 03 2008 Marcela Mašláňová <mmaslano at redhat.com> 0.10-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Padre/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Oct 2008 09:59:35 -0000	1.1
+++ .cvsignore	15 Oct 2008 10:51:49 -0000	1.2
@@ -0,0 +1,2 @@
+Padre-0.10.tar.gz
+Padre.desktop


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Padre/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Oct 2008 09:59:35 -0000	1.1
+++ sources	15 Oct 2008 10:51:49 -0000	1.2
@@ -0,0 +1,2 @@
+d036a33e475a962415e4ef9837c7a74e  Padre-0.10.tar.gz
+e9457439b1f0c929ab3141197294e061  Padre.desktop




More information about the Fedora-perl-devel-list mailing list