Blame SPECS/vte291.spec

14c9f0
%global apiver 2.91
14c9f0
14c9f0
Name:           vte291
98e95b
Version:        0.52.2
98e95b
Release:        2%{?dist}
14c9f0
Summary:        Terminal emulator library
14c9f0
14c9f0
License:        LGPLv2+
14c9f0
URL:            http://www.gnome.org/
f5073b
98e95b
Source0:        http://download.gnome.org/sources/vte/0.52/vte-%{version}.tar.xz
f5073b
Source1:        %{name}-git.mk
f5073b
f5073b
# https://bugzilla.gnome.org/show_bug.cgi?id=711059
6ffb75
# https://bugzilla.redhat.com/show_bug.cgi?id=1103380
f5073b
Patch100:       %{name}-command-notify-scroll-speed.patch
f5073b
f5073b
# https://bugzilla.redhat.com/show_bug.cgi?id=1443504
98e95b
# https://bugzilla.redhat.com/show_bug.cgi?id=1590537
f5073b
Patch101:       %{name}-restore-gnome-pty-helper.patch
14c9f0
98e95b
# https://bugzilla.redhat.com/show_bug.cgi?id=1569801
98e95b
Patch102:       %{name}-avoid-braced-initialization.patch
98e95b
f5073b
BuildRequires:  autoconf
f5073b
BuildRequires:  automake
f5073b
BuildRequires:  libtool
14c9f0
BuildRequires:  gettext
f5073b
BuildRequires:  pkgconfig(gnutls)
14c9f0
BuildRequires:  gobject-introspection-devel
f5073b
BuildRequires:  gperf
98e95b
BuildRequires:  pkgconfig(gtk+-3.0)
f5073b
BuildRequires:  pkgconfig(libpcre2-8)
14c9f0
BuildRequires:  intltool
f5073b
BuildRequires:  vala
14c9f0
14c9f0
# initscripts creates the utmp group
14c9f0
Requires:       initscripts
14c9f0
Requires:       vte-profile
14c9f0
f5073b
Conflicts:      gnome-terminal < 3.20.1-2
f5073b
14c9f0
%description
14c9f0
VTE is a library implementing a terminal emulator widget for GTK+. VTE
14c9f0
is mainly used in gnome-terminal, but can also be used to embed a
14c9f0
console/terminal in games, editors, IDEs, etc.
14c9f0
14c9f0
%package        devel
14c9f0
Summary:        Development files for %{name}
14c9f0
Requires:       %{name}%{?_isa} = %{version}-%{release}
14c9f0
14c9f0
%description devel
14c9f0
The %{name}-devel package contains libraries and header files for
14c9f0
developing applications that use %{name}.
14c9f0
14c9f0
# vte-profile is deliberately not noarch to avoid having to obsolete a noarch
14c9f0
# subpackage in the future when we get rid of the vte3 / vte291 split. Yum is
14c9f0
# notoriously bad when handling noarch obsoletes and insists on installing both
14c9f0
# of the multilib packages (i686 + x86_64) as the replacement.
14c9f0
%package -n     vte-profile
14c9f0
Summary:        Profile script for VTE terminal emulator library
14c9f0
License:        GPLv3+
14c9f0
# vte.sh was previously part of the vte3 package
14c9f0
Conflicts:      vte3 < 0.36.1-3
14c9f0
14c9f0
%description -n vte-profile
14c9f0
The vte-profile package contains a profile.d script for the VTE terminal
14c9f0
emulator library.
14c9f0
14c9f0
%prep
14c9f0
%setup -q -n vte-%{version}
f5073b
%patch100 -p1 -b .command-notify-scroll-speed
f5073b
%patch101 -p1 -b .restore-gnome-pty-helper
98e95b
%patch102 -p1 -b .avoid-braced-initialization
14c9f0
14c9f0
%build
f5073b
install -m 0644 %{SOURCE1} ./git.mk
f5073b
autoreconf --force --install
f5073b
98e95b
CFLAGS="%optflags -fPIE -DPIE -Wno-nonnull" \
14c9f0
CXXFLAGS="$CFLAGS" \
14c9f0
LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now -pie" \
14c9f0
%configure \
14c9f0
        --disable-static \
14c9f0
        --libexecdir=%{_libdir}/vte-%{apiver} \
14c9f0
        --disable-gtk-doc \
14c9f0
        --enable-gnome-pty-helper \
14c9f0
        --enable-introspection
14c9f0
make %{?_smp_mflags} V=1
14c9f0
14c9f0
%install
14c9f0
%make_install
14c9f0
14c9f0
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
14c9f0
14c9f0
%find_lang vte-%{apiver}
14c9f0
14c9f0
%post -p /sbin/ldconfig
14c9f0
14c9f0
%postun -p /sbin/ldconfig
14c9f0
14c9f0
%files -f vte-%{apiver}.lang
f5073b
%license COPYING
f5073b
%doc NEWS README
14c9f0
%{_libdir}/libvte-%{apiver}.so.0*
14c9f0
%dir %{_libdir}/vte-%{apiver}
14c9f0
%attr(2711,root,utmp) %{_libdir}/vte-%{apiver}/gnome-pty-helper
14c9f0
%{_libdir}/girepository-1.0/
14c9f0
14c9f0
%files devel
14c9f0
%{_bindir}/vte-%{apiver}
14c9f0
%{_includedir}/vte-%{apiver}/
14c9f0
%{_libdir}/libvte-%{apiver}.so
14c9f0
%{_libdir}/pkgconfig/vte-%{apiver}.pc
14c9f0
%{_datadir}/gir-1.0/
14c9f0
%doc %{_datadir}/gtk-doc/
14c9f0
%{_datadir}/vala/
14c9f0
14c9f0
%files -n vte-profile
14c9f0
%{_sysconfdir}/profile.d/vte.sh
14c9f0
14c9f0
%changelog
98e95b
* Thu Jun 07 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.52.2-2
98e95b
- Fix race between gnome-pty-helper and VteTerminal
98e95b
Resolves: #1569801, #1590537
98e95b
98e95b
* Thu Jun 07 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.52.2-1
98e95b
- Update to 0.52.2
98e95b
Resolves: #1569801
98e95b
f5073b
* Tue May 23 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.46.2-1
f5073b
- Update to 0.46.2
f5073b
- Backport upstream patch to remove an unused variable
f5073b
Resolves: #1387056
f5073b
f5073b
* Mon May 22 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.46.1-2
f5073b
- Restore gnome-pty-helper
f5073b
- Add git.mk and other dependencies to regenerate the build scripts
f5073b
Resolves: #1443504
f5073b
f5073b
* Fri Feb 24 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.46.1-1
f5073b
- Update to 0.46.1
f5073b
- Drop upstreamed patches
f5073b
- Drop workaround for old GTK+ bug (#1238315)
f5073b
- Rebase downstream patches
f5073b
Resolves: #1387056
f5073b
6ffb75
* Fri May 13 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.38.4-2
6ffb75
- Add a property to configure the scroll speed
6ffb75
Resolves: #1103380
6ffb75
6ffb75
* Wed Mar 09 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.38.4-1
6ffb75
- Update to 0.38.4
6ffb75
Resolves: #1303630
6ffb75
6ffb75
* Wed Feb 24 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.38.3-3
6ffb75
- Backport support for CSI 3J (clear scrollback)
6ffb75
Resolves: #1186623
6ffb75
14c9f0
* Wed Jul 01 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.38.3-2
14c9f0
- Don't hide the mouse pointer
14c9f0
Resolves: #1238315
14c9f0
14c9f0
* Fri Apr 17 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.38.3-1
14c9f0
- Update to 0.38.3
14c9f0
Resolves: #1184192
14c9f0
14c9f0
* Tue Dec 02 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.38.2-3
14c9f0
- Change default to TERM=xterm-256color (RH #1166428)
14c9f0
14c9f0
* Mon Dec 01 2014 Debarshi Ray <rishi@fedoraproject.org> - 0.38.2-2
14c9f0
- Backport upstream patch to fix zombie shells (GNOME #740929)
14c9f0
14c9f0
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 0.38.2-1
14c9f0
- Update to 0.38.2
14c9f0
14c9f0
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.38.1-1
14c9f0
- Update to 0.38.1
14c9f0
14c9f0
* Sun Sep 14 2014 Kalev Lember <kalevlember@gmail.com> - 0.38.0-1
14c9f0
- Update to 0.38.0
14c9f0
14c9f0
* Mon Aug 18 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.90-1
14c9f0
- Update to 0.37.90
14c9f0
14c9f0
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37.2-3
14c9f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
14c9f0
14c9f0
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.2-2
14c9f0
- Rebuilt for gobject-introspection 1.41.4
14c9f0
14c9f0
* Tue Jun 24 2014 Richard Hughes <rhughes@redhat.com> - 0.37.2-1
14c9f0
- Update to 0.37.2
14c9f0
14c9f0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37.1-2
14c9f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
14c9f0
14c9f0
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.1-1
14c9f0
- Update to 0.37.1
14c9f0
14c9f0
* Wed May 07 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.0-2
14c9f0
- Split out a vte-profile subpackage that can be used with both vte291 / vte3
14c9f0
14c9f0
* Tue May 06 2014 Kalev Lember <kalevlember@gmail.com> - 0.37.0-1
14c9f0
- Initial Fedora package, based on previous vte3 0.36 packaging