libappindicator-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Summary: allow applications to export a menu into the Unity Menu bar
  2. Name: libappindicator
  3. Version: 12.10.0
  4. Release: 1%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. Packager: iwaim
  8. License: LGPLv3
  9. URL: https://launchpad.net/libappindicator
  10. Source0: %{name}-%{version}.tar.gz
  11. Patch0: 0001_Fix_mono_dir.patch
  12. # https://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.16.10/revision/285
  13. Patch1: incompatible_pointer_build_fix.patch
  14. Patch2: nopython.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: gtk3-devel >= 2.91
  17. BuildRequires: glib2-devel >= 2.26
  18. BuildRequires: libindicator-devel >= 0.4.93
  19. BuildRequires: autoconf
  20. BuildRequires: automake
  21. BuildRequires: gtk-doc
  22. BuildRequires: vala
  23. BuildRequires: dbus-glib-devel
  24. BuildRequires: libdbusmenu-devel
  25. BuildRequires: libdbusmenu-gtk-devel
  26. BuildRequires: gobject-introspection-devel
  27. BuildRequires: gtk3-devel
  28. BuildRequires: libindicator-devel
  29. BuildRequires: libindicator-gtk3-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: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. %description devel
  39. The %{name}-devel package contains the header files and libraries.
  40. %prep
  41. %setup -q
  42. %build
  43. export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
  44. %configure --with-gtk=3
  45. make
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. %makeinstall
  49. %__rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}3.{a,la}
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(-,root,root,-)
  54. %license COPYING
  55. %doc AUTHORS ChangeLog NEWS README
  56. %{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
  57. %{_libdir}/%{name}3.so.*
  58. %{_datadir}/gir-1.0/AppIndicator3-0.1.gir
  59. %{_datadir}/gtk-doc/html/%{name}
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_includedir}/%{name}3-0.1
  63. %{_libdir}/%{name}3.so
  64. %{_libdir}/pkgconfig/appindicator3-0.1.pc
  65. %changelog
  66. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 12.10.0-1
  67. - Initial build.