2011-08-13 16:45:40 +00:00
|
|
|
Name: texstudio
|
2014-12-07 09:00:02 +00:00
|
|
|
Version: 2.8.8
|
2014-09-09 19:12:42 +00:00
|
|
|
Release: 1%{?dist}
|
2011-08-13 16:45:40 +00:00
|
|
|
|
|
|
|
Summary: A feature-rich editor for LaTeX documents
|
|
|
|
Group: Applications/Publishing
|
|
|
|
# texstudio binary: GPLv3 due to static linkage of bundled qcodeedit
|
|
|
|
# texstudio data and image files: GPLv2+
|
|
|
|
License: GPLv2+ and GPLv3
|
|
|
|
URL: http://texstudio.sourceforge.net
|
|
|
|
|
2013-01-11 18:12:48 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/texstudio/texstudio-%{version}.tar.gz
|
2011-08-13 16:45:40 +00:00
|
|
|
Source1: texstudio.desktop
|
|
|
|
Patch0: texstudio-use-system-hunspell-instead-of-bundled-one.patch
|
|
|
|
Patch1: texstudio-use-system-qtsingleapplication-instead-of-bundled-on.patch
|
|
|
|
Patch2: texstudio-viewers-use-xdg-open.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: qt4-devel
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: poppler-qt4-devel
|
|
|
|
BuildRequires: qtsingleapplication-devel
|
|
|
|
BuildRequires: qtsinglecoreapplication-devel
|
|
|
|
|
|
|
|
Requires: tex(latex)
|
|
|
|
Provides: bundled(qcodeedit)
|
|
|
|
Provides: texmakerx = %{version}-%{release}
|
|
|
|
Obsoletes: texmakerx < 2.2-1
|
|
|
|
%description
|
|
|
|
TeXstudio, formerly known as TexmakerX is a fork of the
|
|
|
|
LaTeX IDE TexMaker and gives you an environment where you can
|
|
|
|
easily create and manage LaTeX documents.
|
|
|
|
It provides modern writing support, like interactive spell checking,
|
|
|
|
code folding and syntax highlighting.
|
|
|
|
Also it serves as a starting point from where you can easily run
|
|
|
|
all necessary LaTeX tools.
|
|
|
|
Although TeXstudio has a lot of additional features,
|
|
|
|
it tries to be like an improved version of Texmaker,
|
|
|
|
so it keeps it look&feel.
|
|
|
|
|
|
|
|
%prep
|
2013-01-11 18:12:48 +00:00
|
|
|
%setup -q -n %{name}%{version}
|
2013-11-04 19:51:30 +00:00
|
|
|
%patch0 -p1 -b .hunspell
|
2013-06-16 09:01:57 +00:00
|
|
|
%patch1 -p1 -b .qtsingle
|
2014-03-22 18:10:08 +00:00
|
|
|
%patch2 -p1 -b .xdg
|
2012-09-09 09:47:39 +00:00
|
|
|
|
2011-08-13 16:45:40 +00:00
|
|
|
rm -rf {hunspell,qtsingleapplication}
|
|
|
|
|
|
|
|
%build
|
|
|
|
export QTDIR=%{_libdir}/qt4
|
2012-10-29 07:54:19 +00:00
|
|
|
qmake-qt4 CONFIG-=debug \
|
|
|
|
%ifnarch %{ix86} x86_64 %{arm}
|
|
|
|
NO_CRASH_HANDLER=1 \
|
|
|
|
%endif
|
|
|
|
texstudio.pro
|
2011-08-13 16:45:40 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
install -Dp -m 0644 utilities/texstudio16x16.png \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/texstudio.png
|
|
|
|
install -Dp -m 0644 utilities/texstudio22x22.png \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/texstudio.png
|
|
|
|
install -Dp -m 0644 utilities/texstudio32x32.png \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/texstudio.png
|
|
|
|
install -Dp -m 0644 utilities/texstudio48x48.png \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/texstudio.png
|
|
|
|
install -Dp -m 0644 utilities/texstudio64x64.png \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/46x46/apps/texstudio.png
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{AUTHORS,COPYING,*.desktop,tex*.png,CHANGELOG.txt}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{*.dic,*.aff}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/qt_*.qm
|
|
|
|
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
|
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
update-desktop-database &> /dev/null ||:
|
|
|
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
|
|
|
%postun
|
|
|
|
update-desktop-database &> /dev/null ||:
|
|
|
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/texstudio
|
|
|
|
%dir %{_datadir}/texstudio/
|
2012-09-09 09:26:25 +00:00
|
|
|
%{_datadir}/texstudio/*.png
|
|
|
|
%{_datadir}/texstudio/usermanual.css
|
2014-03-22 18:10:08 +00:00
|
|
|
%{_datadir}/texstudio/latex2e.*
|
2012-09-09 09:26:25 +00:00
|
|
|
%{_datadir}/texstudio/*.stopWords
|
2012-10-27 09:01:55 +00:00
|
|
|
%{_datadir}/texstudio/*.stopWords.level2
|
|
|
|
%{_datadir}/texstudio/de.badWords
|
2012-09-09 10:03:19 +00:00
|
|
|
%{_datadir}/texstudio/template_*.tex
|
2013-06-16 08:51:04 +00:00
|
|
|
%{_datadir}/texstudio/template_*.zip
|
2013-01-11 18:31:32 +00:00
|
|
|
%{_datadir}/texstudio/*.json
|
|
|
|
%{_datadir}/texstudio/*.js
|
2011-08-13 16:45:40 +00:00
|
|
|
%{_datadir}/texstudio/th_*.dat
|
|
|
|
%{_datadir}/texstudio/usermanual_*.html
|
|
|
|
%{_datadir}/applications/texstudio.desktop
|
2014-06-20 17:40:50 +00:00
|
|
|
%{_datadir}/appdata/texstudio.appdata.xml
|
2011-08-13 16:45:40 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
2014-07-26 15:36:14 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
2011-08-13 16:45:40 +00:00
|
|
|
|
|
|
|
%doc utilities/AUTHORS utilities/COPYING utilities/CHANGELOG.txt
|
|
|
|
|
|
|
|
%changelog
|
2014-12-07 09:00:02 +00:00
|
|
|
* Sun Dec 07 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.8-1
|
|
|
|
- Update to latest upstream version 2.8.8
|
|
|
|
|
2014-11-04 18:28:59 +00:00
|
|
|
* Tue Nov 04 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.6-1
|
|
|
|
- Update to latest upstream version 2.8.6
|
|
|
|
|
2014-09-09 19:11:27 +00:00
|
|
|
* Tue Sep 09 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.4-1
|
|
|
|
- Update to latest upstream version 2.8.4
|
|
|
|
|
2014-08-18 05:32:04 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-26 15:06:45 +00:00
|
|
|
* Sat Jul 26 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.2-1
|
|
|
|
- Update to latest upstream version 2.8.2
|
|
|
|
|
2014-06-20 17:40:50 +00:00
|
|
|
* Fri Jun 20 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.0-1
|
|
|
|
- Update to latest upstream version 2.8.0
|
|
|
|
|
2014-06-08 08:25:57 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-22 18:10:08 +00:00
|
|
|
* Wed Mar 19 2014 Johannes Lips <hannes@fedoraproject.org> 2.7.0-1
|
|
|
|
- Update to latest upstream version 2.7.0
|
|
|
|
|
2013-11-04 19:51:30 +00:00
|
|
|
* Sun Nov 03 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.6-1
|
|
|
|
- Update to latest upstream version 2.6.6
|
|
|
|
|
2013-11-02 07:44:06 +00:00
|
|
|
* Sat Nov 02 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.4-1
|
|
|
|
- Update to latest upstream version 2.6.4
|
|
|
|
|
2013-08-04 03:49:54 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-16 16:31:47 +00:00
|
|
|
* Tue Jul 16 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.2-1
|
|
|
|
- Update to latest upstream version 2.6.2
|
|
|
|
|
2013-06-16 08:51:04 +00:00
|
|
|
* Sun Jun 16 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.0-1
|
|
|
|
- Update to latest upstream version 2.6.0
|
|
|
|
|
2013-02-15 01:33:20 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-11 18:00:22 +00:00
|
|
|
* Fri Jan 11 2013 Johannes Lips <hannes@fedoraproject.org> 2.5.2-1
|
|
|
|
- update to recent upstream version
|
|
|
|
|
2012-11-22 06:24:52 +00:00
|
|
|
* Thu Nov 22 2012 Johannes Lips <hannes@fedoraproject.org> 2.5.1-1
|
|
|
|
- update to recent upstream version
|
|
|
|
|
2012-10-29 07:54:19 +00:00
|
|
|
* Mon Oct 29 2012 Dan Horák <dan[at]danny.cz> 2.5-2
|
|
|
|
- disable internal crash handler on not supported arches
|
|
|
|
|
2012-10-27 09:01:55 +00:00
|
|
|
* Sat Oct 27 2012 Johannes Lips <hannes@fedoraproject.org> 2.5-1
|
2012-09-09 09:26:25 +00:00
|
|
|
- update to recent upstream version
|
|
|
|
|
2012-02-18 09:26:34 +00:00
|
|
|
* Sat Feb 18 2012 Johannes Lips <Johannes.Lips googlemail com> 2.3-2
|
2012-02-18 09:42:31 +00:00
|
|
|
- disabled the build of debug files
|
2012-02-18 09:26:34 +00:00
|
|
|
|
2012-02-10 08:21:56 +00:00
|
|
|
* Thu Feb 09 2012 Johannes Lips <Johannes.Lips googlemail com> 2.3-1
|
|
|
|
- update to recent upstream version
|
2012-02-15 20:07:30 +00:00
|
|
|
- patch to fix gcc 4.7 build failure
|
2012-02-10 08:21:56 +00:00
|
|
|
|
2012-01-14 06:38:28 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-19 13:58:37 +00:00
|
|
|
* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 2.2-8
|
|
|
|
- Rebuild (poppler-0.17.3)
|
|
|
|
|
2011-08-13 16:45:40 +00:00
|
|
|
* Sat Aug 13 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-7
|
|
|
|
- minor changes to the .desktop file
|
|
|
|
- fixed the ownership of the texstudio folder
|
|
|
|
- fixed the find_lang macro
|
|
|
|
- fixed minor problems with the installation of documentation files
|
|
|
|
|
|
|
|
* Sat Aug 13 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-6
|
|
|
|
- added a .desktop file to prevent problems with the one provided by upstream
|
|
|
|
|
|
|
|
* Fri Aug 12 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-5
|
|
|
|
- fixed the wrong paths in the rm statements
|
|
|
|
- fixed the TeXstudio spelling in the description
|
|
|
|
- added the %find_lang macro to install the language files and gettext as BR
|
|
|
|
- removed the unneeded and unmodified qt_*.mq
|
|
|
|
- listed all files in /usr/share/texstudio separately
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 10 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-4
|
|
|
|
- added the provides for qcodeedit after the exception was granted
|
|
|
|
|
|
|
|
* Fri Jul 29 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-3
|
|
|
|
- removed the bundled source files in the prep section
|
|
|
|
- added a comment to clarify the licensing
|
|
|
|
- added tex(latex) instead of texlive-latex
|
|
|
|
- removal of the dic files instead of excluding them
|
|
|
|
|
|
|
|
* Thu Jul 28 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-2
|
|
|
|
- removed the gcc-objc++ build requirement
|
|
|
|
- added patches to remove the bundled libraries (hunspell and qtsingleapplication)
|
|
|
|
|
|
|
|
* Fri Jul 22 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-1
|
|
|
|
- renamed to Texstudio
|
|
|
|
- update to a recent upstream version
|
|
|
|
- update all parts of the spec to reflect the naming changes
|
|
|
|
|
|
|
|
* Thu Mar 17 2011 Johannes Lips <Johannes.Lips googlemail com> 2.1.0-0.1.svn20110317
|
|
|
|
- Update to a recent svn checkout
|
|
|
|
|
|
|
|
* Mon Nov 01 2010 Johannes Lips <Johannes.Lips googlemail com> 2.0.0-0.1
|
|
|
|
- Update to a recent svn checkout
|
|
|
|
- added several other build requirements
|
|
|
|
|
|
|
|
* Sat Aug 28 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9a-3
|
|
|
|
- Bump release
|
|
|
|
|
|
|
|
* Tue Aug 10 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9a-2
|
|
|
|
- removed the patch snippet
|
|
|
|
- added another summary entry
|
|
|
|
|
|
|
|
* Thu Jul 22 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9a-1
|
|
|
|
- Updated to the recent upstream version
|
|
|
|
|
|
|
|
* Fri May 21 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9-2
|
|
|
|
- Fixed some minor glitches
|
|
|
|
|
|
|
|
* Sat May 08 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9-1
|
|
|
|
- Updated to version 1.9.9
|
|
|
|
|
|
|
|
* Tue Apr 20 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.3-1
|
|
|
|
- Updated to recent version
|
|
|
|
|
|
|
|
* Thu Nov 12 2009 Jochen Schmitt <Jochen herr-schmitt de> 1.9.2-1
|
|
|
|
- Initial package
|
|
|
|
|