libappindicator-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: allow applications to export a menu into the Unity Menu bar
  2. Name: libappindicator
  3. Version: 12.10.0
  4. Release: 2%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: iwaim
  9. License: LGPLv3
  10. URL: https://launchpad.net/libappindicator
  11. Source0: %{name}-%{version}.tar.gz
  12. Patch0: 0001_Fix_mono_dir.patch
  13. # https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10/revision/285
  14. Patch1: incompatible_pointer_build_fix.patch
  15. Patch2: nopython.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: gtk3-devel >= 2.91
  18. BuildRequires: glib2-devel >= 2.26
  19. BuildRequires: libindicator-devel >= 0.4.93
  20. BuildRequires: autoconf
  21. BuildRequires: automake
  22. BuildRequires: gtk-doc
  23. BuildRequires: vala
  24. BuildRequires: dbus-glib-devel
  25. BuildRequires: libdbusmenu-devel
  26. BuildRequires: libdbusmenu-gtk-devel
  27. BuildRequires: gobject-introspection-devel
  28. BuildRequires: gtk3-devel
  29. BuildRequires: libindicator-devel
  30. %description
  31. A library to allow applications to export a menu into the Unity Menu bar.
  32. Based on KSNI it also works in KDE and will fallback to generic Systray
  33. support if none of those are available.
  34. %package devel
  35. Summary: Header files and libraries for developing apps which will use %{name}
  36. Group: programming
  37. Requires: %{name} = %{version}-%{release}
  38. %description devel
  39. The %{name}-devel package contains the header files and libraries.
  40. %debug_package
  41. %prep
  42. %setup -q
  43. %patch0 -p1 -b .monodir
  44. %patch1 -p1 -b .incompatible_pointer_build_fix
  45. %patch2 -p1 -b .nopython
  46. sed -i "s#gmcs#mcs#g" configure.ac
  47. # fix for gtk-doc 1.26
  48. sed -i 's/--nogtkinit//' docs/reference/Makefile.am
  49. gtkdocize --copy
  50. cp -f gtk-doc.make gtk-doc.local.make
  51. autoreconf -vif
  52. %build
  53. %global _configure ./configure
  54. export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations -Wno-error"
  55. %configure --with-gtk=3
  56. make V=1
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. %makeinstall
  60. %__rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}3.{a,la}
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %ldconfig_scriptlets
  64. %files
  65. %defattr(-,root,root,-)
  66. %license COPYING
  67. %doc AUTHORS ChangeLog NEWS README
  68. %{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
  69. %{_libdir}/%{name}3.so.*
  70. %{_datadir}/gtk-doc/html/%{name}
  71. %files devel
  72. %defattr(-,root,root,-)
  73. %{_includedir}/%{name}3-0.1
  74. %{_libdir}/%{name}3.so
  75. %{_libdir}/pkgconfig/appindicator3-0.1.pc
  76. %{_datadir}/gir-1.0/AppIndicator3-0.1.gir
  77. %dir %{_datadir}/vala
  78. %dir %{_datadir}/vala/vapi
  79. %{_datadir}/vala/vapi/appindicator3-0.1.vapi
  80. %{_datadir}/vala/vapi/appindicator3-0.1.deps
  81. %changelog
  82. * Fri Feb 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.10.0-2
  83. - rebuilt with current environment.
  84. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 12.10.0-1
  85. - Initial build.