Advertisement
muhammadrefa

manokwari.spec

Oct 4th, 2017
2,884
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %global _hardened_build 1
  2. %global _vpath_builddir build
  3.  
  4. Name:       manokwari
  5. Version:    1.0.15
  6. Release:    1%{?dist}
  7. License:    GPL-2.0
  8. Summary:    Desktop shell for GNOME 3 with Gtk+ and HTML5 frontend
  9. URL:        http://manokwari.blankonlinux.or.id
  10.  
  11. Source0: https://github.com/BlankOn/manokwari/archive/%{version}.tar.gz
  12.  
  13. BuildRequires: pkgconfig(glib-2.0) >= 2.12.0
  14. BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.8
  15. BuildRequires: pkgconfig(atk) >= 2.0.0
  16. BuildRequires: pkgconfig(gee-1.0) >= 0.6.1
  17. BuildRequires: pkgconfig(cairo) >= 1.10.2
  18. BuildRequires: pkgconfig(libgnome-menu-3.0) >= 2.30.5
  19. BuildRequires: pkgconfig(libwnck-3.0) >= 3.0.0
  20. BuildRequires: pkgconfig(unique-3.0) >= 3.0.0
  21. BuildRequires: pkgconfig(webkitgtk-3.0) >= 1.3.0
  22. BuildRequires: pkgconfig(x11) >= 1.6.0
  23. BuildRequires: pkgconfig(libnotify) >= 0.7.6
  24.  
  25. BuildRequires: vala >= 0.28
  26. BuildRequires: meson
  27. BuildRequires: intltool
  28.  
  29. Requires: hicolor-icon-theme
  30. Requires: gnome-session
  31. Requires: gnome-settings-daemon
  32. Requires: gnome-control-center
  33. Requires: NetworkManager-gnome
  34. Requires: libwebkitgtk3-devel
  35. Requires: libnotify4
  36.  
  37. %description
  38. Manokwari is a desktop shell for GNOME 3 with Gtk+ and HTML5 frontend
  39.  
  40. %prep
  41. %autosetup -p1
  42.  
  43. %build
  44. mkdir build
  45. export LC_ALL=en_US.utf8
  46. %meson build
  47. %meson_build
  48.  
  49. %install
  50. export LC_ALL=en_US.utf8
  51. %meson_install
  52.  
  53. %find_lang %{name}
  54.  
  55. %post
  56. /sbin/ldconfig
  57. /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  58.  
  59. %postun
  60. /sbin/ldconfig
  61. if [ $1 -eq 0 ]; then
  62.     /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  63.     /usr/bin/update-desktop-database &> /dev/null
  64.     /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  65. fi
  66.  
  67. %posttrans
  68. /usr/bin/update-desktop-database &> /dev/null
  69. /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  70.  
  71. %files -f %{name}.lang
  72. %doc DESIGN.md HACKING.md Styling.md
  73. %license COPYING
  74. %{_bindir}/%{name}
  75. %{_bindir}/blankon-session
  76. %config(noreplace) %{_sysconfdir}/xdg/menus/%{name}-applications.menu
  77. %{_libdir}/%{name}/
  78. %{_datadir}/applications/%{name}.desktop
  79. %{_datadir}/gnome-session/sessions/blankon.session
  80. %{_datadir}/xsessions/blankon.desktop
  81.  
  82. %changelog
  83. * Tue Aug 08 2017 La Ode Muh. Fadlun Akbar <fadlun.net@gmail.com> - 1.0.13-1
  84. - initial package
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement