jpilot-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. %define name jpilot
  2. %define version 0.99.9
  3. %define pilot_link_version 0.11.7
  4. Name: %{name}
  5. Summary: Palm pilot desktop for Linux
  6. Summary(ja): Palm Desktop の Linux版
  7. Version: %{version}
  8. Release: 1%{?_dist_release}
  9. License: GPL
  10. Group: Applications/Communications
  11. URL: http://www.jpilot.org/
  12. Source: http://wwww.jpilot.org/%{name}-%{version}.tar.gz
  13. Patch: jpilot.jp.patch
  14. Patch1: jpilot-0.99.4-usbinfo.patch.bz2
  15. Patch2: jpilot-0.99.1u-plugins-improvement.patch.bz2
  16. BuildPreReq: gettext, gtk2-devel >= 2.0.3
  17. BuildPreReq: pilot-link-devel >= %{pilot_link_version}
  18. BuildPreReq: openssl-devel, ImageMagick
  19. Requires: pilot-link >= %{pilot_link_version}, gtk2 >= 2.0.3
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. J-Pilot is a desktop organizer application for the palm pilot that runs
  25. under Linux and UNIX. It is similar in functionality to the one that 3com
  26. distributes for a well known rampant legacy operating system.
  27. %description -l ja
  28. J-Pilot は Linux と UNIX で使用できる Palm handheld device 用の連携ソフト
  29. です。このソフトは Palm 社が Windows 向けに提供しているものと同様の機能を
  30. 備えています。
  31. %prep
  32. %setup -q
  33. #%patch -p0
  34. #%patch1 -p1
  35. %patch2 -p1
  36. %build
  37. %configure --enable-stock-buttons FORCE_PILOT_LIBS=%{_libdir}
  38. %{__make}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. %makeinstall
  42. # copy icon pixmap.
  43. %__install -d -m 755 ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  44. %__install -m644 %{_builddir}/%{name}-%{version}/icons/jpilot-icon4.xpm ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/jpilot.xpm
  45. %find_lang %{name}
  46. # clean documentation done by makefile itself.
  47. #rm -rf %{buildroot}/usr/doc
  48. perl -p -i -e 's|%{buildroot}||' %{buildroot}/%{_libdir}/*la
  49. mkdir -p %{buildroot}/%{_includedir}
  50. install -m 644 {libplugin,prefs}.h %{buildroot}%{_includedir}/
  51. ## remove unuse files
  52. rm -rf %{buildroot}%{_libdir}/*.la
  53. #%post -p /sbin/ldconfig
  54. #%postun -p /sbin/ldconfig
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %files -f %{name}.lang
  58. %defattr(-,root,root)
  59. %doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO
  60. %doc docs/manual.html docs/jpilot-*.png docs/jpilot-*.jpg
  61. %doc docs/plugin.html
  62. %{_bindir}/*
  63. %{_datadir}/jpilot/jpilotrc.*
  64. %{_datadir}/jpilot/*.pdb
  65. %{_datadir}/applications/jpilot.desktop
  66. %{_datadir}/pixmaps/jpilot.xpm
  67. %{_mandir}/man1/*
  68. %{_libdir}/*.so.*
  69. %{_libdir}/*.so
  70. #%{_libdir}/*.la
  71. %{_includedir}/*.h
  72. %changelog
  73. * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.99.9-1vl5
  74. - applied new versioning policy, spec in utf-8
  75. - added FORCE_PILOT_LIBS to %%configure
  76. - removed *.la
  77. * Sat Sep 02 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.99.9-0vl1
  78. - source update
  79. - unset --enable-gtk2 option (now gtk2 build is default).
  80. * Wed Nov 26 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.99.8-0vl1
  81. - source update
  82. - add japanese translation.
  83. - update Source URI.
  84. - change configure option.
  85. (build with gtk2 and use gtk stock icons on buttons.)
  86. - change Requires and BuildPreReq. (gtk1 to gtk2)
  87. - comment out unnecessary step in %%install section.
  88. - use %%find_lang macro in %%install section.(also %%files section)
  89. - add %%{_datadir}/applications/jpilot.desktop in %%file section.
  90. - build for VineSeed Plus.
  91. - add icon pixmap.
  92. * Mon Mar 25 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.99.5-0vl1
  93. - source update
  94. * Tue Feb 18 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.99.4-0vl1
  95. - source update and synced with 0.99.4-1mdk
  96. * Thu Jan 16 2003 Fran輟is Pons <fpons@mandrakesoft.com> 0.99.4-1mdk
  97. - patch and documentations files updated.
  98. - removed ldconfig from %%post and %%postun.
  99. - use provided icons by project and convert them to png on the fly.
  100. - fixed headers in a true include directory.
  101. - 0.99.4 and pilot-link-0.11.6.
  102. * Tue Oct 15 2002 Fran輟is Pons <fpons@mandrakesoft.com> 0.99.3-1mdk
  103. - 0.99.3 and pilot-link-0.11.5.
  104. * Thu Aug 08 2002 Fran輟is Pons <fpons@mandrakesoft.com> 0.99.2-5mdk
  105. - rebuild with pilot-link-0.11.3.
  106. * Sat Aug 3 2002 Stefan van der Eijk <stefan@eijk.nu> 0.99.2-4mdk
  107. - BuildRequires
  108. * Wed Jul 17 2002 Fran輟is Pons <fpons@mandrakesoft.com> 0.99.2-3mdk
  109. - rebuild with pilot-link-0.11.0.
  110. - more strict requires from jpilot-plugin-devel to jpilot.
  111. * Thu Jun 13 2002 Fran輟is Pons <fpons@mandrakesoft.com> 0.99.2-2mdk
  112. - rebuild with pilot-link-0.10.99.
  113. - added missing requires for devel package.
  114. - moved some files in devel package.
  115. * Tue May 28 2002 Fran輟is Pons <fpons@mandrakesoft.com> 0.99.2-1mdk
  116. - add patch to fix directory creation right.
  117. - 0.99.2.
  118. * Mon Jan 28 2002 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.9mdk
  119. - Upgrade to latest snapshot.
  120. * Tue Jan 15 2002 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.8mdk
  121. - Add Jason Day contributed code from pre to get jpilot-syncmal works.
  122. * Thu Jan 10 2002 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.7mdk
  123. - Upgrade to latest snapshot.
  124. * Fri Dec 7 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.6mdk
  125. - Last dated snapshot.
  126. - Fix rpmlint's.
  127. * Mon Nov 19 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.5mdk
  128. - Fix DESTDIR with makeinstall.
  129. * Sat Sep 29 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.4mdk
  130. - rpmlint fixes.
  131. * Sat Jun 23 2001 Stefan van der Eijk <stefan@eijk.nu> 0.99.1-0.3mdk
  132. - BuildRequires: gtk+-devel
  133. * Wed Jun 20 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.2mdk
  134. - Fix plugins loading.
  135. * Wed Jun 20 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.1mdk
  136. - Sanitize spec file.
  137. - 0.99.1 pre.
  138. * Sun Jun 10 2001 Stefan van der Eijk <stefan@eijk.nu> 0.99-3mdk
  139. - BuildRequires: pilot-link-devel
  140. * Sun Apr 22 2001 Stew Benedict <sbenedict@mandrakesoft.com> 0.99-2mdk
  141. - need prefs.h in plugins for jpilot-syncmal
  142. * Thu Feb 08 2001 Geoffrey lee <snailtalk@mandrakesoft.com> 0.99-1mdk
  143. - new and shiny source.
  144. - change the URL.
  145. - change the URL on the source tag.
  146. - Don't apply patch1 anymore. (security mode 0700 fix.)
  147. - remove libplugin.a (can't find it anymore.)
  148. - when using tar use -j to pass through the bzip2 filter, not -I.
  149. * Mon Oct 22 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.98.1-0vl3
  150. - changed URL and Source (upstream moved)
  151. - use RPM macros
  152. - added Requires: pilot-link, gtk+ >= 1.2.0
  153. - added BuildPreReq: gtk+-devel >= 1.2.0
  154. * Wed Sep 12 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.98.1-0vl2
  155. - added BuildPreReq: pilot-link-devel
  156. * Sat Oct 7 2000 Jun Nishii <jun@vinelinux.org>
  157. - 0.98.1-0vl1 based on 0.98.1-2 on the jpilot page
  158. - build for Vine Linux 2.1