SPECS: lyx.spec - updated to 1.4.2, removed outdated libconfigure ...

qboosh qboosh at pld-linux.org
Wed Jul 19 16:18:38 CEST 2006


Author: qboosh                       Date: Wed Jul 19 14:18:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.4.2, removed outdated libconfigure patch

---- Files affected:
SPECS:
   lyx.spec (1.102 -> 1.103) 

---- Diffs:

================================================================
Index: SPECS/lyx.spec
diff -u SPECS/lyx.spec:1.102 SPECS/lyx.spec:1.103
--- SPECS/lyx.spec:1.102	Sat May 27 21:37:50 2006
+++ SPECS/lyx.spec	Wed Jul 19 16:18:33 2006
@@ -3,17 +3,15 @@
 Summary(pl):	Nakładka WYSIWYM na LaTeXa
 Summary(pt_BR):	Editor de Textos para ambiente Desktop
 Name:		lyx
-Version:	1.4.1
+Version:	1.4.2
 Release:	1
 Epoch:		1
 License:	GPL
 Group:		Applications/Publishing/TeX
 Source0:	ftp://ftp.lyx.org/pub/lyx/stable/%{name}-%{version}.tar.bz2
-# Source0-md5:	368696695a05e428773626e3b0f8ae74
+# Source0-md5:	e828dbb01e3a05b1ae9dfb28884463e2
 Source1:	%{name}.desktop
 Source2:	%{name}.png
-# it's patch from BRANCH_1_3_X
-Patch0:		%{name}-libconfigure.patch
 URL:		http://www.lyx.org/
 BuildRequires:	XFree86-devel
 BuildRequires:	aiksaurus-devel
@@ -26,6 +24,7 @@
 BuildRequires:	rpm-pythonprov
 # for xfonts generation
 BuildRequires:	kpathsea
+BuildRequires:	sed >= 4.0
 BuildRequires:	tetex-fonts-type1-bluesky
 BuildRequires:	tetex-fonts-type1-hoekwater
 Requires(post,postun):	tetex
@@ -66,7 +65,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %{__perl} -pi -e 's/-lqt-mt -lqt-mt3 -lqt3 -lqt2 -lqt/-lqt-mt/' config/qt.m4
 
@@ -95,11 +93,11 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-chmod a+rx $RPM_BUILD_ROOT%{_datadir}/lyx/configure
-
 rm -f $RPM_BUILD_ROOT%{_datadir}/lyx/{doc/LaTeXConfig.lyx,packages.lst}
 ln -sf %{_datadir}/lyx/tex $RPM_BUILD_ROOT%{texmfdir}/tex/latex/lyx
 
+sed -i -e 's,#! /usr/bin/env python,#!/usr/bin/python,' $RPM_BUILD_ROOT%{_datadir}/lyx/configure.py
+
 %find_lang %{name}
 
 %clean
@@ -109,7 +107,7 @@
 umask 022
 /usr/bin/texhash
 cd %{_datadir}/lyx
-./configure > /dev/null || :
+./configure.py > /dev/null || :
 if [ -f lyxrc.defaults ]; then
 	cp -p lyxrc.defaults lyxrc
 fi
@@ -170,7 +168,6 @@
 %{_datadir}/lyx/syntax.default
 %{_datadir}/lyx/templates
 %{_datadir}/lyx/tex
-%{_datadir}/lyx/textclass.lst
 %{_datadir}/lyx/ui
 %{_mandir}/man*/*
 %{_desktopdir}/*.desktop
@@ -182,6 +179,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.103  2006/07/19 14:18:33  qboosh
+- updated to 1.4.2, removed outdated libconfigure patch
+
 Revision 1.102  2006/05/27 19:37:50  maciek2w
 - updated to 1.4.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lyx.spec?r1=1.102&r2=1.103&f=u



More information about the pld-cvs-commit mailing list