libwnck3-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. ## don't replace ltmain.sh
  2. %define __libtoolize :
  3. %define glib2_version 2.32.0
  4. %define gtk3_version 3.4.0
  5. %define startup_notification_version 0.10
  6. Summary: Window Navigator Construction Kit
  7. Name: libwnck3
  8. Version: 3.4.7
  9. Release: 1%{?_dist_release}
  10. URL: ftp://ftp.gnome.org
  11. Source0: http://ftp.gnome.org/pub/GNOME/sources/libwnck/3.4/libwnck-%{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: Takemikaduchi
  19. Requires: glib2 >= %{glib2_version}
  20. Requires: gtk3 >= %{gtk3_version}
  21. Requires: startup-notification >= %{startup_notification_version}
  22. Requires: libXres
  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. %configure --disable-static --enable-introspection=yes
  62. make %{?_smp_mflags}
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. make install DESTDIR=$RPM_BUILD_ROOT
  66. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  67. %find_lang libwnck-3.0
  68. %post -p /sbin/ldconfig
  69. %postun -p /sbin/ldconfig
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %files -f libwnck-3.0.lang
  73. %defattr(-,root,root)
  74. %doc AUTHORS COPYING 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}/gtk-doc
  85. %{_datadir}/gir-1.0
  86. %changelog
  87. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.7-1
  88. - new upstream release
  89. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.6-1
  90. - new upstream release
  91. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.5-1
  92. - new upstream release
  93. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1
  94. - new upstream release
  95. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1
  96. - new upstream release
  97. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  98. - new upstream release
  99. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  100. - new upstream release
  101. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  102. - new upstream release
  103. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  104. - new upstream release
  105. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  106. - new upstream release
  107. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  108. - new upstream release
  109. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  110. - new upstream release
  111. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  112. - initial build for Vine Linux