libwnck-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. ## don't replace ltmain.sh
  2. %define __libtoolize :
  3. %define glib2_version 2.26.1
  4. %define gtk2_version 2.22.1
  5. %define startup_notification_version 0.10
  6. Summary: Window Navigator Construction Kit
  7. Name: libwnck
  8. Version: 2.30.6
  9. Release: 3%{?_dist_release}
  10. URL: ftp://ftp.gnome.org
  11. Source0: http://ftp.gnome.org/pub/GNOME/sources/libwnck/2.30/%{name}-%{version}.tar.bz2
  12. License: LGPLv2+
  13. Group: System Environment/Libraries
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. # follow 3lines was added 2.26.2-2
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: inagaki,yasumichi
  19. Requires: glib2 >= %{glib2_version}
  20. Requires: gtk2 >= %{gtk2_version}
  21. Requires: startup-notification >= %{startup_notification_version}
  22. Requires: libXres
  23. BuildRequires: glib2-devel >= %{glib2_version}
  24. BuildRequires: gtk2-devel >= %{gtk2_version}
  25. BuildRequires: startup-notification-devel >= %{startup_notification_version}
  26. BuildRequires: perl-XML-Parser gettext
  27. BuildRequires: libXres-devel
  28. BuildRequires: gobject-introspection-devel
  29. Patch1: libwnck-2.18.0-above.patch
  30. # http://bugzilla.gnome.org/show_bug.cgi?id=459984
  31. Patch2: crash-on-shutdown.patch
  32. %description
  33. libwnck (pronounced "libwink") is used to implement pagers, tasklists,
  34. and other such things. It allows applications to monitor information
  35. about open windows, workspaces, their names/icons, and so forth.
  36. %package devel
  37. Summary: Libraries and headers for libwnck
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}
  40. Requires: glib2-devel >= %{glib2_version}
  41. Requires: gtk2-devel >= %{gtk2_version}
  42. Requires: pkgconfig
  43. # added 2.26.2-2
  44. Requires: startup-notification-devel >= %{startup_notification_version}
  45. Requires: libXres-devel
  46. %description devel
  47. libwnck (pronounced "libwink") is used to implement pagers, tasklists,
  48. and other such things. It allows applications to monitor information
  49. about open windows, workspaces, their names/icons, and so forth.
  50. You should install the libwnck-devel package if you would like to
  51. compile applications that use libwnck. You don't need libwnck-devel
  52. just to use precompiled applications.
  53. %prep
  54. %setup -q
  55. #patch0 -p1 -b .appearance
  56. %patch1 -p1 -b .above
  57. %patch2 -p1 -b .crash-on-shutdown
  58. %build
  59. %configure --disable-static --enable-introspection=yes
  60. make %{?_smp_mflags}
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. make install DESTDIR=$RPM_BUILD_ROOT
  64. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  65. mv -f $RPM_BUILD_ROOT%{_bindir}/wnckprop $RPM_BUILD_ROOT%{_bindir}/wnckprop2
  66. # This package is merely compat for gtk2 apps, now.
  67. # The binaries are shipped in libwnck3
  68. rm -rf $RPM_BUILD_ROOT%{_bindir}
  69. %find_lang %{name}
  70. %post -p /sbin/ldconfig
  71. %postun -p /sbin/ldconfig
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %files -f %{name}.lang
  75. %defattr(-,root,root)
  76. %doc AUTHORS COPYING ChangeLog README
  77. #%{_bindir}/*
  78. %{_libdir}/lib*.so.*
  79. %{_libdir}/girepository-1.0
  80. %files devel
  81. %defattr(-,root,root)
  82. %{_libdir}/lib*.so
  83. %{_libdir}/pkgconfig/*
  84. %{_includedir}/*
  85. %{_datadir}/gtk-doc
  86. %{_datadir}/gir-1.0
  87. %changelog
  88. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.6-3
  89. - remove /usr/bin
  90. * Sun Feb 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.6-2
  91. - rename wnckprop (wnckprop2)
  92. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.6-1
  93. - new upstream release
  94. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.5-1
  95. - new upstream release
  96. - add BuildRequires: gobject-introspection-devel
  97. - add configure option (--enable-introspection=yes)
  98. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  99. - rebuild with rpm-4.8.1 for pkg-config file
  100. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  101. - new upstream release
  102. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  103. - new upstream release
  104. * Fri Feb 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.0-2
  105. - rebuilt with new toolchain
  106. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  107. - new upstream release
  108. - added --disable-static to %%configure
  109. * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2-2
  110. - update requires and BR(add libXres*)
  111. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  112. - new upstream release
  113. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  114. - new upstream release
  115. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  116. - new upstream release
  117. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  118. - new upstream release
  119. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  120. - new upstream release
  121. * Mon Jun 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1
  122. - new upstream release
  123. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  124. - new upstream release
  125. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  126. - new upstream release
  127. * Mon Dec 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  128. - new upstream release
  129. - added Patch0, 1 and 2 from Fedora
  130. * Tue Jul 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.5-2
  131. - Fix a crash on shutdown in the wnck-applet
  132. * Wed Mar 28 2007 Kristian Høgsberg <krh@redhat.com> - 2.18.0-2
  133. - Add compiz integration patches from GNOME #352383:
  134. - libwnck-2.18.0-appearance.patch
  135. - libwnck-2.18.0-viewport.patch
  136. - libwnck-2.18.0-above.patch
  137. * Mon May 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  138. - new upstream release
  139. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  140. - new upstream release
  141. * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  142. - new upstream release
  143. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  144. - new upstream release
  145. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  146. - new upstream release
  147. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  148. - new upstream release
  149. * Sat Feb 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  150. - new upstream release
  151. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  152. - new upstream release
  153. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  154. - new upstream release
  155. * Sat Aug 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.91-0vl1
  156. - new upstream release
  157. * Wed Aug 03 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.4-0vl1
  158. - new upstream release
  159. * Sun Jul 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.3-0vl1
  160. - new upstream release
  161. * Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  162. - new upstream version
  163. * Mon Nov 08 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  164. - new upstream release
  165. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
  166. - new upstream release
  167. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  168. - new upstream release
  169. * Sat May 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  170. - new upstream release
  171. * Fri Apr 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  172. - new upstream release
  173. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  174. - new upstream release
  175. * Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  176. - new upstream release
  177. * Wed Jan 8 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl2
  178. - fixed BuildRequires/Requires.
  179. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  180. - build for Vine Linux
  181. - new upstream release from gnome-2.1.4
  182. * Fri Nov 8 2002 Havoc Pennington <hp@redhat.com>
  183. - 2.1.3
  184. * Thu Oct 31 2002 Havoc Pennington <hp@redhat.com>
  185. - 0.18 that displays standalone dialogs in task list
  186. * Sun Aug 25 2002 Havoc Pennington <hp@redhat.com>
  187. - 0.17 allows clicking a task to minimize it, and DND over a task to
  188. switch to it, adds translations, and fixes a couple crash things in
  189. the accessibility stuff.
  190. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  191. - 0.16 with some tasklist fixes and
  192. pager fixes
  193. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  194. - automated rebuild
  195. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  196. - remove empty NEWS
  197. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  198. - 0.14
  199. * Thu Jun 06 2002 Havoc Pennington <hp@redhat.com>
  200. - rebuild in different environment
  201. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  202. - 0.13
  203. - add ldconfig to post/postun
  204. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  205. - automated rebuild
  206. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  207. - rebuild in different environment
  208. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  209. - 0.12
  210. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  211. - 0.9
  212. * Wed Apr 17 2002 Havoc Pennington <hp@redhat.com>
  213. - 0.8
  214. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  215. - 0.3
  216. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  217. - Rebuild with new glib and gtk+
  218. * Wed Jan 23 2002 Havoc Pennington <hp@redhat.com>
  219. - Initial build