From 5c3accf0559b03ed14b370c3607a920446fd50256c0d7eb7c7a57f41a494ed84 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 4 Apr 2011 07:42:27 +0000 Subject: [PATCH] osc copypac from project:Publishing package:texworks revision:6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texworks?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + texworks-0.4.0.tar.bz2 | 3 ++ texworks.changes | 48 +++++++++++++++++++++++++ texworks.spec | 82 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 157 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 texworks-0.4.0.tar.bz2 create mode 100644 texworks.changes create mode 100644 texworks.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/texworks-0.4.0.tar.bz2 b/texworks-0.4.0.tar.bz2 new file mode 100644 index 0000000..fbc6548 --- /dev/null +++ b/texworks-0.4.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eac88c73845dbb84b271dfd2bf2401e89711fe802f484cefeeaea8cb03802c5 +size 4322319 diff --git a/texworks.changes b/texworks.changes new file mode 100644 index 0000000..cb957ff --- /dev/null +++ b/texworks.changes @@ -0,0 +1,48 @@ +------------------------------------------------------------------- +Mon Mar 21 19:11:33 UTC 2011 - badshah400@gmail.com + +- Correct version number to 0.4.0 in keeping with upstream + +------------------------------------------------------------------- +Mon Mar 21 06:17:07 UTC 2011 - badshah400@gmail.com + +- Update to version 0.4: + + Support scripting (QtScript, Lua, Python) + + "Save all" menu item + + Auto-completion for the beamer class + + Support background color/font flags in syntax highlighting + + Implement a command line parser + + Automatically update resources when installing new releases + + Implement "Smarten quotes" for a selection + + Only display each language once in the sellchecker + language selection + + Preserve documemt view when reloading after external changes + + Handle different file encodings and line ending conventions + and allow the user to change them + + Make pdflatex the default on fresh installations + + Indicate a document's modification state in the windows menu + + Improve the "Email to mailing list" template + + Make "Highlight current line" color palette-aware + + Update SyncTeX to 1.9 + + Allow Esc and Return in the tags and search result windows + + Improve "Remove Auxiliary Files" dialog + + Fix handling of external file links in PDF's + + Numerous bug fixes + + Set TeXworks as the default editor when hitting 'e' after + a TeX error +- Remove texworks-default_to_pdflatex.patch in favor of upstream + implementation +- Remove auxiliary .desktop file and icons, implemented properly + upstream + +------------------------------------------------------------------- +Sat Sep 25 21:51:21 UTC 2010 - badshah400@gmail.com + +- Remove incorrect entries from .desktop file +- Cleanup of spec file + +------------------------------------------------------------------- +Sun Aug 1 23:57:44 UTC 2010 - badshah400@gmail.com + +- Initial package following openSUSE packaging guidelines + diff --git a/texworks.spec b/texworks.spec new file mode 100644 index 0000000..2a963c1 --- /dev/null +++ b/texworks.spec @@ -0,0 +1,82 @@ +# +# spec file for package TeXworks +# +# Copyright 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007-09 by Jonathan Kew. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +Name: texworks +Version: 0.4.0 +Release: 1 +License: GPLv2+ +Summary: TeXshop-like TeX Editor +Url: http://www.tug.org/texworks/ +Group: Productivity/Publishing/TeX/Frontends +Source0: texworks-%{version}.tar.bz2 +BuildRequires: dbus-1-devel +BuildRequires: desktop-file-utils +BuildRequires: hunspell-devel +BuildRequires: libpoppler-devel +BuildRequires: libpoppler-qt4-devel +BuildRequires: libqt4-devel +BuildRequires: update-desktop-files +Requires: dbus-1 +Requires: hunspell +Requires: poppler-tools +Requires: texlive-latex +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +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. + +%prep +%setup -q -n texworks-%{version} + +%build +qmake -unix 'INSTALL_PREFIX=%{_prefix}' TeXworks.pro + +%install +make INSTALL_ROOT=%{buildroot} install +%suse_update_desktop_file texworks Publishing WordProcessor +rm -rf %{buildroot}%{_datadir}/doc/texworks + +%clean +rm -rf %{buildroot} + +%post +%if 0%{?suse_version} > 1130 +%desktop_database_post +%else +gtk-update-icon-cache %{_datadir}/icons/hicolor || true +%endif + +%postun +%if 0%{?suse_version} > 1130 +%desktop_database_postun +%else +gtk-update-icon-cache %{_datadir}/icons/hicolor || true +%endif + +%files +%defattr(-,root,root) +%doc COPYING README +%{_bindir}/texworks +%{_datadir}/applications/texworks.desktop +%{_datadir}/pixmaps/*.png +%{_mandir}/man1/texworks.1.* + +%changelog