Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
vte
vte.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vte.spec of Package vte
# # spec file for package vte # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _sover 2_90-9 %define _apiver 2.90 %define _binver 2_90 %define _gtkver 3.0 Name: vte %define _name vte Url: http://www.gnome.org Version: 0.34.9 Release: 0 Summary: Terminal Emulator Library License: LGPL-2.0 and GPL-2.0+ Group: Development/Libraries/GNOME Source: http://download.gnome.org/sources/vte/0.34/%{_name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: ncurses-devel BuildRequires: translation-update-upstream BuildRequires: pkgconfig(gladeui-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. %package -n libvte%{_sover} Summary: Terminal Emulator Library License: LGPL-2.0 Group: System/Libraries Requires: gnome-pty-helper Recommends: %{name}-lang # Needed to make lang package installable (and because we used to # have a vte package earlier). Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n libvte%{_sover} VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. %package -n typelib-1_0-Vte-%{?_binver} Summary: Terminal Emulator Library -- Introspection bindings License: LGPL-2.0 Group: System/Libraries %description -n typelib-1_0-Vte-%{?_binver} VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. This package provides the GObject Introspection bindings for VTE. %package -n gnome-pty-helper Summary: Terminal Emulator Library -- Helper for utmp/wtmp/lastlog logging License: LGPL-2.0 Group: System/Libraries PreReq: permissions %description -n gnome-pty-helper VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. This package provides a helper for utmp/wtmp/lastlog logging. %package tools Summary: Terminal Emulator Library -- Tools License: LGPL-2.0 Group: System/Libraries %description tools VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. This package provides tools using VTE. %package -n glade-catalog-vte Summary: Terminal Emulator Library -- Catalog for Glade License: LGPL-2.0 and GPL-2.0 Group: Development/Tools/GUI Builders Requires: glade Requires: libvte%{_sover} = %{version} Supplements: packageand(glade:%{name}-devel) %description -n glade-catalog-vte VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. This package provides a catalog for Glade, to allow the use of VTE widgets in Glade. %package devel Summary: Terminal Emulator Library -- Development Files License: LGPL-2.0 Group: Development/Libraries/GNOME Requires: libvte%{_sover} = %{version} Requires: typelib-1_0-Vte-%{?_binver} = %{version} Provides: vte-doc = %{version} Obsoletes: vte-doc < %{version} %description devel VTE is a terminal emulator library that provides a terminal widget for use with GTK+ as well as handling of child process and terminal emulation settings. This package contains the files needed for building applications using VTE. %lang_package %prep %setup -q -n %{_name}-%{version} translation-update-upstream %build export SUID_CFLAGS="-fPIE" export SUID_LDFLAGS="-pie" %configure --with-pic\ --with-gtk=%{_gtkver}\ --disable-static \ --enable-glade-catalogue \ --enable-introspection %__make %{?jobs:-j%jobs} V=1 %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %find_lang vte-%{_apiver} find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %fdupes $RPM_BUILD_ROOT %post -n libvte%{_sover} -p /sbin/ldconfig %postun -n libvte%{_sover} -p /sbin/ldconfig %post -n gnome-pty-helper %set_permissions %{_libexecdir}/gnome-pty-helper %verifyscript -n gnome-pty-helper %verify_permissions -e %{_libexecdir}/gnome-pty-helper %files -n libvte%{_sover} %defattr(-,root,root) %doc AUTHORS COPYING README NEWS ChangeLog %{_libdir}/*.so.* %files -n typelib-1_0-Vte-%{?_binver} %defattr(-,root,root) %{_libdir}/girepository-1.0/Vte-%{_apiver}.typelib %files -n gnome-pty-helper %defattr(-,root,root) %verify (not mode) %attr (2755, root, utmp) %{_libexecdir}/gnome-pty-helper %{_sysconfdir}/profile.d/vte.sh %files tools %defattr(-,root,root) %{_bindir}/vte%{?_binver} %files -n glade-catalog-vte %defattr(-,root,root) %{_datadir}/glade/catalogs/vte.xml %{_datadir}/glade/pixmaps/hicolor/*/*/widget-vte-terminal.png %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/vte-%{_apiver}/ %{_datadir}/gir-1.0/*.gir # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/vte-%{_apiver}/ %files lang -f vte-%{_apiver}.lang %clean rm -rf $RPM_BUILD_ROOT %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor