libwnck-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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.7
  9. Release: 2%{?_dist_release}
  10. URL: ftp://ftp.gnome.org
  11. Source0: http://ftp.gnome.org/pub/GNOME/sources/libwnck/2.30/%{name}-%{version}.tar.xz
  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, Takemikaduchi
  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. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.7-2
  89. - rebuild with VineSeed environment
  90. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.7-1
  91. - new upstream release
  92. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.6-3
  93. - remove /usr/bin
  94. * Sun Feb 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.6-2
  95. - rename wnckprop (wnckprop2)
  96. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.6-1
  97. - new upstream release
  98. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.5-1
  99. - new upstream release
  100. - add BuildRequires: gobject-introspection-devel
  101. - add configure option (--enable-introspection=yes)
  102. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  103. - rebuild with rpm-4.8.1 for pkg-config file
  104. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  105. - new upstream release
  106. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  107. - new upstream release
  108. * Fri Feb 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.0-2
  109. - rebuilt with new toolchain
  110. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  111. - new upstream release
  112. - added --disable-static to %%configure
  113. * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.26.2-2
  114. - update requires and BR(add libXres*)
  115. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  116. - new upstream release
  117. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  118. - new upstream release
  119. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  120. - new upstream release
  121. * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  122. - new upstream release
  123. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  124. - new upstream release
  125. * Mon Jun 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1
  126. - new upstream release
  127. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  128. - new upstream release
  129. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  130. - new upstream release
  131. * Mon Dec 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  132. - new upstream release
  133. - added Patch0, 1 and 2 from Fedora
  134. * Tue Jul 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.5-2
  135. - Fix a crash on shutdown in the wnck-applet
  136. * Wed Mar 28 2007 Kristian Høgsberg <krh@redhat.com> - 2.18.0-2
  137. - Add compiz integration patches from GNOME #352383:
  138. - libwnck-2.18.0-appearance.patch
  139. - libwnck-2.18.0-viewport.patch
  140. - libwnck-2.18.0-above.patch
  141. * Mon May 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  142. - new upstream release
  143. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  144. - new upstream release
  145. * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  146. - new upstream release
  147. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  148. - new upstream release
  149. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  150. - new upstream release
  151. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
  152. - new upstream release
  153. * Sat Feb 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  154. - new upstream release
  155. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  156. - new upstream release
  157. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  158. - new upstream release
  159. * Sat Aug 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.91-0vl1
  160. - new upstream release
  161. * Wed Aug 03 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.4-0vl1
  162. - new upstream release
  163. * Sun Jul 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.3-0vl1
  164. - new upstream release
  165. * Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  166. - new upstream version
  167. * Mon Nov 08 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  168. - new upstream release
  169. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
  170. - new upstream release
  171. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  172. - new upstream release
  173. * Sat May 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  174. - new upstream release
  175. * Fri Apr 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  176. - new upstream release
  177. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  178. - new upstream release
  179. * Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  180. - new upstream release
  181. * Wed Jan 8 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl2
  182. - fixed BuildRequires/Requires.
  183. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  184. - build for Vine Linux
  185. - new upstream release from gnome-2.1.4
  186. * Fri Nov 8 2002 Havoc Pennington <hp@redhat.com>
  187. - 2.1.3
  188. * Thu Oct 31 2002 Havoc Pennington <hp@redhat.com>
  189. - 0.18 that displays standalone dialogs in task list
  190. * Sun Aug 25 2002 Havoc Pennington <hp@redhat.com>
  191. - 0.17 allows clicking a task to minimize it, and DND over a task to
  192. switch to it, adds translations, and fixes a couple crash things in
  193. the accessibility stuff.
  194. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  195. - 0.16 with some tasklist fixes and
  196. pager fixes
  197. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  198. - automated rebuild
  199. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  200. - remove empty NEWS
  201. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  202. - 0.14
  203. * Thu Jun 06 2002 Havoc Pennington <hp@redhat.com>
  204. - rebuild in different environment
  205. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  206. - 0.13
  207. - add ldconfig to post/postun
  208. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  209. - automated rebuild
  210. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  211. - rebuild in different environment
  212. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  213. - 0.12
  214. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  215. - 0.9
  216. * Wed Apr 17 2002 Havoc Pennington <hp@redhat.com>
  217. - 0.8
  218. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  219. - 0.3
  220. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  221. - Rebuild with new glib and gtk+
  222. * Wed Jan 23 2002 Havoc Pennington <hp@redhat.com>
  223. - Initial build