commit texworks for openSUSE:Factory
Hello community, here is the log from the commit of package texworks for openSUSE:Factory checked in at Wed Apr 27 10:47:04 CEST 2011. -------- --- texworks/texworks.changes 2011-03-21 20:12:12.000000000 +0100 +++ /mounts/work_src_done/STABLE/texworks/texworks.changes 2011-04-19 21:23:24.000000000 +0200 @@ -1,0 +2,14 @@ +Tue Apr 19 19:26:10 UTC 2011 - badshah400@gmail.com + +- Correct pkgconfig dependency for lua plugin package + +------------------------------------------------------------------- +Sat Apr 16 09:14:15 UTC 2011 - badshah400@gmail.com + +- Split out python scripting and lua scripting plugins in + respective subpackages +- Correctly point to myspell dictionaries, this enables the + dictionaries in texworks' spell-checker (thanks to Mike) +- Install the user-manual (thanks to Mike) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texworks.spec ++++++ --- /var/tmp/diff_new_pack.h9fv3V/_old 2011-04-27 10:45:18.000000000 +0200 +++ /var/tmp/diff_new_pack.h9fv3V/_new 2011-04-27 10:45:18.000000000 +0200 @@ -20,7 +20,7 @@ Name: texworks Version: 0.4.0 -Release: 1 +Release: 2 License: GPLv2+ Summary: TeXshop-like TeX Editor Url: http://www.tug.org/texworks/ @@ -33,6 +33,8 @@ BuildRequires: libpoppler-qt4-devel BuildRequires: libqt4-devel BuildRequires: update-desktop-files +BuildRequires: python-devel +BuildRequires: lua-devel Requires: dbus-1 Requires: hunspell Requires: poppler-tools @@ -48,16 +50,85 @@ TeXShop for Mac OS X, which is credited with a resurgence of TeX usage on the Mac platform. +%package plugin-python +License: GPLv2+ +Summary: Plugins to add python scripting to texworks +Group: Development/Libraries/Python +Requires: python +Requires: %{name} = %{version} + +%description plugin-python +The TeXworks project is an effort to build a simple TeX front-end +program (working environment) that will be available for all today’s +major desktop operating systems—in particular, MS Windows (XP and +Vista), typical GNU/Linux distros and other X11-based systems, and +Mac OS X. It is deliberately modeled on Dick Koch’s award-winning +TeXShop for Mac OS X, which is credited with a resurgence of TeX +usage on the Mac platform. + +This package adds python scripting abitilies to TeXworks. + +%package plugin-lua +License: GPLv2+ +Summary: Plugins to add python scripting to texworks +Group: Development/Libraries/Other +Requires: lua +Requires: %{name} = %{version} + +%description plugin-lua +The TeXworks project is an effort to build a simple TeX front-end +program (working environment) that will be available for all today’s +major desktop operating systems—in particular, MS Windows (XP and +Vista), typical GNU/Linux distros and other X11-based systems, and +Mac OS X. It is deliberately modeled on Dick Koch’s award-winning +TeXShop for Mac OS X, which is credited with a resurgence of TeX +usage on the Mac platform. + +This package adds lua scripting abitilies to TeXworks. + %prep %setup -q -n texworks-%{version} %build -qmake -unix 'INSTALL_PREFIX=%{_prefix}' TeXworks.pro + +#Python plugin +pushd plugins-src/TWPythonPlugin/ +sed -i 's:/usr/local/lib:%{_libdir}:' TWPythonPlugin.pro +qmake -after \ + 'INCLUDEPATH -= /usr/include/python2.6/' \ + 'INCLUDEPATH += %{_includedir}/python%{py_ver}/' \ + 'LIBS -= -lpython2.6' \ + 'LIBS += -lpython%{py_ver}' +popd + +#Lua plugin +pushd plugins-src/TWLuaPlugin/ +sed -i 's:/usr/local/lib:%{_libdir}:' TWLuaPlugin.pro +qmake -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\\\"' %install +#Python plugin +pushd plugins-src/TWPythonPlugin/ +make INSTALL_ROOT=%{buildroot} install +popd + +#Lua plugin +pushd plugins-src/TWLuaPlugin/ +make INSTALL_ROOT=%{buildroot} install +popd + +#Main package make INSTALL_ROOT=%{buildroot} install %suse_update_desktop_file texworks Publishing WordProcessor -rm -rf %{buildroot}%{_datadir}/doc/texworks %clean rm -rf %{buildroot} @@ -78,10 +149,20 @@ %files %defattr(-,root,root) -%doc COPYING README +%doc COPYING README NEWS manual/ %{_bindir}/texworks %{_datadir}/applications/texworks.desktop %{_datadir}/pixmaps/*.png %{_mandir}/man1/texworks.1.* +%files plugin-python +%defattr(-,root,root) +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/*PythonPlugin.so + +%files plugin-lua +%defattr(-,root,root) +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/*LuaPlugin.so + %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de