libstroke-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Name: libstroke
  2. Version: 0.5.1
  3. Release: 25%{?_dist_release}
  4. Summary: A stroke interface library
  5. License: GPLv2
  6. Group: System Environment/Libraries
  7. URL: http://www.etla.net/%{name}/
  8. Source0: http://www.etla.net/%{name}/%{name}-%{version}.tar.gz
  9. Patch0: libstroke-aclocal.patch
  10. Patch1: libstroke-multilib.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk+-devel
  13. BuildRequires: libtool
  14. BuildRequires: pkgconfig
  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. Summary(ja): libstroke の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: automake
  24. %description -n %{name}-devel
  25. Development files for the libstroke library.
  26. %package -n libgstroke
  27. Summary: Optional libgstroke files
  28. Group: System Environment/Libraries
  29. %description -n libgstroke
  30. GNOME version of LibStroke (libgstroke).
  31. LibStroke is a stroke interface library. Strokes are motions
  32. of the mouse that can be interpreted by a program as a command.
  33. %package -n libgstroke-devel
  34. Summary: Development files for the libgstroke library
  35. Summary(ja): libgstroke の開発用ファイル
  36. Group: Development/Libraries
  37. Requires: libgstroke = %{version}-%{release}
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: automake
  40. %description -n libgstroke-devel
  41. Development files for the libgstroke library.
  42. %package -n javastroke
  43. Summary: Port of the LibStroke library to Java
  44. Group: Development/Libraries
  45. BuildArch: noarch
  46. Requires: %{name} = %{version}-%{release}
  47. %description -n javastroke
  48. Java interface for stroke and example application
  49. %prep
  50. %setup -q
  51. %patch0 -p1 -b .aclocal
  52. %patch1 -p1 -b .multilib
  53. cp -p %{_datadir}/libtool/config/config.sub .
  54. cp -p %{_datadir}/libtool/config/config.guess .
  55. %build
  56. %configure \
  57. --disable-static \
  58. --with-x=yes
  59. make %{?_smp_mflags}
  60. %install
  61. rm -rf %{buildroot}
  62. make INSTALL="%{__install} -p" install DESTDIR=%{buildroot}
  63. mkdir -p %{buildroot}%{_datadir}/stroke/java
  64. cp -p javastroke/*.java %{buildroot}%{_datadir}/stroke/java
  65. rm %{buildroot}%{_libdir}/*.la
  66. %clean
  67. rm -rf %{buildroot}
  68. %post -p /sbin/ldconfig
  69. %postun -p /sbin/ldconfig
  70. %post -n libgstroke -p /sbin/ldconfig
  71. %postun -n libgstroke -p /sbin/ldconfig
  72. %files -n %{name}
  73. %defattr(-,root,root)
  74. %doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
  75. %{_libdir}/libstroke.so.*
  76. %files -n %{name}-devel
  77. %defattr(-,root,root)
  78. %doc doc/standard_strokes*
  79. %{_datadir}/aclocal/libstroke.m4
  80. %{_libdir}/libstroke.so
  81. %{_includedir}/stroke.h
  82. %files -n libgstroke
  83. %defattr(-,root,root)
  84. %doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
  85. %{_libdir}/libgstroke.so.*
  86. %files -n libgstroke-devel
  87. %defattr(-,root,root)
  88. %doc README.libgstroke
  89. %{_datadir}/aclocal/libgstroke.m4
  90. %{_libdir}/libgstroke.so
  91. %{_includedir}/gstroke.h
  92. %files -n javastroke
  93. %defattr(-,root,root)
  94. %doc javastroke/README
  95. %{_datadir}/stroke/
  96. %Changelog
  97. * Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.5.1-25
  98. - rebuilt on current VineSeed
  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.