Advertisement
david_david

vte2.spec

Jun 8th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. %define api2 2.90
  2. %define major2 9
  3. %define libname2 %mklibname vte 2_90 %{major2}
  4. %define girname2 %mklibname vte-gir %{api2}
  5. %define develname2 %mklibname %{name} -d
  6.  
  7. %define url_ver %(echo %{version}|cut -d. -f1,2)
  8.  
  9. Name: vte2
  10. Version: 0.36.2
  11. Release: %mkrel 1
  12. Summary: A terminal emulator widget
  13. License: LGPLv2+
  14. Group: System/Libraries
  15. URL: http://www.gnome.org/
  16. Source0: https://download.gnome.org/sources/vte/%{url_ver}/vte-%{version}.tar.xz
  17. # See https://bugzilla.gnome.org/show_bug.cgi?id=663779
  18. Patch0: vte-gtk32-meta-map.patch
  19. BuildRequires: pkgconfig(cairo-xlib)
  20. BuildRequires: pkgconfig(gio-2.0)
  21. BuildRequires: pkgconfig(gio-unix-2.0)
  22. BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
  23. BuildRequires: pkgconfig(gobject-2.0)
  24. BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.9
  25. BuildRequires: pkgconfig(pango) >= 1.22.0
  26. BuildRequires: pkgconfig(x11)
  27. BuildRequires: pkgconfig(ncurses)
  28. BuildRequires: automake
  29. BuildRequires: gtk-doc
  30. BuildRequires: gobject-introspection-devel
  31. BuildRequires: intltool
  32.  
  33. %description
  34. VTE is a terminal emulator widget for use with GTK+ 3.0.
  35.  
  36. %package -n %{libname2}
  37. Summary: A terminal emulator widget
  38. Group: System/Libraries
  39. Requires: %{name} >= %{version}
  40.  
  41. %description -n %{libname2}
  42. VTE is a terminal emulator widget for use with GTK+ 3.0.
  43.  
  44. %package -n %{develname2}
  45. Summary: Files needed for developing applications which use VTE
  46. Group: Development/C
  47. Requires: %{libname2} = %{version}-%{release}
  48. Provides: %{name}-devel = %{version}-%{release}
  49.  
  50. %description -n %{develname2}
  51. VTE is a terminal emulator widget for use with GTK+ 3.0. This
  52. package contains the files needed for building applications using VTE.
  53.  
  54. %package -n %{girname2}
  55. Summary: GObject Introspection interface description for vte with GTK+ 3.0
  56. Group: System/Libraries
  57. Requires: %{libname2} = %{version}-%{release}
  58. Conflicts: %{libname2} < 0.28.1-2
  59.  
  60. %description -n %{girname2}
  61. GObject Introspection interface description for vte with GTK+ 3.0.
  62.  
  63. %prep
  64. %setup -qn vte-%{version}
  65. %apply_patches
  66.  
  67. %build
  68. %configure2_5x \
  69. --enable-shared \
  70. --disable-static \
  71. --libexecdir=%{_libexecdir}/%{name} \
  72. --enable-gtk-doc \
  73. --enable-introspection
  74. %make
  75.  
  76. %install
  77. %makeinstall_std
  78.  
  79. #we don't want these
  80. find %{buildroot} -name "*.la" -delete
  81.  
  82. %find_lang vte-%{api2}
  83.  
  84. %files -f vte-%{api2}.lang
  85. %doc COPYING HACKING NEWS README
  86. %{_sysconfdir}/profile.d/vte.sh
  87. %{_bindir}/vte2_90
  88. %dir %{_libexecdir}/%{name}
  89. %attr(2711,root,utmp) %{_libexecdir}/%{name}/gnome-pty-helper
  90.  
  91. %files -n %{libname2}
  92. %{_libdir}/libvte2_90.so.%{major2}
  93. %{_libdir}/libvte2_90.so.%{major2}.*
  94.  
  95. %files -n %{girname2}
  96. %{_libdir}/girepository-1.0/Vte-%{api2}.typelib
  97.  
  98. %files -n %{develname2}
  99. %doc %{_datadir}/gtk-doc/html/vte-%{api2}
  100. %{_includedir}/vte-%{api2}
  101. %{_libdir}/libvte2_90.so
  102. %{_libdir}/pkgconfig/vte-%{api2}.pc
  103. %{_datadir}/gir-1.0/Vte-%{api2}.gir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement