rpms/pilot-link/F-7 pilot-link.spec,1.58,1.59
Alex Lancaster (alexlan)
fedora-extras-commits at redhat.com
Wed Nov 14 06:57:57 UTC 2007
- Previous message (by thread): rpms/pilot-link/F-8 pilot-link.spec,1.61,1.62
- Next message (by thread): rpms/openoffice.org/devel openoffice.org.spec, 1.1337, 1.1338 openoffice.org-2.3.0.ooo77672.boost.use.end_p.patch, 1.2, NONE openoffice.org-2.3.0.ooo81323.svtools.sixtyfour.patch, 1.1, NONE openoffice.org-2.3.0.ooo83169.colordialog.crash.patch, 1.1, NONE openoffice.org.ooo82608.vcl.gtkbadfree.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: alexlan
Update of /cvs/extras/rpms/pilot-link/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23449
Modified Files:
pilot-link.spec
Log Message:
* Mon Nov 12 2007 Alex Lancaster <alexl at users.sourceforge.net> - 2:0.12.2-6
- Enable Perl bindings
- Include important docs such as README.usb
Index: pilot-link.spec
===================================================================
RCS file: /cvs/extras/rpms/pilot-link/F-7/pilot-link.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- pilot-link.spec 7 Aug 2007 11:13:14 -0000 1.58
+++ pilot-link.spec 14 Nov 2007 06:57:24 -0000 1.59
@@ -1,11 +1,11 @@
-%define support_perl 0
-%define perl_version 5.8.0
+%define support_perl 1
+%define perl_version %(eval "`%{__perl} -V:version`"; echo $version)
Name: pilot-link
Version: 0.12.2
-Release: 4%{?dist}
+Release: 6%{?dist}
Epoch: 2
-License: GPL
+License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
Group: Applications/Communications
Summary: File transfer utilities between Linux and PalmPilots
URL: http://www.pilot-link.org/
@@ -21,7 +21,8 @@
Requires: /sbin/ldconfig
%if %{support_perl}
-BuildRequireseq: perl
+Requires: perl(:MODULE_COMPAT_%{perl_version})
+BuildRequires: perl(ExtUtils::MakeMaker)
%endif
BuildRequires: libpng-devel
@@ -90,23 +91,30 @@
%install
rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} libdir=%{_libdir}
+make install -C doc/man DESTDIR=%{buildroot} libdir=%{_libdir}
+
%if %{support_perl}
if test -f bindings/Perl/Makefile.PL ; then
cd bindings/Perl
perl -pi -e 's|^\$libdir =.*|\$libdir = "%{buildroot}%{_libdir}";|g' Makefile.PL
- CFLAGS="%{optflags}" perl Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
+ CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor
+ make -B || :
make
cd ../..
fi
%endif
-make install DESTDIR=%{buildroot} libdir=%{_libdir}
-make install -C doc/man DESTDIR=%{buildroot} libdir=%{_libdir}
-
%if %{support_perl}
- make install -C bindings/Perl
- rm -f %{buildroot}%{_libdir}/perl5/vendor_perl/%{perl_version}/*/auto/PDA/Pilot/Pilot.bs \
- %{buildroot}%{_libdir}/perl5/site_perl/*/*/*/PDA/Pilot/.packlist
+ cd bindings/Perl
+ make pure_install PERL_INSTALL_ROOT=%{buildroot}
+ cd ../..
+ # remove files and fix perms
+ find %{buildroot}%{_libdir}/perl5/ -type f -name '.packlist' -exec rm -f {} \;
+ find %{buildroot}%{_libdir}/perl5/ -type f -name '*.bs' -size 0 -exec rm -f {} \;
+ find %{buildroot}%{_libdir}/perl5/ -type f -name '*.so' -exec chmod 0755 {} \;
+ rm -f %{buildroot}%{_libdir}/perl5/*/*/perllocal.pod
+ rm -f %{buildroot}%{_libdir}/perl5/*/*/*/PDA/dump.pl
%else
rm -f %{buildroot}%{_mandir}/man1/ietf2datebook*
%endif
@@ -126,11 +134,11 @@
%files
%defattr(-,root,root,-)
-%doc COPYING ChangeLog README NEWS
+%doc COPYING ChangeLog README NEWS doc/README.usb doc/README.debugging doc/README.libusb
%{_libdir}/*.so.*
%if %{support_perl}
-%{_libdir}/perl5/vendor_perl/*/*/*/PDA
-%{_libdir}/perl5/vendor_perl/*/*/PDA
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/PDA*
%endif
%{_bindir}/*
%{_datadir}/pilot-link
@@ -145,6 +153,14 @@
%{_datadir}/aclocal/*.m4
%changelog
+* Mon Nov 12 2007 Alex Lancaster <alexl at users.sourceforge.net> - 2:0.12.2-6
+- Enable Perl bindings
+- Include important docs such as README.usb
+
+* Tue Aug 29 2007 Ivana Varekova <varekova at redhat.com> - 2:0.12.2-5
+- Rebuild for selinux ppc32 issue.
+- fix open function calls
+
* Tue Aug 7 2007 Ivana Varekova <varekova at redhat.com> - 2:0.12.2-4
- remove useless pilot-link.m4 row
- Previous message (by thread): rpms/pilot-link/F-8 pilot-link.spec,1.61,1.62
- Next message (by thread): rpms/openoffice.org/devel openoffice.org.spec, 1.1337, 1.1338 openoffice.org-2.3.0.ooo77672.boost.use.end_p.patch, 1.2, NONE openoffice.org-2.3.0.ooo81323.svtools.sixtyfour.patch, 1.1, NONE openoffice.org-2.3.0.ooo83169.colordialog.crash.patch, 1.1, NONE openoffice.org.ooo82608.vcl.gtkbadfree.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list