Autobuild autoformatter for 76456

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texworks?expand=0&rev=7
This commit is contained in:
Sascha Peilicke 2011-07-19 12:49:44 +00:00 committed by Git OBS Bridge
parent 2a2d5b2b84
commit 2ab4e32522

View File

@ -1,7 +1,7 @@
# #
# spec file for package TeXworks # spec file for package texworks
# #
# Copyright 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007-09 by Jonathan Kew. # Copyright (c) 2007-09 by Jonathan Kew.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -12,7 +12,12 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: texworks Name: texworks
Version: 0.4.3 Version: 0.4.3
Release: 1 Release: 1
@ -46,6 +51,7 @@ TeXShop for Mac OS X, which is credited with a resurgence of TeX
usage on the Mac platform. usage on the Mac platform.
%package plugin-python %package plugin-python
Summary: Plugins to add python scripting to texworks Summary: Plugins to add python scripting to texworks
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: python Requires: python
@ -63,6 +69,7 @@ usage on the Mac platform.
This package adds python scripting abitilies to TeXworks. This package adds python scripting abitilies to TeXworks.
%package plugin-lua %package plugin-lua
Summary: Plugins to add python scripting to texworks Summary: Plugins to add python scripting to texworks
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: lua Requires: lua
@ -104,7 +111,7 @@ popd
qmake 'TW_BUILD_ID=openSUSE' 'INSTALL_PREFIX=%{_prefix}' 'TW_HELPPATH=%{_docdir}/%{name}/manual' 'DOCS_DIR=%{_docdir}/%{name}' -after \ qmake 'TW_BUILD_ID=openSUSE' 'INSTALL_PREFIX=%{_prefix}' 'TW_HELPPATH=%{_docdir}/%{name}/manual' 'DOCS_DIR=%{_docdir}/%{name}' -after \
'QMAKE_CXXFLAGS -= -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \ 'QMAKE_CXXFLAGS -= -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"' \
'QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"%{_datadir}/myspell\\\"' 'QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"%{_datadir}/myspell\\\"'
%install %install
#Python plugin #Python plugin
pushd plugins-src/TWPythonPlugin/ pushd plugins-src/TWPythonPlugin/
@ -129,7 +136,7 @@ rm -rf %{buildroot}
%else %else
gtk-update-icon-cache %{_datadir}/icons/hicolor || true gtk-update-icon-cache %{_datadir}/icons/hicolor || true
%endif %endif
%postun %postun
%if 0%{?suse_version} > 1130 %if 0%{?suse_version} > 1130
%desktop_database_postun %desktop_database_postun