Accepting request 76328 from home:badshah400:branches:Publishing
Update to version 0.4.3 OBS-URL: https://build.opensuse.org/request/show/76328 OBS-URL: https://build.opensuse.org/package/show/Publishing/texworks?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
879be75d77
commit
05533ffbd2
@@ -14,7 +14,7 @@
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
Name: texworks
|
||||
Version: 0.4.1
|
||||
Version: 0.4.3
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Summary: TeXshop-like TeX Editor
|
||||
@@ -86,8 +86,7 @@ This package adds lua scripting abitilies to TeXworks.
|
||||
|
||||
#Python plugin
|
||||
pushd plugins-src/TWPythonPlugin/
|
||||
sed -i 's:/usr/local/lib:%{_libdir}:' TWPythonPlugin.pro
|
||||
qmake -after \
|
||||
qmake 'INSTALL_PREFIX=%{_prefix}' 'TW_PLUGINPATH=%{_libdir}/%{name}' -after \
|
||||
'INCLUDEPATH -= /usr/include/python2.6/' \
|
||||
'INCLUDEPATH += %{_includedir}/python%{py_ver}/' \
|
||||
'LIBS -= -lpython2.6' \
|
||||
@@ -96,17 +95,13 @@ popd
|
||||
|
||||
#Lua plugin
|
||||
pushd plugins-src/TWLuaPlugin/
|
||||
sed -i 's:/usr/local/lib:%{_libdir}:' TWLuaPlugin.pro
|
||||
qmake -after \
|
||||
qmake 'INSTALL_PREFIX=%{_prefix}' 'TW_PLUGINPATH=%{_libdir}/%{name}' -after \
|
||||
'PKGCONFIG -= lua5.1' \
|
||||
'PKGCONFIG += lua'
|
||||
popd
|
||||
|
||||
#Main package
|
||||
qmake INSTALL_PREFIX=%{_prefix} DOCS_DIR=%{_docdir}/%{name} \
|
||||
-after \
|
||||
'QMAKE_CXXFLAGS -= -DTW_BUILD_ID=personal -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\" -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\" -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \
|
||||
'QMAKE_CXXFLAGS += -DTW_BUILD_ID=openSUSE -DTW_HELPPATH=\\\"%{_docdir}/%{name}/manual\\\" -DTW_PLUGINPATH=\\\"%{_libdir}/%{name}\\\" -DTW_DICPATH=\\\"%{_datadir}/myspell\\\"'
|
||||
qmake 'TW_BUILD_ID=openSUSE' 'INSTALL_PREFIX=%{_prefix}' 'TW_HELPPATH=%{_docdir}/%{name}/manual' 'DOCS_DIR=%{_docdir}/%{name}'
|
||||
|
||||
%install
|
||||
#Python plugin
|
||||
|
Reference in New Issue
Block a user