Hello community,

here is the log from the commit of package lyx for openSUSE:Factory
checked in at Mon Sep 19 17:54:50 CEST 2011.



--------
--- lyx/lyx.changes     2011-09-08 12:01:19.000000000 +0200
+++ lyx/lyx.changes     2011-09-19 13:06:15.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep 19 11:02:08 UTC 2011 - [email protected]
+
+- Cleaned up spec (removed some old stuff)
+- Removed texlive-devel and texlive-latex from BuildRequires (not used at 
build time: LyX checks the LaTeX installation at first start up, or can be 
manually called by reconfigure in the menu)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  minmem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lyx.spec ++++++
--- /var/tmp/diff_new_pack.uJkIdp/_old  2011-09-19 17:54:44.000000000 +0200
+++ /var/tmp/diff_new_pack.uJkIdp/_new  2011-09-19 17:54:44.000000000 +0200
@@ -15,18 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           lyx
 #!BuildIgnore: lyx
-BuildRequires:  aspell-devel boost-devel fdupes hunspell-devel libqt4-devel 
python texlive-devel texlive-latex update-desktop-files
+BuildRequires:  aspell-devel boost-devel fdupes hunspell-devel libqt4-devel 
python update-desktop-files
 License:        LGPLv2.1+
 Group:          Productivity/Publishing/TeX/Frontends
-Requires:       texlive-latex ImageMagick
-AutoReqProv:    on
 Version:        2.0.1
-Release:        3
+Release:        4
 Summary:        LaTeX-Based WYSIWYG Editor
 Url:            http://www.lyx.org/
 Source:         ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.1.tar.gz
@@ -38,6 +35,7 @@
 Patch0:         lyx-2.0.1-xdg_open.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+Requires:       texlive-latex ImageMagick
 Recommends:     texlive-xetex xindy
 
 %description
@@ -58,32 +56,15 @@
 
 %build
 #./autogen.sh
-export CFLAGS="$RPM_OPT_FLAGS -DHAVE_STRERROR"
-export CXXFLAGS="$RPM_OPT_FLAGS -DHAVE_STRERROR"
 TEXMF=%{_datadir}/texmf
-%if %suse_version > 1020
-TEXMF=$(kpsexpand '$TEXMFMAIN')
-%if %suse_version > 1030
-TEXMF=$(kpsexpand '$TEXMFDIST')
-%endif
-%endif
 %configure \
     --without-included-boost \
-%if %suse_version < 1020
-    --with-extra-inc=/usr/X11R6/include/X11 \
-%endif
     --with-aspell --with-hunspell \
     --with-frontend=qt4 
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 TEXMF=%{_datadir}/texmf
-%if %suse_version > 1020
-TEXMF=$(kpsexpand '$TEXMFMAIN')
-%if %suse_version > 1030
-TEXMF=$(kpsexpand '$TEXMFDIST')
-%endif
-%endif
 make install DESTDIR=$RPM_BUILD_ROOT TEXMF=$TEXMF
 
 # some defaults
@@ -106,9 +87,6 @@
 %fdupes -s $RPM_BUILD_ROOT
 %find_lang %name
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %name.lang
 %defattr(-,root,root)
 %docdir %{_datadir}/lyx/doc
@@ -118,6 +96,9 @@
 /usr/bin/tex2lyx
 %{_datadir}/applications/lyx.desktop
 %{_datadir}/pixmaps/lyx.png
+%dir %{_datadir}/texmf
+%dir %{_datadir}/texmf/tex
+%dir %{_datadir}/texmf/tex/latex
 %{_datadir}/texmf/tex/latex/lyx
 %{_datadir}/lyx
 %doc %{_mandir}/man1/lyx.1.gz



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to