Blame deepin-terminal.spec

7119fbf
Name:           deepin-terminal
62c11a8
Version:        3.2.1.1
e87c5f9
Release:        1%{?dist}
7119fbf
Summary:        Default terminal emulation application for Deepin
7119fbf
License:        GPLv3
7119fbf
URL:            https://github.com/linuxdeepin/deepin-terminal
7119fbf
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
7119fbf
7119fbf
BuildRequires:  cmake
50f4e7c
BuildRequires:  gcc-c++
7119fbf
BuildRequires:  gettext
b29de3d
BuildRequires:  vala-devel
b29de3d
BuildRequires:  pkgconfig(fontconfig)
b29de3d
BuildRequires:  pkgconfig(gtk+-3.0)
b29de3d
BuildRequires:  pkgconfig(gee-0.8)
b29de3d
BuildRequires:  pkgconfig(json-glib-1.0)
b29de3d
BuildRequires:  pkgconfig(libsecret-1)
b29de3d
BuildRequires:  pkgconfig(libwnck-3.0)
be4ee51
BuildRequires:  pkgconfig(librsvg-2.0)
d204e3e
BuildRequires:  pkgconfig(vapigen)
b29de3d
BuildRequires:  pkgconfig(vte-2.91)
7119fbf
# right-click menu style
7119fbf
Requires:       deepin-menu
7119fbf
# run command by create_from_commandline
7119fbf
Requires:       deepin-shortcut-viewer
7119fbf
Requires:       expect
7119fbf
Requires:       xdg-utils
7119fbf
Recommends:     deepin-manual
be4ee51
Recommends:     zssh
7119fbf
Requires:       %{name}-data = %{version}-%{release}
7119fbf
7119fbf
%description
d2706bd
%{summary}.
7119fbf
7119fbf
%package data
7119fbf
Summary:        Data files of Deepin Terminal
7119fbf
BuildArch:      noarch
7119fbf
Requires:       hicolor-icon-theme
7119fbf
7119fbf
%description data
7119fbf
The %{name}-data package provides shared data for Deepin Terminal.
7119fbf
7119fbf
%prep
7119fbf
%setup -q
2f03525
sed -i '/ssh_login/s|lib|libexec|' lib/utils.vala CMakeLists.txt
2f03525
sed -i '/stdc++/d' CMakeLists.txt
7119fbf
7119fbf
# remove es_419 locale
7119fbf
rm -rf po/es_419/
7119fbf
sed -i '/es_419/d' deepin-terminal.desktop
7119fbf
7119fbf
%build
f1b739b
%cmake -DCMAKE_BUILD_TYPE=Release \
f1b739b
       -DTEST_BUILD=OFF \
f1b739b
       -DUSE_VENDOR_LIB=OFF \
4645939
       -DVERSION=%{version} \
4645939
       .
7119fbf
%make_build
7119fbf
7119fbf
%install
7119fbf
%make_install
7119fbf
7119fbf
%find_lang %{name}
7119fbf
7119fbf
%preun
7119fbf
if [ $1 -eq 0 ]; then
7119fbf
  %{_sbindir}/alternatives --remove x-terminal-emulator %{_bindir}/%{name}
7119fbf
fi
7119fbf
7119fbf
%post
7119fbf
if [ $1 -ge 1 ]; then
7119fbf
  %{_sbindir}/alternatives --install %{_bindir}/x-terminal-emulator \
7119fbf
    x-terminal-emulator %{_bindir}/%{name} 20
7119fbf
fi
7119fbf
7119fbf
%files
7119fbf
%doc README.md
7119fbf
%license LICENSE
7119fbf
%{_bindir}/%{name}
be4ee51
%{_libexecdir}/%{name}/ssh_login.sh
7119fbf
7119fbf
%files data -f %{name}.lang
7119fbf
%{_datadir}/%{name}/
7119fbf
%{_datadir}/icons/hicolor/*/apps/%{name}*
7119fbf
%{_datadir}/applications/%{name}.desktop
7119fbf
7119fbf
%changelog
62c11a8
* Tue Feb 26 2019 Robin Lee <cheeselee@fedoraproject.org> - 3.2.1.1-1
62c11a8
- Update to 3.2.1.1
62c11a8
- Remove triggers
62c11a8
e87c5f9
* Thu Jan 31 2019 mosquito <sensor.wen@gmail.com> - 3.2.1-1
e87c5f9
- Update to 3.2.1
e87c5f9
92210ac
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.12-3
92210ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
92210ac
4645939
* Wed Jan 23 2019 Björn Esser <besser82@fedoraproject.org> - 3.0.12-2
4645939
- Append curdir to CMake invokation. (#1668512)
4645939
f1b739b
* Wed Dec 12 2018 mosquito <sensor.wen@gmail.com> - 3.0.12-1
f1b739b
- Update to 3.0.12
f1b739b
62c8927
* Thu Nov 29 2018 mosquito <sensor.wen@gmail.com> - 3.0.11.1-1
62c8927
- Update to 3.0.11.1
62c8927
f1a4be0
* Wed Nov 21 2018 mosquito <sensor.wen@gmail.com> - 3.0.10.2-1
f1a4be0
- Update to 3.0.10.2
f1a4be0
2f03525
* Fri Nov  9 2018 mosquito <sensor.wen@gmail.com> - 3.0.10-1
2f03525
- Update to 3.0.10
2f03525
14e5a4b
* Sat Aug 25 2018 mosquito <sensor.wen@gmail.com> - 3.0.3-1
14e5a4b
- Update to 3.0.3
14e5a4b
d2706bd
* Fri Jul 27 2018 mosquito <sensor.wen@gmail.com> - 3.0.1-1
d2706bd
- Update to 3.0.1
d2706bd
2147b40
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-3
2147b40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2147b40
47077cb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-2
47077cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
47077cb
be4ee51
* Thu Dec  7 2017 mosquito <sensor.wen@gmail.com> - 2.9.2-1
be4ee51
- Update to 2.9.2
be4ee51
be4ee51
* Wed Nov 15 2017 mosquito <sensor.wen@gmail.com> - 2.7.6-1
be4ee51
- Update to 2.7.6
be4ee51
be4ee51
* Fri Oct 27 2017 mosquito <sensor.wen@gmail.com> - 2.7.4-1
be4ee51
- Update to 2.7.4
be4ee51
be4ee51
* Mon Oct 23 2017 mosquito <sensor.wen@gmail.com> - 2.7.2-1
be4ee51
- Update to 2.7.2
be4ee51
846ff28
* Tue Oct 17 2017 mosquito <sensor.wen@gmail.com> - 2.7-1
846ff28
- Update to 2.7
846ff28
2c0bbfa
* Mon Oct 16 2017 mosquito <sensor.wen@gmail.com> - 2.6.4-1
2c0bbfa
- Update to 2.6.4
2c0bbfa
- Unbundle vte
2c0bbfa
2c0bbfa
* Thu Sep 21 2017 mosquito <sensor.wen@gmail.com> - 2.6.1-1
2c0bbfa
- Update to 2.6.1
2c0bbfa
b29de3d
* Tue Aug 29 2017 mosquito <sensor.wen@gmail.com> - 2.5.5-1
b29de3d
- Update to 2.5.5
b29de3d
b29de3d
* Mon Aug 21 2017 mosquito <sensor.wen@gmail.com> - 2.5.3-1
b29de3d
- Update to 2.5.3
b29de3d
7119fbf
* Mon Jul 31 2017 mosquito <sensor.wen@gmail.com> - 2.5.2-1
7119fbf
- Update to 2.5.2
7119fbf
b29de3d
* Fri Jul 21 2017 mosquito <sensor.wen@gmail.com> - 2.5.1-2.git82c4a12
7119fbf
- Split package
7119fbf
b29de3d
* Tue Jul 18 2017 mosquito <sensor.wen@gmail.com> - 2.5.1-1.git82c4a12
7119fbf
- Update to 2.5.1
7119fbf
b29de3d
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 2.5.0-1.git439ab57
7119fbf
- Update to 2.5.0
7119fbf
b29de3d
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 2.4.2-1.git76b20cd
7119fbf
- Update to 2.4.2
7119fbf
b29de3d
* Tue Mar  7 2017 mosquito <sensor.wen@gmail.com> - 2.2.2-1.git3ec5488
7119fbf
- Update to 2.2.2
7119fbf
b29de3d
* Sat Feb 11 2017 mosquito <sensor.wen@gmail.com> - 2.1.12-1.git4f7069e
7119fbf
- Update to 2.1.12
7119fbf
b29de3d
* Sun Feb  5 2017 mosquito <sensor.wen@gmail.com> - 2.1.9-3.git1ded038
7119fbf
- Rewrite Req depends
7119fbf
b29de3d
* Sat Jan 28 2017 mosquito <sensor.wen@gmail.com> - 2.1.9-2.git1ded038
7119fbf
- Add trigger for terminal emulator
7119fbf
b29de3d
* Sat Jan 28 2017 mosquito <sensor.wen@gmail.com> - 2.1.9-1.git1ded038
7119fbf
- Update to 2.1.9
7119fbf
b29de3d
* Sun Jan 22 2017 mosquito <sensor.wen@gmail.com> - 2.1.7-2.git32f96be
7119fbf
- Add x-terminal-emulator command for dde-file-manager
7119fbf
b29de3d
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 2.1.7-1.git32f96be
7119fbf
- Update to 2.1.7
7119fbf
7119fbf
* Thu Jan 12 2017 Jaroslav <cz.guardian@gmail.com> Stepanek 2.1.6-1
7119fbf
- Updated to version 2.1.6
7119fbf
7119fbf
* Thu Dec 15 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 2.1.5-2
7119fbf
- Fixed icon path
7119fbf
7119fbf
* Mon Dec 12 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 2.1.5-1
7119fbf
- Initial package build