libwnck-vl.spec 8.6 KB

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