[CentOS-devel] jpilot: contributed RPM submission

Sun Apr 2 13:34:31 UTC 2006
Durval Menezes <durval at tmp.com.br>

Hello,

Here's my submission for a new package: jpilot, a great Palm/Pilot
PDA desktop software.

The URL to the SRPM is: 
    http://www.durval.com.br/RPMS/el4/jpilot/jpilot-0.99.8-p2.dm1.el4.src.rpm

I've attached the .spec file.

Best Regards,
-- 
   Durval Menezes (durval AT tmp DOT com DOT br, http://www.tmp.com.br/)
-------------- next part --------------
Summary: Jpilot pilot desktop software
Name: jpilot
Version: 0.99.8
Release: p2.dm1.el4
License: GPL
Packager: Durval Menezes <durval AT tmp DOT com DOT br>, based on original SRPM from Joel Barrios <http://linuxparatodos.net>
Group: Applications/Productivity
URL: http://jpilot.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Source: http://jpilot.org/jpilot-%{version}.tar.gz
Source1: jpilot.desktop

Patch0: jpilot-0.99.7-conf.patch
Patch1: jpilot-0.99.8-misc.patch
Patch2: jpilot-0.99.8-curday.patch
#Patch3: jpilot-0.99.8-overfl.patch
#Patch4: jpilot-0.99.8-typo.patch
Patch5: http://www.jpilot.org/patch.0.99.8-memory
Patch6: http://www.jpilot.org/patch.jpilot-sync

BuildPrereq: gtk2-devel >= 2.0.3
BuildPrereq: pilot-link-devel
BuildPrereq: pilot-link
BuildPrereq: perl-XML-Parser

ExcludeArch: s390 s390x

%description
J-Pilot is a desktop organizer application for the palm pilot that runs under
Linux.  It is similar in functionality to the one that 3com distributes for a
well known rampant legacy operating system.

%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1 -b .misc
%patch2 -p1 -b .curday
#%patch3 -p1 -b .overfl
#%patch4 -p1 -b .typo
%patch5 -p0 -b .memory
%patch6 -p0 -b .jpilot-sync

%build
%configure \
%if %{_lib} == "lib64"
  --enable-libsuffix=64 \
%endif
  --disable-rpath \
  --enable-gtk2

make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make DESTDIR=%{buildroot} libdir=%{_libdir}/jpilot/plugins install

mkdir -p %{buildroot}%{_datadir}/jpilot/ \
         %{buildroot}%{_datadir}/applications

install jpilotrc.* %{buildroot}%{_datadir}/jpilot/
install empty/*.pdb %{buildroot}%{_datadir}/jpilot/
install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/jpilot.desktop

# install icon
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 icons/jpilot-icon3.xpm %{buildroot}%{_datadir}/pixmaps/

%find_lang %name

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root)
%doc %{_docdir}/jpilot-%{version}
%{_bindir}/*
%{_datadir}/jpilot
%{_datadir}/pixmaps/*
%{_libdir}/%{name}
%{_mandir}/man1/*.*
%{_datadir}/applications/*

%changelog
* Thu Mar 30 2006 Durval Menezes <durval AT tmp DOT com DOT br> 0.99.8.p2.dm1.el4
- Upgrade to 0.99.8 plus memory and jpilot-sync patches

* Tue Jun 14 2005 Joel Barrios <http://linuxparatodos.net>
- Rebuild

* Thu Jun  9 2005 Ivana Varekova <varekova at redhat.com> 0.99.8-0.pre9.1
- rebuilt new version (0.99.8-pre9)

* Fri May 06 2005 Ivana Varekova <varekova at redhat.com> 0.99.8-0.pre8.5
- fix typo (bug 157007)

* Wed Apr 27 2005 Radek Vokal <rvokal at redhat.com> 0.99.8-0.pre8.4
- fixed desktop file, show icon
- only one item in Office menu (overwrite package desktop file)

* Mon Apr 25 2005 Ivana Varekova <varekova at redhat.com> 0.99.8-0.pre8.3
- fix overflow problem (patch3 - patch from file from #153066 comment 12) 

* Wed Apr 20 2005 Ivana Varekova <varekova at redhat.com> 0.99.8-0.pre8.2
- rebuilt

* Wed Mar 30 2005 Than Ngo <than at redhat.com> 0.99.8-0.pre8.1
- 0.99.8-pre8
- cleanup specfile
- disable rpath
- update desktop file

* Fri Mar  4 2005 Ivana Varekova <varekova at redhat.com> 0.99.7-6
- rebuilt
 
* Fri Jan 21 2005 Ivana Varekova <varekova at redhat.com> 0.99.7-5
- fix problem with previous patch (problem with cb_cal_changed connection)
- fix problem with add_new_record (problem with cb_cal_changed connection)

* Mon Jan 10 2005 Ivana Varekova <varekova at redhat.com> 0.99.7-4
- fix part of bug #142520 - problem with Go to Today

* Mon Nov 22 2004 Ivana Varekova <varekova at redhat.com> 0.99.7-3
- fix bug #139377 - problem with x86_64

* Tue Jun 15 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Wed Mar 03 2004 Than Ngo <than at redhat.com> 0.99.7-1
- update to 0.99.7

* Tue Mar 02 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Wed Sep 03 2003 Than Ngo <than at redhat.com> 0.99.6-1
- 0.99.6

* Wed Jun 04 2003 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Tue Apr 15 2003 Michael K. Johnson <johnsonm at redhat.com> 0.99.5-2
- rebuild

* Tue Apr 15 2003 Michael K. Johnson <johnsonm at redhat.com> 0.99.5-1
- updated for new features and important bugfixes (like restoring
  the correct files)

* Wed Jan 22 2003 Tim Powers <timp at redhat.com>
- rebuilt

* Tue Jan  7 2003 Nalin Dahyabhai <nalin at redhat.com> 0.99.2-10
- rebuild

* Sun Nov 10 2002 Than Ngo <than at redhat.com> 0.99.2-9
- unpackged files in buildroot

* Thu Aug 22 2002 Than Ngo <than at redhat.com> 0.99.2-8
- rebuild against new pilot-link

* Tue Aug  6 2002 Than Ngo <than at redhat.com> 0.99.2-7
- rebuild against pilot-link-0.11.2

* Wed Jul 24 2002 Than Ngo <than at redhat.com> 0.99.2-6
- desktop file issue (bug #69451)

* Thu Jul 18 2002 Than Ngo <than at redhat.com> 0.99.2-5
- rebuild against new pilot-link
- use desktop-file-install

* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Wed Jun 19 2002 Than Ngo <than at redhat.com> 0.99.2-3
- Don't forcibly strip binaries

* Sun May 26 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Wed May 22 2002 Harald Hoyer <harald at redhat.de>
- 0.99.2
- added man pages

* Fri Apr 12 2002 Preston Brown <pbrown at redhat.com>
- fix icon in .desktop file

* Tue Mar 26 2002 Preston Brown <pbrown at redhat.com> 0.99-86
- fix Comment entry in desktop file

* Thu Feb 21 2002 Jeremy Katz <katzj at redhat.com> 0.99-85
- rebuild in new environment

* Fri Jan 25 2002 Than Ngo <than at redhat.com> 0.99-84
- rebuild in rawhide

* Thu Sep 20 2001 Than Ngo <than at redhat.com> 0.99-82
- rebuild against pilot-link

* Sun Aug  5 2001 Than Ngo <than at redhat.com>
- fix bug #50586

* Mon Jul 16 2001 Trond Eivind Glomsr?d <teg at redhat.com>
- s/Copyright/License/
- Improve langification
- mark desktop file as config(noreplace)
- move dependency on ldconfig from requires to prereq

* Sat Jul  7 2001 Tim Powers <timp at redhat.com>
- languify to satisfy rpmlint

* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche at redhat.de>
- delete Packager: line in spec file

* Tue Jun 26 2001 Florian La Roche <Florian.LaRoche at redhat.de>
- exclude s390,s390x

* Fri Jun 22 2001 Preston Brown <pbrown at redhat.com>
- build for dist

* Thu Feb  8 2001 Tim Powers <timp at redhat.com>
- updated to 0.99, bug fixes/feature enhancements

* Tue Dec 19 2000 Tim Powers <timp at redhat.com>
- rebuilt. For some reason buildsystem made the dirs 777 again. Now
  it's fine.

* Fri Dec 15 2000 Tim Powers <timp at redhat.com>
- fixd bad dir perms for ~/.jpilot (was creating them as 777, needs to
  be 700 for security purposes
- no devel package, was a waste to do that when only two files are included
- use %%makeinstall, and predefined macros for dirs so that if
  %%configure and %%makeinstall change it can be picked up without
  further editing of the files section
- changed Copyright, it's GPL'ed
 
* Thu Nov 23 2000 Than Ngo <than at redhat.com>
- add missing plugin library and jpilot-dump
- made devel package
- clean up spec file

* Mon Jul 24 2000 Prospector <prospector at redhat.com>
- rebuilt

* Mon Jul 10 2000 Tim Powers <timp at redhat.com>
- rebuilt

* Fri Jun 30 2000 Prospector <bugzilla at redhat.com>
- automatic rebuild

* Mon May 15 2000 Tim Powers <timp at redhat.com>
- using applnk now instead of a GNOME specific menu entry
- built for 7.0

* Wed Apr 19 2000 Tim Powers <timp at redhat.com>
- added desktop entry for GNOME

* Wed Apr 12 2000 Tim Powers <timp at redhat.com>
- updated to 0.98.1

* Mon Apr 3 2000 Tim Powers <timp at redhat.com>
- updated to 0.98
- bzipped source
- using percent configure instead of ./configure
- quiet setup
- minor spec file cleanups

* Tue Dec 21 1999 Tim Powers <timp at redhat.com>
- changed requires

* Mon Oct 25 1999 Tim Powers <timp at redhat.com>
- changed group to Applications/Productivity
- first build