libwnck3-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. ## don't replace ltmain.sh
  2. %define __libtoolize :
  3. %define glib2_version 2.32.0
  4. %define gtk3_version 3.24.0
  5. %define startup_notification_version 0.10
  6. %global origname libwnck
  7. Summary: Window Navigator Construction Kit
  8. Name: libwnck3
  9. Version: 3.36.0
  10. Release: 1%{?_dist_release}
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. URL: https://developer.gnome.org/libwnck/stable/
  14. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  15. Source0: https://download.gnome.org/sources/%{origname}/%{shortver}/%{origname}-%{version}.tar.xz
  16. License: LGPLv2+
  17. BuildRoot: %{_tmppath}/%{name}-root
  18. Requires: glib2 >= %{glib2_version}
  19. Requires: gtk3 >= %{gtk3_version}
  20. Requires: startup-notification >= %{startup_notification_version}
  21. Requires: libXres
  22. BuildRequires: meson
  23. BuildRequires: glib2-devel >= %{glib2_version}
  24. BuildRequires: gtk3-devel >= %{gtk3_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. # Conflicts: libwnck < 2.31
  30. Patch1: libwnck-2.18.0-above.patch
  31. # http://bugzilla.gnome.org/show_bug.cgi?id=459984
  32. Patch2: crash-on-shutdown.patch
  33. %description
  34. libwnck3 (pronounced "libwink") is used to implement pagers, tasklists,
  35. and other such things. It allows applications to monitor information
  36. about open windows, workspaces, their names/icons, and so forth.
  37. %package devel
  38. Summary: Libraries and headers for libwnck
  39. Group: Development/Libraries
  40. Requires: %{name} = %{version}
  41. Requires: glib2-devel >= %{glib2_version}
  42. Requires: gtk3-devel >= %{gtk3_version}
  43. Requires: pkgconfig
  44. # added 2.26.2-2
  45. Requires: startup-notification-devel >= %{startup_notification_version}
  46. Requires: libXres-devel
  47. # Conflicts: libwnck-devel < 2.31
  48. %description devel
  49. libwnck3 (pronounced "libwink") is used to implement pagers, tasklists,
  50. and other such things. It allows applications to monitor information
  51. about open windows, workspaces, their names/icons, and so forth.
  52. You should install the libwnck-devel package if you would like to
  53. compile applications that use libwnck. You don't need libwnck-devel
  54. just to use precompiled applications.
  55. %prep
  56. %setup -q -n libwnck-%{version}
  57. #patch0 -p1 -b .appearance
  58. %patch1 -p1 -b .above
  59. %patch2 -p1 -b .crash-on-shutdown
  60. %build
  61. %meson
  62. %meson_build
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. %meson_install
  66. %find_lang libwnck-3.0
  67. %post -p /sbin/ldconfig
  68. %postun -p /sbin/ldconfig
  69. %clean
  70. rm -rf $RPM_BUILD_ROOT
  71. %files -f libwnck-3.0.lang
  72. %defattr(-,root,root)
  73. %license COPYING
  74. %doc AUTHORS ChangeLog README
  75. %{_bindir}/*
  76. %{_libdir}/lib*.so.*
  77. %{_libdir}/girepository-1.0/*
  78. %files devel
  79. %defattr(-,root,root)
  80. #{_libdir}/lib*.a
  81. %{_libdir}/lib*.so
  82. %{_libdir}/pkgconfig/*
  83. %{_includedir}/*
  84. %{_datadir}/gir-1.0/*
  85. %changelog
  86. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1
  87. - new upstream release.
  88. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  89. - new upstream release
  90. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  91. - update to 3.14.0
  92. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.9-1
  93. - new upstream release
  94. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-2
  95. - rebuild with VineSeed environment
  96. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-1
  97. - new upstream release
  98. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.6-1
  99. - new upstream release
  100. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.5-1
  101. - new upstream release
  102. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1
  103. - new upstream release
  104. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1
  105. - new upstream release
  106. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  107. - new upstream release
  108. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  109. - new upstream release
  110. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  111. - new upstream release
  112. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  113. - new upstream release
  114. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  115. - new upstream release
  116. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  117. - new upstream release
  118. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  119. - new upstream release
  120. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  121. - initial build for Vine Linux