libstroke-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. Name: libstroke
  2. Version: 0.5.1
  3. Release: 24%{?_dist_release}
  4. Summary: A stroke interface library
  5. License: GPLv2
  6. URL: http://www.etla.net/%{name}/
  7. Source: http://www.etla.net/%{name}/%{name}-%{version}.tar.gz
  8. Group: System Environment/Libraries
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk+-devel
  11. BuildRequires: libtool
  12. BuildRequires: pkgconfig
  13. Patch0: libstroke-aclocal.patch
  14. Patch1: libstroke-multilib.patch
  15. %description
  16. LibStroke is a stroke interface library. Strokes are motions
  17. of the mouse that can be interpreted by a program as a command.
  18. %package -n %{name}-devel
  19. Summary: Development files for the libstroke library
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: automake
  23. %description -n %{name}-devel
  24. Development files for the libstroke library.
  25. %package -n libgstroke
  26. Summary: Optional libgstroke files
  27. Group: System Environment/Libraries
  28. %description -n libgstroke
  29. GNOME version of LibStroke (libgstroke).
  30. LibStroke is a stroke interface library. Strokes are motions
  31. of the mouse that can be interpreted by a program as a command.
  32. %package -n libgstroke-devel
  33. Summary: Development files for the libstroke library
  34. Group: Development/Libraries
  35. Requires: libgstroke = %{version}-%{release}
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: automake
  38. %description -n libgstroke-devel
  39. Development files for the libgstroke library.
  40. %package -n javastroke
  41. Summary: Optional java files
  42. Group: System Environment/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. %description -n javastroke
  45. Java interface for stroke and example application
  46. %prep
  47. %setup -q
  48. %patch0 -p1 -b .aclocal
  49. %patch1 -p1 -b .multilib
  50. #if 0%{?fedora} < 11
  51. #cp -p %{_datadir}/libtool/config.sub .
  52. #cp -p %{_datadir}/libtool/config.guess .
  53. #else
  54. cp -p %{_datadir}/libtool/config/config.sub .
  55. cp -p %{_datadir}/libtool/config/config.guess .
  56. #endif
  57. %build
  58. %configure \
  59. --disable-static \
  60. --with-x=yes
  61. make %{?_smp_mflags}
  62. %install
  63. rm -rf %{buildroot}
  64. make INSTALL="%{__install} -p" install DESTDIR=%{buildroot}
  65. mkdir -p %{buildroot}%{_datadir}/stroke/java
  66. cp -p javastroke/*.java %{buildroot}%{_datadir}/stroke/java
  67. rm %{buildroot}%{_libdir}/*.la
  68. %clean
  69. rm -rf %{buildroot}
  70. %post -p /sbin/ldconfig
  71. %postun -p /sbin/ldconfig
  72. %post -n libgstroke -p /sbin/ldconfig
  73. %postun -n libgstroke -p /sbin/ldconfig
  74. %files -n %{name}
  75. %defattr(-,root,root)
  76. %doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
  77. %{_libdir}/libstroke.so.*
  78. %files -n %{name}-devel
  79. %defattr(-,root,root)
  80. %doc doc/standard_strokes*
  81. %{_datadir}/aclocal/libstroke.m4
  82. %{_libdir}/libstroke.so
  83. %{_includedir}/stroke.h
  84. %files -n libgstroke
  85. %defattr(-,root,root)
  86. %doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
  87. %{_libdir}/libgstroke.so.*
  88. %files -n libgstroke-devel
  89. %defattr(-,root,root)
  90. %doc README.libgstroke
  91. %{_datadir}/aclocal/libgstroke.m4
  92. %{_libdir}/libgstroke.so
  93. %{_includedir}/gstroke.h
  94. %files -n javastroke
  95. %defattr(-,root,root)
  96. %doc javastroke/README
  97. %{_datadir}/stroke/
  98. %Changelog
  99. * Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.1-24
  100. - Initial build for Vine Linux
  101. * Mon Dec 29 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-21
  102. - fix for EL-5 build; pdgconfig as BR
  103. * Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-20
  104. - fix for rawhide's libtool 2.2.6
  105. * Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-19
  106. - rebuild for proper tagging
  107. * Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-18
  108. - fix for x86_64 build fix RHBZ # 465030
  109. * Mon Jun 16 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-17
  110. - Bugfix 449516 FTBFS libstroke-0.5.1-17.fc9
  111. * Thu Aug 23 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-16
  112. - mass rebuild for fedora 8 - ppc32
  113. * Tue Jun 26 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-15
  114. - patch for multilib #241448
  115. * Thu Mar 01 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-14
  116. - patch for underquoted definitions #226886
  117. * Mon Feb 26 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-13
  118. - Fixed multilibs issues for rawhide
  119. * Fri Sep 01 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-12
  120. - Removed automake as BR
  121. * Fri Sep 01 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-11
  122. - fixed ownership of directories
  123. * Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-10
  124. - Removed duplicates
  125. * Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-9
  126. - Removed "conflicts: libstroke-devel"
  127. * Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-8
  128. - fixed ownership of directories
  129. * Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-7
  130. - rebuilt for FC5 and later with minor fixes
  131. * Tue Aug 29 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-6
  132. - rebuilt for FC5 and later with minor fixes
  133. * Sun Apr 2 2006 Wojciech Kazubski <wk at ire.pw.edu.pl> - 0.5.1-5
  134. - rebuilt for FC5,
  135. - specfile cleanups
  136. * Sun Jun 19 2005 Wojciech Kazubski <wk at ire.pw.edu.pl>
  137. - rebuilt for Fedora Core 4
  138. * Thu May 5 2005 Wojciech Kazubski <wk at ire.pw.edu.pl>
  139. - re-divided
  140. * Sat Dec 11 2004 Wojciech Kazubski <wk at ire.pw.edu.pl>
  141. - rebuilt for Fedora Core 3
  142. * Tue Feb 4 2003 Wojciech Kazubski <wk at ire.pw.edu.pl>
  143. - libstroke-gnome splited.
  144. * Wed Dec 19 2001 Wojciech Kazubski <wk at ire.pw.edu.pl>
  145. - first RedHat version.