OBS User unknown 2007-07-05 17:02:24 +00:00 committed by Git OBS Bridge
parent fcc7166670
commit 93a571e7d1
4 changed files with 33 additions and 5 deletions

View File

@ -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

9
lyx.desktop Normal file
View File

@ -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

3
lyx.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:544d38fe82745ec14045015d965046b5f69cd7f62ee3945c1d27cf46973c59cd
size 528

View File

@ -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