texstudio/texstudio.spec

99 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: texstudio
Version: 4.6.0
Release: 1mamba
Summary: A fully featured LaTeX editor
Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.texstudio.org/
Source: https://github.com/texstudio-org/texstudio.git/%{version}/texstudio-%{version}.tar.bz2
Patch0: texstudio-4.3.1-fs54269.patch
Patch1: texstudio-4.3.1-fs72345.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libbzip2-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libhunspell-devel
BuildRequires: libpoppler-cpp-devel
BuildRequires: libpoppler-qt5-devel
BuildRequires: libqtermwidget-devel
BuildRequires: libquazip-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: libquazip-qt6-devel >= 0:1.4-1mamba
Requires: texlive-latex
%description
A fully featured LaTeX editor.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
cd src
%patch 0 -p1 -b .fs54269
%patch 1 -p1 -b .fs72345
cd ..
%build
#:<< _EOF
%cmake -d build
#qmake-qt6 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 QUAZIP_LIB=-lquazip1-qt6 \
# QUAZIP_INCLUDE="%{_includedir}/QuaZip-Qt6-1.3/quazip" texstudio.pro
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/texstudio
%{_datadir}/applications/texstudio.desktop
%{_datadir}/icons/hicolor/scalable/apps/texstudio.svg
%{_datadir}/metainfo/texstudio.metainfo.xml
%dir %{_datadir}/texstudio
%{_datadir}/texstudio/*
%doc COPYING
%changelog
* Sat Jul 29 2023 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
- automatic version update by autodist
* Mon Apr 24 2023 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
- automatic version update by autodist
* Fri Mar 10 2023 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
- automatic version update by autodist
* Thu Feb 16 2023 Sdk Build System <sdk@mambasoft.it> 4.4.1-2mamba
- rebuilt by autoport with build requirements: libquazip-qt6-devel>=0:1.4-1mamba
* Mon Nov 28 2022 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
- automatic version update by autodist
* Sun Nov 20 2022 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
- automatic version update by autodist
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-1mamba
- package created using the webbuild interface