2024-01-05 17:18:25 +01:00
|
|
|
Name: qtermwidget
|
2024-01-05 17:18:25 +01:00
|
|
|
Version: 0.16.0
|
2024-01-05 17:18:25 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A terminal emulator widget for Qt 5
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/lxqt/qtermwidget
|
|
|
|
Source: https://github.com/lxqt/qtermwidget.git/%{version}/qtermwidget-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A terminal emulator widget for Qt 5.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
find %{buildroot}/usr/share/*/translations/ -name *.qm | \
|
|
|
|
while read line; do
|
|
|
|
bn=`echo ${line}|cut -d_ -f2-3`
|
|
|
|
echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/qtermwidget5
|
|
|
|
%dir %{_datadir}/qtermwidget5/color-schemes
|
|
|
|
%{_datadir}/qtermwidget5/color-schemes/*
|
|
|
|
%dir %{_datadir}/qtermwidget5/kb-layouts
|
|
|
|
%dir %{_datadir}/qtermwidget5/kb-layouts/historic
|
|
|
|
%{_datadir}/qtermwidget5/kb-layouts/historic/*
|
|
|
|
%{_datadir}/qtermwidget5/kb-layouts/*.keytab
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libqtermwidget5.so.*
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/qtermwidget5
|
|
|
|
%{_includedir}/qtermwidget5/*.h
|
|
|
|
%dir %{_libdir}/cmake/qtermwidget5
|
|
|
|
%{_libdir}/cmake/qtermwidget5/qtermwidget5-*.cmake
|
|
|
|
%{_libdir}/libqtermwidget5.so
|
|
|
|
%{_libdir}/pkgconfig/qtermwidget5.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:18:25 +01:00
|
|
|
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:18:25 +01:00
|
|
|
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
|
|
|
|
- package created using the webbuild interface
|