Sisyphus repositório
Última atualização: 21 outubro 2019 | SRPMs: 17510 | Visitas: 15349141
en ru br
ALT Linux repositórios
S:2.3.3-alt1
5.0: 1.5.5-alt1
4.1: 1.5.5-alt0.M41.1
4.0: 1.5.2-alt0.M40.1
3.0: 1.3.5-alt1

Group :: Edição
RPM: lyx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: lyx
Version: 1.5.5
Release: alt0.M41.1

Summary: LyX - a WISYWIM word processor for the Desktop Environment.
License: GPL
Group: Publishing
Epoch: 2
Url: http://www.lyx.org

Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar
Source1: %name.desktop
Source2: %{name}16.xpm
Source3: %{name}32.xpm
Source4: %{name}48.xpm
Source5: lyxcat

Patch: lyx-qt4.3-from_ascii-lyx2lyx.alt.patch

BuildPreReq: desktop-file-utils
BuildRequires: gcc-c++ imake libaiksaurus-devel libaspell-devel libSM-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel linux-libc-headers packages-info-i18n-common python-dev tetex-core
BuildRequires: kde-common-devel
BuildRequires: libqt4-devel >= 4.3

# look for the future 2.5 ?

Requires: python >= 2.4
Requires(post,postun): desktop-file-utils

Provides: lyx-common lyx-qt lyx-latex-beamer
Obsoletes: lyx-common lyx-qt lyx-latex-beamer

%description
LyX is a modern approach to writing documents which breaks with the
obsolete "typewriter paradigm" of most other document preparation
systems.

It is designed for people who want professional quality output
with a minimum of time and effort, without becoming specialists in
typesetting.

The major innovation in LyX is WYSIWYM (What You See Is What You Mean).
That is, the author focuses on content, not on the details of formatting.
This allows for greater productivity, and leaves the final typesetting
to the backends (like LaTeX) that are specifically designed for the task.

With LyX, the author can concentrate on the contents of his writing,
and let the computer take care of the rest.

%prep
%setup -q
%patch -p1

%build
%configure
%make_build

%install
%make_install DESTDIR=%buildroot install
%find_lang %name

install -d -m 755 %buildroot%_Kmenudir
install -d -m 755 %buildroot%_menudir
install -m 644 %SOURCE1 %buildroot%_Kmenudir/
install -m 644 %SOURCE1 %buildroot%_menudir/
install -d -m 755 %buildroot%_miconsdir
install -d -m 755 %buildroot%_niconsdir
install -d -m 755 %buildroot%_liconsdir
install -m 644 %SOURCE2 %buildroot%_miconsdir/%name.xpm
install -m 644 %SOURCE3 %buildroot%_niconsdir/%name.xpm
install -m 644 %SOURCE4 %buildroot%_liconsdir/%name.xpm
install -m 755 %SOURCE5 %buildroot%_bindir/

#

# Set up the lyx-specific class files where TeX can see then
#
TEXMF=%_datadir/texmf
mkdir -p %buildroot$TEXMF/tex/latex
cp -ar %buildroot%_datadir/%name/tex %buildroot$TEXMF/tex/latex/%name

%post
# Fix the TeX file hash
if [ $1 = 1 ] ; then
   [ -x %_bindir/texhash ] && %_bindir/texhash 2>/dev/null ||:
fi

# configure Lyx in new way

cd %_datadir/%name
python configure.py

%update_menus
%update_desktopdb


%postun
if [ $1 = 0 ] ; then
   [ -x %_bindir/texhash ] && %_bindir/texhash 2>/dev/null ||:
fi
%clean_menus
%clean_desktopdb

%files -f %name.lang
%doc ANNOUNCE COPYING ChangeLog INSTALL* README* NEWS UPGRADING RELEASE-NOTES ABOUT-NLS
%_bindir/*
%_man1dir/*
%_datadir/%name
%_datadir/texmf/tex/latex/lyx
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%_Kmenudir/*
%_menudir/*


%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009