2020-02-25 18:13:54 +00:00
|
|
|
%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
|
|
|
|
|
2010-04-26 04:45:33 +00:00
|
|
|
Name: texworks
|
2022-03-18 06:16:27 +00:00
|
|
|
Version: 0.6.7
|
2022-03-18 03:29:57 +00:00
|
|
|
Release: %autorelease
|
2010-04-26 04:45:33 +00:00
|
|
|
Summary: A simple IDE for authoring TeX documents
|
|
|
|
|
|
|
|
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
|
|
|
|
2018-03-10 11:14:36 +00:00
|
|
|
BuildRequires: gcc-c++
|
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
|
|
|
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)
|
2021-03-12 06:45:05 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
2015-04-17 08:12:21 +00:00
|
|
|
BuildRequires: zlib-devel
|
2019-01-22 09:19:15 +00:00
|
|
|
BuildRequires: python3-devel
|
2011-03-26 02:42:51 +00:00
|
|
|
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
|
2022-01-25 09:22:36 +00:00
|
|
|
%cmake -DWITH_PYTHON=ON -DTW_BUILD_ID=Fedora -DTeXworks_DIC_DIR=%{_datadir}/hunspell -DTeXworks_PLUGIN_DIR=%{_libdir}/texworks -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
2020-08-03 17:38:04 +00:00
|
|
|
%cmake_build
|
2011-03-26 02:42:51 +00:00
|
|
|
|
2010-04-26 04:45:33 +00:00
|
|
|
%install
|
2020-08-03 17:38:04 +00:00
|
|
|
%cmake_install
|
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
|
|
|
%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
|
2020-03-18 14:24:47 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/TeXworks*
|
2019-03-19 01:46:16 +00:00
|
|
|
%{_datadir}/metainfo/*
|
2010-04-26 04:45:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-03-18 03:29:57 +00:00
|
|
|
%autochangelog
|