Update to 0.4.6
This commit is contained in:
parent
eb08151ee5
commit
704a9b00a8
|
@ -5,3 +5,4 @@ texworks-0.2.3.tar.gz
|
||||||
/texworks-0.4.3-r858.tar.gz
|
/texworks-0.4.3-r858.tar.gz
|
||||||
/texworks-0.4.4-r1004.tar.gz
|
/texworks-0.4.4-r1004.tar.gz
|
||||||
/texworks-0.4.5-r1281.tar.gz
|
/texworks-0.4.5-r1281.tar.gz
|
||||||
|
/texworks-release-0.4.6.tar.gz
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
04f3939501f6935c0f24f10042993d26 texworks-0.4.5-r1281.tar.gz
|
1ac0db22ce2185f01a844eb99cee33c4 texworks-release-0.4.6.tar.gz
|
||||||
|
|
|
@ -1,23 +1,19 @@
|
||||||
%global rev 1281
|
|
||||||
%global py_ver %(%{__python} -c "import sys;sys.stdout.write(sys.version[:3])")
|
|
||||||
|
|
||||||
Name: texworks
|
Name: texworks
|
||||||
Version: 0.4.5
|
Version: 0.4.6
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A simple IDE for authoring TeX documents
|
Summary: A simple IDE for authoring TeX documents
|
||||||
|
|
||||||
|
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://tug.org/texworks/
|
URL: http://tug.org/texworks/
|
||||||
Source0: http://texworks.googlecode.com/files/%{name}-%{version}-r%{rev}.tar.gz
|
Source0: https://github.com/TeXworks/texworks/archive/release-%{version}/texworks-release-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: hunspell-devel
|
BuildRequires: hunspell-devel
|
||||||
BuildRequires: poppler-qt4-devel
|
BuildRequires: poppler-qt4-devel
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: lua-devel
|
BuildRequires: lua-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: perl
|
BuildRequires: cmake
|
||||||
|
|
||||||
# Description adopted from Debian with modification
|
# Description adopted from Debian with modification
|
||||||
%description
|
%description
|
||||||
|
@ -28,51 +24,20 @@ simple interface accessible to casual and non-technical users.
|
||||||
You may install the texlive-* packages to make this program useful.
|
You may install the texlive-* packages to make this program useful.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-release-%{version}
|
||||||
# pkg-config file of Lua
|
|
||||||
perl -pi -e 's/(?<=lua)5\..*//' plugins-src/TWLuaPlugin/TWLuaPlugin.pro
|
|
||||||
# Python version
|
|
||||||
perl -pi -e 's/2\.6/%{py_ver}/' plugins-src/TWPythonPlugin/TWPythonPlugin.pro
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# build Lua scripting plugin
|
mkdir build
|
||||||
pushd plugins-src/TWLuaPlugin/
|
pushd build
|
||||||
%_qt4_qmake TW_PLUGINPATH=%{_libdir}/texworks
|
%cmake .. -DWITH_PYTHON=ON -DTW_BUILD_ID=Fedora -DTeXworks_DIC_DIR=%{_datadir}/myspell -DTeXworks_PLUGIN_DIR=%{_libdir}/texworks -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# build Python scripting plugin
|
|
||||||
pushd plugins-src/TWPythonPlugin/
|
|
||||||
%_qt4_qmake TW_PLUGINPATH=%{_libdir}/texworks
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
popd
|
|
||||||
|
|
||||||
# build the main program
|
|
||||||
%_qt4_qmake INSTALL_PREFIX=%{_prefix} DOCS_DIR=%{_docdir}/%{name} \
|
|
||||||
TW_PLUGINPATH=%{_libdir}/texworks \
|
|
||||||
TW_DICPATH=%{_datadir}/myspell \
|
|
||||||
TW_BUILD_ID=Fedora
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
pushd build
|
||||||
# install Lua scripting plugin
|
%make_install INSTALL="install -p"
|
||||||
pushd plugins-src/TWLuaPlugin/
|
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# install Python scripting plugin
|
|
||||||
pushd plugins-src/TWPythonPlugin/
|
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
|
||||||
popd
|
|
||||||
|
|
||||||
# install the main program
|
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-desktop-database &> /dev/null || :
|
update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
@ -80,17 +45,19 @@ update-desktop-database &> /dev/null || :
|
||||||
update-desktop-database &> /dev/null || :
|
update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_docdir}/%{name}/
|
%{_docdir}/%{name}/
|
||||||
%doc %{_datadir}/texworks-help/
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libdir}/%{name}/
|
%{_libdir}/%{name}/
|
||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/pixmaps/*
|
%{_datadir}/pixmaps/*
|
||||||
|
%{_datadir}/appdata/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 11 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.4.6-1
|
||||||
|
- Update to 0.4.6
|
||||||
|
|
||||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-5
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue