diff --git a/lyx.changes b/lyx.changes index 89bc722..2433a20 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Jul 5 16:35:26 CEST 2007 - coolo@suse.de + +- use %find_lang + +------------------------------------------------------------------- +Thu Jul 5 16:11:09 CEST 2007 - coolo@suse.de + +- put desktop file and icon into package + ------------------------------------------------------------------- Sun Apr 29 14:29:51 CEST 2007 - stbinner@suse.de diff --git a/lyx.desktop b/lyx.desktop new file mode 100644 index 0000000..ce1a7e8 --- /dev/null +++ b/lyx.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=LyX +GenericName=Word Processor +Exec=lyx +Terminal=false +Icon=lyx +MimeType=application/x-lyx; +Type=Application diff --git a/lyx.png b/lyx.png new file mode 100644 index 0000000..269f498 --- /dev/null +++ b/lyx.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:544d38fe82745ec14045015d965046b5f69cd7f62ee3945c1d27cf46973c59cd +size 528 diff --git a/lyx.spec b/lyx.spec index 45c66f6..cbe179a 100644 --- a/lyx.spec +++ b/lyx.spec @@ -18,15 +18,17 @@ BuildRequires: texlive-devel texlive-latex %else BuildRequires: te_latex tetex %endif -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +License: LGPL v2 or later Group: Productivity/Publishing/TeX/Frontends Requires: texlive-latex ImageMagick free-ttf-fonts Autoreqprov: on Version: 1.5.0beta2 -Release: 2 +Release: 23 Summary: LaTeX-Based WYSIWYG Editor URL: http://www.lyx.org/ Source: lyx-%{version}.tar.bz2 +Source1: lyx.desktop +Source2: lyx.png Patch: strict-aliasing-punning.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -81,15 +83,15 @@ cp ABOUT-NLS ANNOUNCE COPYING ChangeLog INSTALL* NEWS \ mkdir -p $RPM_BUILD_ROOT/usr/share/texmf/tex/latex ln -s /usr/share/lyx/tex $RPM_BUILD_ROOT/usr/share/texmf/tex/latex/lyx %suse_update_desktop_file -i lyx Office WordProcessor +%find_lang %name %clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +rm -rf $RPM_BUILD_ROOT -%files +%files -f %name.lang %defattr(-,root,root) %docdir /usr/share/lyx/doc %doc %{_defaultdocdir}/lyx -/usr/share/locale/*/LC_MESSAGES/lyx.mo /usr/bin/lyx /usr/bin/lyxclient /usr/bin/tex2lyx @@ -102,6 +104,10 @@ ln -s /usr/share/lyx/tex $RPM_BUILD_ROOT/usr/share/texmf/tex/latex/lyx %doc %{_mandir}/man1/tex2lyx.1.gz %changelog +* Thu Jul 05 2007 - coolo@suse.de +- use %%find_lang +* Thu Jul 05 2007 - coolo@suse.de +- put desktop file and icon into package * Sun Apr 29 2007 - stbinner@suse.de - fix build for < 10.3 * Fri Apr 27 2007 - bg@suse.de