|
johannes lips |
b146856 |
Name: texstudio
|
|
|
4feba66 |
Version: 2.12.2
|
|
|
4feba66 |
Release: 1%{?dist}
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
Summary: A feature-rich editor for LaTeX documents
|
|
johannes lips |
b146856 |
Group: Applications/Publishing
|
|
johannes lips |
b146856 |
# texstudio binary: GPLv3 due to static linkage of bundled qcodeedit
|
|
johannes lips |
b146856 |
# texstudio data and image files: GPLv2+
|
|
johannes lips |
b146856 |
License: GPLv2+ and GPLv3
|
|
johannes lips |
b146856 |
URL: http://texstudio.sourceforge.net
|
|
johannes lips |
b146856 |
|
|
|
fb25551 |
Source0: http://downloads.sourceforge.net/texstudio/texstudio-%{version}.tar.gz
|
|
johannes lips |
b146856 |
Source1: texstudio.desktop
|
|
|
951f9a2 |
Patch1: texstudio-use-system-qtsingleapplication-instead-of-bundled-on.patch
|
|
|
951f9a2 |
Patch2: texstudio-debughelper-arm-fix.patch
|
|
|
9ac1652 |
Patch3: texstudio-disable-update-check.patch
|
|
Rex Dieter |
030eb68 |
# don't muck with default build flags
|
|
Rex Dieter |
030eb68 |
Patch4: texstudio-wtf_flags.patch
|
|
|
352621b |
# Fix for https://sourceforge.net/p/texstudio/bugs/2037/
|
|
|
352621b |
Patch5: texstudio-2.12.0_fix_command_detection.patch
|
|
johannes lips |
b146856 |
|
|
|
29a1782 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
eca63e8 |
BuildRequires: qt5-qtbase-devel
|
|
|
eca63e8 |
BuildRequires: qt5-qttools-devel
|
|
|
eca63e8 |
BuildRequires: qt5-qttools-static
|
|
|
eca63e8 |
BuildRequires: qt5-qtsvg-devel
|
|
|
eca63e8 |
BuildRequires: qt5-qtscript-devel
|
|
johannes lips |
b146856 |
BuildRequires: hunspell-devel
|
|
johannes lips |
b146856 |
BuildRequires: desktop-file-utils
|
|
johannes lips |
b146856 |
BuildRequires: gettext
|
|
|
eca63e8 |
BuildRequires: poppler-qt5-devel
|
|
|
29a1782 |
BuildRequires: qtsingleapplication-qt5-devel
|
|
|
29a1782 |
BuildRequires: qtsinglecoreapplication-qt5-devel
|
|
Rex Dieter |
030eb68 |
BuildRequires: quazip-qt5-devel
|
|
|
29a1782 |
BuildRequires: zlib-devel
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
Requires: tex(latex)
|
|
johannes lips |
b146856 |
Provides: bundled(qcodeedit)
|
|
johannes lips |
b146856 |
Provides: texmakerx = %{version}-%{release}
|
|
johannes lips |
b146856 |
Obsoletes: texmakerx < 2.2-1
|
|
johannes lips |
b146856 |
%description
|
|
johannes lips |
b146856 |
TeXstudio, formerly known as TexmakerX is a fork of the
|
|
johannes lips |
b146856 |
LaTeX IDE TexMaker and gives you an environment where you can
|
|
johannes lips |
b146856 |
easily create and manage LaTeX documents.
|
|
johannes lips |
b146856 |
It provides modern writing support, like interactive spell checking,
|
|
johannes lips |
b146856 |
code folding and syntax highlighting.
|
|
johannes lips |
b146856 |
Also it serves as a starting point from where you can easily run
|
|
johannes lips |
b146856 |
all necessary LaTeX tools.
|
|
johannes lips |
b146856 |
Although TeXstudio has a lot of additional features,
|
|
johannes lips |
b146856 |
it tries to be like an improved version of Texmaker,
|
|
johannes lips |
b146856 |
so it keeps it look&feel.
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%prep
|
|
|
fb25551 |
%setup -q -n %{name}%{version}
|
|
|
951f9a2 |
%patch1 -p1 -b .qtsingle
|
|
|
951f9a2 |
%patch2 -p1 -b .arm
|
|
|
9ac1652 |
%patch3 -p1 -b .update_check
|
|
Rex Dieter |
030eb68 |
%patch4 -p1 -b .wtf_flags
|
|
|
32acd34 |
|
|
Rex Dieter |
030eb68 |
rm -rf {hunspell,qtsingleapplication,quazip}
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%build
|
|
Rex Dieter |
030eb68 |
mkdir %{_target_platform}
|
|
Rex Dieter |
030eb68 |
pushd %{_target_platform}
|
|
Rex Dieter |
030eb68 |
%{qmake_qt5} \
|
|
|
17edb0a |
%ifnarch %{ix86} x86_64 %{arm}
|
|
|
17edb0a |
NO_CRASH_HANDLER=1 \
|
|
|
17edb0a |
%endif
|
|
Rex Dieter |
030eb68 |
USE_SYSTEM_HUNSPELL=1 \
|
|
Rex Dieter |
030eb68 |
USE_SYSTEM_QTSINGLEAPPLICATION=1 \
|
|
Rex Dieter |
030eb68 |
USE_SYSTEM_QUAZIP=1 QUAZIP_LIB=-lquazip5 QUAZIP_INCLUDE=%{_includedir}/quazip5/ \
|
|
Rex Dieter |
030eb68 |
../texstudio.pro
|
|
Rex Dieter |
030eb68 |
popd
|
|
Rex Dieter |
030eb68 |
|
|
Rex Dieter |
030eb68 |
make %{?_smp_mflags} -C %{_target_platform}
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%install
|
|
Rex Dieter |
030eb68 |
make install INSTALL_ROOT=$RPM_BUILD_ROOT -C %{_target_platform}
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
install -Dp -m 0644 utilities/texstudio16x16.png \
|
|
johannes lips |
b146856 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/texstudio.png
|
|
johannes lips |
b146856 |
install -Dp -m 0644 utilities/texstudio22x22.png \
|
|
johannes lips |
b146856 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/texstudio.png
|
|
johannes lips |
b146856 |
install -Dp -m 0644 utilities/texstudio32x32.png \
|
|
johannes lips |
b146856 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/texstudio.png
|
|
johannes lips |
b146856 |
install -Dp -m 0644 utilities/texstudio48x48.png \
|
|
johannes lips |
b146856 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/texstudio.png
|
|
johannes lips |
b146856 |
install -Dp -m 0644 utilities/texstudio64x64.png \
|
|
johannes lips |
b146856 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/46x46/apps/texstudio.png
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{AUTHORS,COPYING,*.desktop,tex*.png,CHANGELOG.txt}
|
|
johannes lips |
b146856 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{*.dic,*.aff}
|
|
johannes lips |
b146856 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/qt_*.qm
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%find_lang %{name} --with-qt
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
|
|
johannes lips |
b146856 |
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%clean
|
|
johannes lips |
b146856 |
rm -rf $RPM_BUILD_ROOT
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%post
|
|
johannes lips |
b146856 |
update-desktop-database &> /dev/null ||:
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
touch --no-create %{_datadir}/icons/hicolor
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%postun
|
|
johannes lips |
b146856 |
update-desktop-database &> /dev/null ||:
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
if [ $1 -eq 0 ] ; then
|
|
johannes lips |
b146856 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
johannes lips |
b146856 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
|
|
johannes lips |
b146856 |
fi
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%posttrans
|
|
johannes lips |
b146856 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%files -f %{name}.lang
|
|
johannes lips |
b146856 |
%defattr(-,root,root,-)
|
|
johannes lips |
b146856 |
%{_bindir}/texstudio
|
|
johannes lips |
b146856 |
%dir %{_datadir}/texstudio/
|
|
|
c4a6bdf |
%{_datadir}/texstudio/*.png
|
|
|
c4a6bdf |
%{_datadir}/texstudio/usermanual.css
|
|
|
4c19c3c |
%{_datadir}/texstudio/latex2e.*
|
|
|
c4a6bdf |
%{_datadir}/texstudio/*.stopWords
|
|
|
8d581aa |
%{_datadir}/texstudio/*.stopWords.level2
|
|
|
813e986 |
%{_datadir}/texstudio/de_DE.badWords
|
|
|
e6b9e2d |
%{_datadir}/texstudio/template_*.tex
|
|
|
eabaaa2 |
%{_datadir}/texstudio/template_*.zip
|
|
|
7b37049 |
%{_datadir}/texstudio/*.json
|
|
|
7b37049 |
%{_datadir}/texstudio/*.js
|
|
johannes lips |
b146856 |
%{_datadir}/texstudio/th_*.dat
|
|
johannes lips |
b146856 |
%{_datadir}/texstudio/usermanual_*.html
|
|
johannes lips |
b146856 |
%{_datadir}/applications/texstudio.desktop
|
|
|
df79cf6 |
%{_datadir}/appdata/texstudio.appdata.xml
|
|
johannes lips |
b146856 |
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
c7444ed |
%{_datadir}/icons/hicolor/*/apps/*.svg
|
|
johannes lips |
b146856 |
|
|
|
3db4228 |
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
%changelog
|
|
|
4feba66 |
* Sat Jan 07 2017 Johannes Lips <hannes@fedoraproject.org> 2.12.2-1
|
|
|
4feba66 |
- Update to latest upstream bugfix release 2.12.2
|
|
|
4feba66 |
|
|
|
352621b |
* Fri Jan 20 2017 Christian Dersch <lupinix@mailbox.org> - 2.12.0-2
|
|
|
352621b |
- Added patch to fix command detection
|
|
|
352621b |
|
|
|
28996e6 |
* Sat Jan 07 2017 Johannes Lips <hannes@fedoraproject.org> 2.12.0-1
|
|
|
28996e6 |
- Update to latest upstream bugfix release 2.12.0
|
|
|
28996e6 |
|
|
|
b8dca2b |
* Tue Dec 13 2016 Caolán McNamara <caolanm@redhat.com> - 2.11.2-4
|
|
|
b8dca2b |
- rebuild for hunspell 1.5.4
|
|
|
b8dca2b |
|
|
|
1748617 |
* Thu Dec 08 2016 Christian Dersch <lupinix@mailbox.org> - 2.11.2-3
|
|
|
8a19fa3 |
- rebuilt against qt5-qtbase-5.7.1-9 fixing issues with QT_VERSION macros
|
|
|
1748617 |
|
|
Rex Dieter |
030eb68 |
* Thu Dec 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 2.11.2-2
|
|
Rex Dieter |
030eb68 |
- support out-of-tree builds
|
|
Rex Dieter |
030eb68 |
- set USE_SYSTEM_HUNSPELL USE_SYSTEM_QUAZIP USE_SYSTEM_QTSINGLEAPPLICATION
|
|
Rex Dieter |
030eb68 |
|
|
|
ca98411 |
* Wed Oct 12 2016 Johannes Lips <hannes@fedoraproject.org> 2.11.2-1
|
|
|
ca98411 |
- Update to latest upstream bugfix release 2.11.2
|
|
|
ca98411 |
|
|
|
6041ab3 |
* Mon May 30 2016 Johannes Lips <hannes@fedoraproject.org> 2.11.0-1
|
|
|
6041ab3 |
- Update to latest upstream bugfix release 2.11.0
|
|
|
6041ab3 |
|
|
|
de5ab6c |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.8-3
|
|
|
de5ab6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
de5ab6c |
|
|
Rex Dieter |
ccb51a3 |
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 2.10.8-2
|
|
Rex Dieter |
ccb51a3 |
- use %%qmake_qt5 to ensure proper build flags
|
|
Rex Dieter |
ccb51a3 |
|
|
|
37723c8 |
* Sun Jan 24 2016 Johannes Lips <hannes@fedoraproject.org> 2.10.8-1
|
|
|
37723c8 |
- Update to latest upstream bugfix release 2.10.8
|
|
|
37723c8 |
|
|
|
ca7f471 |
* Tue Jan 12 2016 Johannes Lips <hannes@fedoraproject.org> 2.10.6-1
|
|
|
ca7f471 |
- Update to latest upstream bugfix release 2.10.6
|
|
|
ca7f471 |
|
|
|
d68720a |
* Wed Dec 16 2015 Johannes Lips <hannes@fedoraproject.org> 2.10.4-2
|
|
|
d68720a |
- added patch to disable update check
|
|
|
d68720a |
|
|
|
951f9a2 |
* Tue Oct 27 2015 Johannes Lips <hannes@fedoraproject.org> 2.10.4-1
|
|
|
951f9a2 |
- Update to latest upstream bugfix release 2.10.4
|
|
|
951f9a2 |
|
|
|
69bc61d |
* Thu Sep 17 2015 Johannes Lips <hannes@fedoraproject.org> 2.10.2-1
|
|
|
69bc61d |
- Update to latest upstream bugfix release 2.10.2
|
|
|
69bc61d |
|
|
|
3db4228 |
* Fri Sep 11 2015 Johannes Lips <hannes@fedoraproject.org> 2.10.0-1
|
|
|
3db4228 |
- Update to latest upstream version 2.10.0
|
|
|
c06419c |
- added patch to fix arm build #1262987
|
|
|
3db4228 |
|
|
|
4fc8e18 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.4-4
|
|
|
4fc8e18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4fc8e18 |
|
|
|
29a1782 |
* Sun May 24 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.4-3
|
|
|
29a1782 |
- add qtsingleapplication patch - using fedora version
|
|
|
29a1782 |
|
|
|
eca63e8 |
* Sat Apr 25 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.4-2
|
|
|
eca63e8 |
- switch to building with Qt5
|
|
|
eca63e8 |
- removed qtsingleapplication patch - using bundled one
|
|
|
eca63e8 |
|
|
|
d323f06 |
* Tue Mar 24 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.4-1
|
|
|
d323f06 |
- Update to latest upstream version 2.9.4
|
|
|
d323f06 |
|
|
|
8d73c85 |
* Mon Mar 23 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.2-1
|
|
|
8d73c85 |
- Update to latest upstream version 2.9.2
|
|
|
8d73c85 |
|
|
|
acd22db |
* Mon Mar 09 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.0-1
|
|
|
acd22db |
- Update to latest upstream version 2.9.0
|
|
|
acd22db |
- changelog cleaned up
|
|
|
acd22db |
|
|
|
f6e71dd |
* Sun Dec 07 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.8-1
|
|
|
f6e71dd |
- Update to latest upstream version 2.8.8
|
|
|
f6e71dd |
|
|
|
8b295ad |
* Tue Nov 04 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.6-1
|
|
|
8b295ad |
- Update to latest upstream version 2.8.6
|
|
|
8b295ad |
|
|
|
3c05916 |
* Tue Sep 09 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.4-1
|
|
|
3c05916 |
- Update to latest upstream version 2.8.4
|
|
|
3c05916 |
|
|
|
80d9045 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.2-2
|
|
|
80d9045 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
80d9045 |
|
|
|
9e2fe2d |
* Sat Jul 26 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.2-1
|
|
|
9e2fe2d |
- Update to latest upstream version 2.8.2
|
|
|
9e2fe2d |
|
|
|
df79cf6 |
* Fri Jun 20 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.0-1
|
|
|
df79cf6 |
- Update to latest upstream version 2.8.0
|
|
|
df79cf6 |
|
|
|
4c19c3c |
* Wed Mar 19 2014 Johannes Lips <hannes@fedoraproject.org> 2.7.0-1
|
|
|
4c19c3c |
- Update to latest upstream version 2.7.0
|
|
|
4c19c3c |
|
|
|
ccd6cf0 |
* Sun Nov 03 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.6-1
|
|
|
ccd6cf0 |
- Update to latest upstream version 2.6.6
|
|
|
ccd6cf0 |
|
|
|
33d44b1 |
* Sat Nov 02 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.4-1
|
|
|
33d44b1 |
- Update to latest upstream version 2.6.4
|
|
|
33d44b1 |
|
|
|
b28dd27 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
|
|
|
b28dd27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b28dd27 |
|
|
|
0b84254 |
* Tue Jul 16 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.2-1
|
|
|
0b84254 |
- Update to latest upstream version 2.6.2
|
|
|
0b84254 |
|
|
|
eabaaa2 |
* Sun Jun 16 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.0-1
|
|
|
eabaaa2 |
- Update to latest upstream version 2.6.0
|
|
|
eabaaa2 |
|
|
|
88047a2 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-2
|
|
|
88047a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
88047a2 |
|
|
|
adf54e6 |
* Fri Jan 11 2013 Johannes Lips <hannes@fedoraproject.org> 2.5.2-1
|
|
|
adf54e6 |
- update to recent upstream version
|
|
|
adf54e6 |
|
|
|
7469c84 |
* Thu Nov 22 2012 Johannes Lips <hannes@fedoraproject.org> 2.5.1-1
|
|
|
7469c84 |
- update to recent upstream version
|
|
|
7469c84 |
|
|
|
17edb0a |
* Mon Oct 29 2012 Dan Horák <dan[at]danny.cz> 2.5-2
|
|
|
17edb0a |
- disable internal crash handler on not supported arches
|
|
|
17edb0a |
|
|
|
8d581aa |
* Sat Oct 27 2012 Johannes Lips <hannes@fedoraproject.org> 2.5-1
|
|
|
c4a6bdf |
- update to recent upstream version
|
|
|
c4a6bdf |
|
|
|
ac65c81 |
* Sat Feb 18 2012 Johannes Lips <Johannes.Lips googlemail com> 2.3-2
|
|
|
66a68d4 |
- disabled the build of debug files
|