2015-04-17 08:12:21 +00:00
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
%global use_qt5 1
|
|
|
|
%endif
|
|
|
|
|
2010-04-26 04:45:33 +00:00
|
|
|
Name: texworks
|
2017-05-04 06:37:19 +00:00
|
|
|
Version: 0.6.2
|
2017-11-08 19:25:15 +00:00
|
|
|
Release: 7%{?dist}
|
2010-04-26 04:45:33 +00:00
|
|
|
Summary: A simple IDE for authoring TeX documents
|
|
|
|
|
|
|
|
Group: Applications/Editors
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://tug.org/texworks/
|
2015-04-12 13:22:01 +00:00
|
|
|
Source0: https://github.com/TeXworks/texworks/archive/release-%{version}/texworks-release-%{version}.tar.gz
|
2010-04-26 04:45:33 +00:00
|
|
|
|
2015-04-17 08:12:21 +00:00
|
|
|
BuildRequires: pkgconfig
|
2010-04-26 04:45:33 +00:00
|
|
|
BuildRequires: hunspell-devel
|
2015-04-17 08:12:21 +00:00
|
|
|
%if 0%{?use_qt5}
|
|
|
|
BuildRequires: poppler-qt5-devel
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5Script)
|
|
|
|
BuildRequires: pkgconfig(Qt5ScriptTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
%else
|
2010-04-26 04:45:33 +00:00
|
|
|
BuildRequires: poppler-qt4-devel
|
2015-04-17 08:12:21 +00:00
|
|
|
%endif
|
2011-03-26 02:42:51 +00:00
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: lua-devel
|
2010-04-26 04:45:33 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2015-04-12 13:22:01 +00:00
|
|
|
BuildRequires: cmake
|
2010-04-26 04:45:33 +00:00
|
|
|
|
|
|
|
# Description adopted from Debian with modification
|
|
|
|
%description
|
|
|
|
TeXworks is an environment for authoring TeX (LaTeX, ConTeXt, etc) documents,
|
|
|
|
with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean,
|
|
|
|
simple interface accessible to casual and non-technical users.
|
|
|
|
|
|
|
|
You may install the texlive-* packages to make this program useful.
|
|
|
|
|
|
|
|
%prep
|
2015-04-12 13:22:01 +00:00
|
|
|
%setup -q -n %{name}-release-%{version}
|
2010-04-26 04:45:33 +00:00
|
|
|
|
|
|
|
%build
|
2015-04-12 13:22:01 +00:00
|
|
|
mkdir build
|
|
|
|
pushd build
|
2015-04-17 08:12:21 +00:00
|
|
|
%cmake .. -DWITH_PYTHON=ON -DTW_BUILD_ID=Fedora -DTeXworks_DIC_DIR=%{_datadir}/myspell -DTeXworks_PLUGIN_DIR=%{_libdir}/texworks -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
%if 0%{?use_qt5}
|
|
|
|
-DDESIRED_QT_VERSION=5
|
|
|
|
%endif
|
|
|
|
|
2011-03-26 02:42:51 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
|
2010-04-26 04:45:33 +00:00
|
|
|
%install
|
2015-04-12 13:22:01 +00:00
|
|
|
pushd build
|
|
|
|
%make_install INSTALL="install -p"
|
2011-03-26 02:42:51 +00:00
|
|
|
popd
|
2017-05-04 06:37:19 +00:00
|
|
|
rm %{buildroot}/%{_docdir}/%{name}/COPYING
|
2011-03-26 02:42:51 +00:00
|
|
|
|
2010-04-26 04:45:33 +00:00
|
|
|
%post
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
%files
|
2017-05-04 06:37:19 +00:00
|
|
|
%license COPYING
|
2013-08-07 04:40:50 +00:00
|
|
|
%{_docdir}/%{name}/
|
2010-04-26 04:45:33 +00:00
|
|
|
%{_bindir}/%{name}
|
2011-03-26 02:42:51 +00:00
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
2010-04-26 04:45:33 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/*
|
2015-04-12 13:22:01 +00:00
|
|
|
%{_datadir}/appdata/*
|
2010-04-26 04:45:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-11-08 19:25:15 +00:00
|
|
|
* Wed Nov 08 2017 David Tardon <dtardon@redhat.com> - 0.6.2-7
|
|
|
|
- rebuild for poppler 0.61.0
|
|
|
|
|
2017-10-06 13:07:26 +00:00
|
|
|
* Fri Oct 06 2017 David Tardon <dtardon@redhat.com> - 0.6.2-6
|
|
|
|
- rebuild for poppler 0.60.1
|
|
|
|
|
2017-09-08 08:11:57 +00:00
|
|
|
* Fri Sep 08 2017 David Tardon <dtardon@redhat.com> - 0.6.2-5
|
|
|
|
- rebuild for poppler 0.59.0
|
|
|
|
|
2017-08-03 10:40:58 +00:00
|
|
|
* Thu Aug 03 2017 David Tardon <dtardon@redhat.com> - 0.6.2-4
|
|
|
|
- rebuild for poppler 0.57.0
|
|
|
|
|
2017-08-03 09:21:48 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:12:45 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-04 06:37:19 +00:00
|
|
|
* Thu May 4 2017 Robin Lee <cheeselee@fedoraproject.org> - 0.6.2-1
|
|
|
|
- Update to 0.6.2
|
|
|
|
|
2017-03-28 13:22:03 +00:00
|
|
|
* Tue Mar 28 2017 David Tardon <dtardon@redhat.com> - 0.6.1-9
|
|
|
|
- rebuild for poppler 0.53.0
|
|
|
|
|
2017-02-11 15:51:53 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-16 14:35:08 +00:00
|
|
|
* Fri Dec 16 2016 David Tardon <dtardon@redhat.com> - 0.6.1-7
|
|
|
|
- rebuild for poppler 0.50.0
|
|
|
|
|
2016-12-13 15:06:02 +00:00
|
|
|
* Tue Dec 13 2016 Caolán McNamara <caolanm@redhat.com> - 0.6.1-6
|
|
|
|
- Rebuild for hunspell 1.5.4
|
|
|
|
|
2016-11-24 04:20:37 +00:00
|
|
|
* Thu Nov 24 2016 Orion Poplawski <orion@cora.nwra.com> - 0.6.1-5
|
|
|
|
- Rebuild for poppler 0.49.0
|
|
|
|
|
2016-10-21 11:09:44 +00:00
|
|
|
* Fri Oct 21 2016 Marek Kasik <mkasik@redhat.com> - 0.6.1-4
|
|
|
|
- Rebuild for poppler-0.48.0
|
|
|
|
|
2016-07-18 11:38:33 +00:00
|
|
|
* Mon Jul 18 2016 Marek Kasik <mkasik@redhat.com> - 0.6.1-3
|
|
|
|
- Rebuild for poppler-0.45.0
|
|
|
|
|
2016-05-03 12:17:43 +00:00
|
|
|
* Tue May 3 2016 Marek Kasik <mkasik@redhat.com> - 0.6.1-2
|
|
|
|
- Rebuild for poppler-0.43.0
|
|
|
|
|
2016-05-01 11:19:23 +00:00
|
|
|
* Sun May 1 2016 Robin Lee <cheeselee@fedoraproject.org> - 0.6.1-1
|
|
|
|
- Update to 0.6.1
|
|
|
|
|
2016-04-18 11:35:48 +00:00
|
|
|
* Mon Apr 18 2016 Caolán McNamara <caolanm@redhat.com> - 0.6.0-2
|
|
|
|
- rebuild for hunspell 1.4.0
|
|
|
|
|
2016-04-10 13:27:37 +00:00
|
|
|
* Sun Apr 10 2016 Robin Lee <cheeselee@fedoraproject.org> - 0.6.0-1
|
|
|
|
- Update to 0.6.0
|
|
|
|
|
2016-02-05 01:32:08 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-22 14:13:20 +00:00
|
|
|
* Fri Jan 22 2016 Marek Kasik <mkasik@redhat.com> - 0.4.6-5
|
|
|
|
- Rebuild for poppler-0.40.0
|
|
|
|
|
2015-07-22 14:26:46 +00:00
|
|
|
* Wed Jul 22 2015 Marek Kasik <mkasik@redhat.com> - 0.4.6-4
|
|
|
|
- Rebuild (poppler-0.34.0)
|
|
|
|
|
2015-06-19 02:48:16 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-17 08:12:21 +00:00
|
|
|
* Fri Apr 17 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.4.6-2
|
|
|
|
- Fix Qt4/ARM build with Tw_ARM2.patch
|
|
|
|
- Use Qt5 on Fedora >= 22
|
|
|
|
|
2015-04-12 13:22:01 +00:00
|
|
|
* Sat Apr 11 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.4.6-1
|
|
|
|
- Update to 0.4.6
|
|
|
|
|
2014-08-18 05:32:33 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 08:26:36 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-07 04:40:50 +00:00
|
|
|
* Wed Aug 7 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.4.5-3
|
|
|
|
- Use unversioned docdir (BZ#993945)
|
|
|
|
|
2013-08-04 03:50:12 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-15 02:39:18 +00:00
|
|
|
* Mon Apr 15 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.4.5-1
|
|
|
|
- Update to 0.4.5
|
|
|
|
|
2013-02-15 01:33:31 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 23:22:17 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-16 15:48:50 +00:00
|
|
|
* Wed May 16 2012 Marek Kasik <mkasik@redhat.com> - 0.4.4-2
|
|
|
|
- Rebuild (poppler-0.20.0)
|
|
|
|
|
2012-05-08 02:28:01 +00:00
|
|
|
* Tue May 8 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.4.4-1
|
|
|
|
- Update to 0.4.4 (#785100, #817511)
|
|
|
|
|
2012-01-14 06:38:38 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-4
|
|
|
|
- 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> - 0.4.3-3
|
|
|
|
- Rebuild (poppler-0.17.3)
|
|
|
|
|
2011-07-15 15:35:49 +00:00
|
|
|
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 0.4.3-2
|
|
|
|
- Rebuild (poppler-0.17.0)
|
|
|
|
|
2011-07-14 05:23:44 +00:00
|
|
|
* Thu Jul 14 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.4.3-1
|
|
|
|
- Update to 0.4.3 (BZ#718982)
|
|
|
|
|
2011-06-26 15:27:55 +00:00
|
|
|
* Sun Jun 26 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.4.2-1
|
|
|
|
- Update to 0.4.2
|
|
|
|
- Removed texworks-0.4.1-qmake.patch
|
|
|
|
|
2011-06-06 18:30:06 +00:00
|
|
|
* Tue Jun 7 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.4.1-2
|
|
|
|
- Include an upstreamed qmake configuration patch
|
|
|
|
- Fix myspell path
|
|
|
|
- Install the manual to path specified upstream
|
|
|
|
|
2011-05-30 09:03:21 +00:00
|
|
|
* Mon May 30 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.4.1-1
|
|
|
|
- Update to 0.4.1
|
|
|
|
- Obsolete texworks-0.4.0-64bit.patch, since default qmake configuration works
|
|
|
|
with PPC64 now
|
|
|
|
- BR: dbus-devel removed
|
|
|
|
|
2011-05-25 10:13:50 +00:00
|
|
|
* Wed May 25 2011 Caolán McNamara <caolanm@redhat.com> - 0.4.0-3
|
|
|
|
- rebuild for new hunspell
|
|
|
|
|
2011-03-31 07:04:21 +00:00
|
|
|
* Wed Mar 30 2011 Dan Horák <dan[at]danny.cz> - 0.4.0-2
|
|
|
|
- fix build on non-x86 64-bit platforms
|
|
|
|
|
2011-03-26 02:42:51 +00:00
|
|
|
* Fri Mar 25 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.4.0-1
|
|
|
|
- Update to 0.4.0
|
|
|
|
- Use uptream desktop entry file
|
|
|
|
|
2011-02-09 18:57:39 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-04-26 04:45:33 +00:00
|
|
|
* Sat Apr 24 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-3
|
|
|
|
- Move to menu category 'Office'
|
|
|
|
- License tag revised to 'GPLv2+'
|
|
|
|
- Initial import to Fedora repositories
|
|
|
|
|
|
|
|
* Thu Apr 22 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-2
|
|
|
|
- Fix some strange characters in README
|
|
|
|
- Patch TeXworks.pro to use qmake mechanism to install files and fix DSO linking
|
|
|
|
problem
|
|
|
|
|
|
|
|
* Sun Apr 11 2010 Robin Lee <robinlee.sysu@gmail.com> - 0.2.3-1
|
|
|
|
- Initial packaging
|