Accepting request 623055 from home:pluskalm

- Use source url
- Drop conditionals for older distros, they fail to build anyways
- Use spec-cleaner to modernise spec file

- Update to version 2.12.10
  * bug fixes
  * fix structure view with Qt >5.10
- Update to version 2.12.8
  * improved tokenizer for syntax checking and completion
  * pressing Ctrl+F while the editor search has focus opens the
    extended search, i.e., you'll get extended search by pressing
    Ctrl+F twice
  * automatically insert math delimiters ($) when inserting a math
    command outside of a math env (can be turned off, default on)
  * change copy behavior of multiple cursors from selection order
    to line order
  * file list is now a transparent popup window: closes when clicked
    outside
  * combine file conflict and show diff dialog
  * fix file watcher not recognizing multiple changes to a file in
    quick succession
  * improved detection of package names when opening texdoc
  * new symbol panel layout
  * some touch scrolling on certain panels
  * updated synctex and poppler libraries for pdf viewer
  * fix undo when a snippet is inserted and a selection is inserted
    as well
  * fix some parts of the editor background may not be drawn in the
    correct color
  * build for OSX High Sierra

OBS-URL: https://build.opensuse.org/request/show/623055
OBS-URL: https://build.opensuse.org/package/show/Publishing/texstudio?expand=0&rev=31
This commit is contained in:
Martin Pluskal 2018-07-16 11:22:50 +00:00 committed by Git OBS Bridge
parent 9f1da48935
commit e31093c456
4 changed files with 51 additions and 29 deletions

3
texstudio-2.12.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92cf9cbb536e58a5929611fa40438cd9d7ea6880022cd3c5de0483fd15d3df0b
size 26770850

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cdae8c9f3fa84af2424cfef6d4a3abb2437cc71ecb24c1883e4ecca2f2693da3
size 26578309

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Mon Jul 16 06:54:57 UTC 2018 - mpluskal@suse.com
- Use source url
- Drop conditionals for older distros, they fail to build anyways
- Use spec-cleaner to modernise spec file
-------------------------------------------------------------------
Sun Jul 15 11:57:43 UTC 2018 - enzokiel@kabelmail.de
- Update to version 2.12.10
* bug fixes
* fix structure view with Qt >5.10
- Update to version 2.12.8
* improved tokenizer for syntax checking and completion
* pressing Ctrl+F while the editor search has focus opens the
extended search, i.e., you'll get extended search by pressing
Ctrl+F twice
* automatically insert math delimiters ($) when inserting a math
command outside of a math env (can be turned off, default on)
* change copy behavior of multiple cursors from selection order
to line order
* file list is now a transparent popup window: closes when clicked
outside
* combine file conflict and show diff dialog
* fix file watcher not recognizing multiple changes to a file in
quick succession
* improved detection of package names when opening texdoc
* new symbol panel layout
* some touch scrolling on certain panels
* updated synctex and poppler libraries for pdf viewer
* fix undo when a snippet is inserted and a selection is inserted
as well
* fix some parts of the editor background may not be drawn in the
correct color
* build for OSX High Sierra
* various other fixes
-------------------------------------------------------------------
Thu Jan 4 15:35:35 UTC 2018 - stefan.bruens@rwth-aachen.de

View File

@ -17,19 +17,16 @@
Name: texstudio
Version: 2.12.6
Version: 2.12.10
Release: 0
Summary: LaTeX Editor
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Publishing/TeX/Frontends
Url: http://texstudio.sf.net
Source0: http://downloads.sourceforge.net/texstudio/%{name}-%{version}.tar.gz
URL: https://www.texstudio.org
Source0: https://github.com/texstudio-org/texstudio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
%if 0%{?suse_version} <= 1320
BuildRequires: libpoppler-qt4-devel
BuildRequires: libqt4-devel
%else
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
@ -38,10 +35,8 @@ BuildRequires: pkgconfig(Qt5Script)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(poppler-qt5)
%endif
Requires: hunspell
Requires: texlive-latex
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
TeXstudio is a program based on texmaker, that integrates many tools needed
@ -50,26 +45,15 @@ you can write your documents with the help of interactive spell checking,
syntax highlighting, automatically code completion and more.
%prep
%setup -q -n %{name}%{version}
%setup -q
%build
%ifarch aarch64 %{arm}
%define crashhandler NO_CRASH_HANDLER=true
%endif
%if 0%{?suse_version} <= 1320
qmake QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" \
QMAKE_CFLAGS="%optflags -fno-strict-aliasing" \
CONFIG-=debug texstudio.pro
%else
%{qmake5} CONFIG-=debug %{?crashhandler} texstudio.pro
%endif
%if 0%{?suse_version} <= 1320
make %{?_smp_mflags} VERBOSE=1
%else
%{make_jobs}
%endif
%qmake5 CONFIG-=debug %{?crashhandler} texstudio.pro
%make_jobs
%install
make INSTALL_ROOT=%{buildroot} install
@ -78,8 +62,8 @@ rm -f %{buildroot}%{_datadir}/texstudio/{AUTHORS,COPYING,CHANGELOG.txt}
%fdupes -s %{buildroot}%{_datadir}/texstudio/
%files
%defattr(-,root,root)
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
%license utilities/COPYING
%doc utilities/AUTHORS utilities/manual/CHANGELOG.txt
%{_bindir}/texstudio
%{_datadir}/texstudio/
%{_datadir}/applications/texstudio.desktop