libappindicator-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. License: LGPLv3
  6. Group: System Environment/Libraries
  7. URL: https://launchpad.net/libappindicator
  8. Source0: %{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: iwaim
  13. BuildRequires: gtk3-devel >= 2.91
  14. BuildRequires: glib2-devel >= 2.26
  15. BuildRequires: libindicator-devel >= 0.4.93
  16. BuildRequires: libdbusmenu-gtk-devel >= 0.5.90
  17. BuildRequires: python-devel
  18. BuildRequires: pygtk2-devel >= 2.14.0
  19. BuildRequires: pygobject-devel
  20. %description
  21. A library to allow applications to export a menu into the Unity Menu bar.
  22. Based on KSNI it also works in KDE and will fallback to generic Systray
  23. support if none of those are available.
  24. %package devel
  25. Summary: Header files and libraries for developing apps which will use %{name}
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. The %{name}-devel package contains the header files and libraries.
  30. %prep
  31. %setup -q
  32. %build
  33. export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
  34. %configure --with-gtk=3
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %makeinstall
  39. %__rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}3.{a,la}
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc AUTHORS COPYING ChangeLog NEWS README
  45. %{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
  46. %{_libdir}/%{name}3.so.*
  47. %{_datadir}/gir-1.0/AppIndicator3-0.1.gir
  48. %{_datadir}/gtk-doc/html/%{name}
  49. %files devel
  50. %defattr(-,root,root,-)
  51. %{_includedir}/%{name}3-0.1
  52. %{_libdir}/%{name}3.so
  53. %{_libdir}/pkgconfig/appindicator3-0.1.pc
  54. %changelog
  55. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 12.10.0-1
  56. - Initial build.