3 # lyx-fedora build script for Fedora
5 # Author: Kayvan Sylvan <kayvan@sylvan.com>
6 # <kayvansylvan@gmail.com>
8 # Easily build lyx from the git repository for Fedora systems.
9 # Tested on Fedora 15, 16, 17.
11 # Just run "lyx-fedora init", then "lyx-fedora rpm" and "lyx-fedora install"
13 # Subsequently: "lyx-fedora pull", "lyx-fedora rpm" and "lyx-fedora install"
15 EXT=fc$(sed 's/[^0-9]*\([0-9]*\)[^0-9]*/\1/' /etc/fedora-release)
19 BUILDDIR=$HOME/src/lyx-build
25 sudo yum -y install lyx git rpm-build cmake qt-devel qt gcc-c++ \
26 automake autogen autoconf fontpackages-devel enchant-devel \
27 boost-devel hunspell-devel file-devel zlib-devel
34 git clone git://git.lyx.org/lyx
38 mkdir -p $RPMDIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
39 if [ ! -r $HOME/.rpmmacros ]
41 echo '%_topdir %(echo $HOME)/rpmbuild' > $HOME/.rpmmacros
42 echo '%_smp_mflags -j3' >> $HOME/.rpmmacros
45 # set up the directory to make the source tarball
48 cmake $SRCDIR -DLYX_CPACK:BOOL=ON
49 perl -pi -e 's@;/Makefile\\\\.in\$@@' CPackSourceConfig.cmake
50 perl -pi -e 's@;/POTFILES@@' CPackSourceConfig.cmake
52 # extra files to include in the Fedora RPM
53 cat > $RPMDIR/SOURCES/lyxrc.dist << EOF
55 # This file has the Fedora specific configuration for lyx.
56 # If you want to make your own modifications you should do them from
57 # inside LyX and save.
61 \hunspelldir_path "/usr/share/myspell/"
62 \thesaurusdir_path "/usr/share/mythes/"
64 \serverpipe "~/.lyx/lyxpipe"
67 \screen_font_roman "Serif"
68 \screen_font_sans "Sans Serif"
69 \screen_font_typewriter "Monospace"
71 cat > $RPMDIR/SOURCES/lyx.desktop << EOF
74 GenericName=Structured Word Processor
75 Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
78 MimeType=application/x-lyx;text/x-lyx;
81 Categories=Office;WordProcessor;
83 cat > $RPMDIR/SOURCES/lyx-2.0.1-xdg_open.patch << EOF
84 --- lyx-2.0.1.orig/lib/configure.py 2011-08-29 23:23:17.000000000 +0100
85 +++ lyx-2.0.1/lib/configure.py 2011-09-05 19:14:37.461269747 +0100
87 checkViewerEditor('a SVG viewer and editor', ['inkscape'],
88 rc_entry = [r'\Format svg svg SVG "" "%%" "%%" "vector"'])
90 - path, iv = checkViewerNoRC('a raster image viewer', ['xv', 'kview', 'gimp-remote', 'gimp'],
91 + path, iv = checkViewerNoRC('a raster image viewer', ['xdg-open', 'xv', 'kview', 'gimp-remote', 'gimp'],
92 rc_entry = [r'''\Format bmp bmp BMP "" "%s" "%s" ""
93 \Format gif gif GIF "" "%s" "%s" ""
94 \Format jpg jpg JPEG "" "%s" "%s" ""
96 \Format excel xls "Excel spreadsheet" "" "" "%%" "document"
97 \Format oocalc ods "OpenOffice spreadsheet" "" "" "%%" "document"'''])
99 - path, xhtmlview = checkViewer('an HTML previewer', ['firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
100 + path, xhtmlview = checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
101 rc_entry = [r'\Format xhtml xhtml "LyXHTML" y "%%" "" "document,menu=export"'])
103 addToRC(r'\Format xhtml xhtml "LyXHTML" y "" "" "document,menu=export"')
104 @@ -587,11 +587,11 @@
106 #checkProg('a Postscript interpreter', ['gs'],
107 # rc_entry = [ r'\ps_command "%%"' ])
108 - checkViewer('a Postscript previewer', ['kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
109 + checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
110 rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector"
111 \Format ps ps Postscript t "%%" "" "document,vector,menu=export"'''])
112 # for xdg-open issues look here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151818.html
113 - checkViewer('a PDF previewer', ['kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \\
114 + checkViewer('a PDF previewer', ['xdg-open', 'kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \\
116 rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document,vector,menu=export"
117 \Format pdf2 pdf "PDF (pdflatex)" F "%%" "" "document,vector,menu=export"
118 @@ -599,14 +599,14 @@
119 \Format pdf4 pdf "PDF (XeTeX)" X "%%" "" "document,vector,menu=export"
120 \Format pdf5 pdf "PDF (LuaTeX)" u "%%" "" "document,vector,menu=export"'''])
122 - checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
123 + checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
124 rc_entry = [r'''\Format dvi dvi DVI D "%%" "" "document,vector,menu=export"
125 \Format dvi3 dvi "DVI (LuaTeX)" V "%%" "" "document,vector,menu=export"'''])
127 # Windows only: DraftDVI
128 addToRC(r'\Format dvi2 dvi DraftDVI "" "" "" "vector"')
130 - checkViewer('an HTML previewer', ['firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
131 + checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
132 rc_entry = [r'\Format html html HTML H "%%" "" "document,menu=export"'])
134 checkViewerEditor('Noteedit', ['noteedit'],
136 cat > $RPMDIR/SPECS/lyx-cmake.spec << EOF
140 %define fontpackages 1
141 BuildRequires: fontpackages-devel
143 %define _fontdir %{_datadir}/fonts/%{fontname}
146 %define _without_included_boost --without-included-boost
148 Summary: WYSIWYM (What You See Is What You Mean) document processor
154 Group: Applications/Publishing
155 Url: http://www.lyx.org/
156 Source0: LyX-2.1.tar.bz2
157 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
160 Source10: lyx.desktop
162 ## upstreamable patches
163 # submitted, but upstream rejected it. we currently agree to disagree.
164 Patch50: lyx-2.0.1-xdg_open.patch
165 # Do we need to rebuild configuration files?
169 BuildRequires: automake libtool
171 BuildRequires: enchant-devel
172 %if 0%{?_without_included_boost:1}
173 BuildRequires: boost-devel
175 BuildRequires: desktop-file-utils
176 BuildRequires: gettext
177 BuildRequires: hunspell-devel
178 BuildRequires: python
179 BuildRequires: qt4-devel
180 BuildRequires: zlib-devel
182 # optional minimal qt4 dep
183 %{?_qt_version:Requires: qt4 >= %{_qt4_version}}
185 Obsoletes: %{name}-qt < 1.5.0
186 Provides: %{name}-qt = %{version}-%{release}
187 Obsoletes: %{name}-xforms < 1.5.0
189 Requires: %{name}-common = %{version}-%{release}
191 Requires: %{fontname}-fonts = %{version}-%{release}
193 %if 0%{?fedora} > 8 || 0%{?rhel} > 5
194 BuildRequires: tex(dvips) tex(latex)
195 Requires(post): texlive
196 Requires(postun): texlive
198 Requires: tex(dvips) tex(latex)
199 Requires: tex-simplecv
201 BuildRequires: tetex-dvips tetex-latex tetex-fonts
202 Requires(post): tetex-fonts
203 Requires(postun): tetex-fonts
204 Requires: tetex-dvips tetex-latex
206 Requires: ghostscript
208 %if 0%{?fedora} > 3 && 0%{?fedora} < 9
209 # Document->Change Tracking feature
210 Requires: tetex-dvipost
211 Requires: tetex-preview
212 Requires: tetex-IEEEtran
214 # convert doc files to lyx (bug #193858)
217 # required for instant preview
218 # we use a file require because depending on the texlive version used
219 # the package can either be texlive-dviutils for texlive 2007 or
220 # texlive-dtl-bin for texlive >= 2010
221 Requires: /usr/bin/dv2dt
222 Requires: ImageMagick
225 LyX is a modern approach to writing documents which breaks with the
226 obsolete "typewriter paradigm" of most other document preparation
229 It is designed for people who want professional quality output
230 with a minimum of time and effort, without becoming specialists in
233 The major innovation in LyX is WYSIWYM (What You See Is What You Mean).
234 That is, the author focuses on content, not on the details of formatting.
235 This allows for greater productivity, and leaves the final typesetting
236 to the backends (like LaTeX) that are specifically designed for the task.
238 With LyX, the author can concentrate on the contents of his writing,
239 and let the computer take care of the rest.
242 Summary: Common files of %{name}
243 Group: Applications/Publishing
244 Requires: %{name} = %{version}-%{release}
250 Summary: Lyx/MathML fonts
251 Group: Applications/Publishing
252 # The actual license says "The author of these fonts, Basil K. Malyshev, has
253 # kindly granted permission to use and modify these fonts."
254 # One of the font files (wasy10) is separately licensed GPL+.
255 License: Copyright only and GPL+
256 %{?fontpackages:Requires: fontpackages-filesystem}
257 Obsoletes: mathml-fonts < 1.0-50
258 Provides: mathml-fonts = 1.0-50
259 Obsoletes: lyx-fonts-common < 1.6.5-3
260 Obsoletes: lyx-fonts-compat < 1.6.5-3
261 Obsoletes: lyx-cmex10-fonts < 1.6.5-3
262 Obsoletes: lyx-cmmi10-fonts < 1.6.5-3
263 Obsoletes: lyx-cmr10-fonts < 1.6.5-3
264 Obsoletes: lyx-cmsy10-fonts < 1.6.5-3
265 Obsoletes: lyx-esint10-fonts < 1.6.5-3
266 Obsoletes: lyx-eufm10-fonts < 1.6.5-3
267 Obsoletes: lyx-msam10-fonts < 1.6.5-3
268 Obsoletes: lyx-msbm10-fonts < 1.6.5-3
269 Obsoletes: lyx-wasy10-fonts < 1.6.5-3
270 Provides: lyx-cmex10-fonts = %{version}-%{release}
271 Provides: lyx-cmmi10-fonts = %{version}-%{release}
272 Provides: lyx-cmr10-fonts = %{version}-%{release}
273 Provides: lyx-cmsy10-fonts = %{version}-%{release}
276 A collection of Math symbol fonts for %{name}.
283 #%patch50 -p1 -b .xdg_open
293 --disable-dependency-tracking \\
295 --enable-build-type=release \\
296 --enable-optimization="%{optflags}" \\
297 --without-included-boost \\
307 make install DESTDIR=%{buildroot}
310 install -p -m644 -D %{SOURCE1} %{buildroot}%{_datadir}/lyx/lyxrc.dist
312 # Set up the lyx-specific class files where TeX can see them
313 texmf=%{_datadir}/texmf
314 mkdir -p %{buildroot}\${texmf}/tex/latex
315 mv %{buildroot}%{_datadir}/lyx/tex \\
316 %{buildroot}\${texmf}/tex/latex/lyx
319 desktop-file-install --vendor="" \\
320 --dir="%{buildroot}%{_datadir}/applications" \\
324 install -p -D -m644 lib/images/lyx.png \\
325 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/lyx.png
328 touch %{buildroot}%{_datadir}/lyx/lyxrc.defaults
329 touch %{buildroot}%{_datadir}/lyx/{packages,textclass}.lst
332 install -m 0755 -d %{buildroot}%{_fontdir}
333 mv %{buildroot}%{_datadir}/lyx/fonts/*.ttf %{buildroot}%{_fontdir}/
334 rm -rf %{buildroot}%{_datadir}/lyx/fonts
340 # tests/test_filetools error bogus ( see http://bugzilla.redhat.com/723938 )
345 touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
348 if [ \$1 -eq 0 ] ; then
350 update-desktop-database -q &> /dev/null
351 touch --no-create %{_datadir}/icons/hicolor &> /dev/null
352 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
357 update-desktop-database -q &> /dev/null
358 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
360 ## Catch installed/uninstalled helpers
361 ## not sure if this is really needed anymore, as it seems to be a per-user thing,
362 ## and besides, we use xdg-open now -- Rex
363 #triggerin common -- latex2html,wv
364 #if [ \$2 -gt 1 ]; then
365 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
368 #triggerun common -- latex2html,wv
369 #if [ \$2 -eq 0 ]; then
370 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
379 %defattr(-,root,root,-)
380 %doc ANNOUNCE COPYING lib/CREDITS NEWS README
383 %files common -f %{name}.lang
384 %defattr(-,root,root,-)
386 %{_datadir}/applications/*.desktop
387 %{_datadir}/icons/hicolor/*/*/*
389 %config(noreplace) %{_datadir}/lyx/lyxrc.dist
390 %ghost %{_datadir}/lyx/lyxrc.defaults
391 %ghost %{_datadir}/lyx/*.lst
392 %{_datadir}/texmf/tex/latex/lyx/
394 %if 0%{?fontpackages:1}
397 %doc lib/fonts/BaKoMaFontLicense.txt
398 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
401 %defattr(-,root,root,-)
404 %doc lib/fonts/BaKoMaFontLicense.txt
405 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
408 fc-cache %{_fontdir} 2> /dev/null ||:
413 * Sun Nov 4 2012 Kayvan Sylvan <kayvan@sylvan.com>
414 - Remove texlive-fonts from BuildRequires (Fedora 18 obsoletes texlive-fonts)
416 * Fri Nov 2 2012 Kayvan Sylvan <kayvan@sylvan.com> - 2.1
419 * Sat Jun 30 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
421 - Omitted backslash in code for floatingfootnote, after export to latex, and re-import (#811719)
423 * Mon Mar 5 2012 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
426 * Wed Feb 29 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-4
427 - hack around gcc-4.7 ftbfs for now
429 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
430 - Rebuilt for c++ ABI breakage
432 * Sat Jan 7 2012 José Matos <jamatos@fedoraproject.org> - 2.0.2-2
433 - Require ImageMagick (#753626)
435 * Thu Dec 1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.2-1
436 - New stable release.
438 * Tue Nov 22 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.1-3
441 * Mon Sep 5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-2
442 - Update xdg_open patch for version 2.0.1
444 * Mon Sep 5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-1
447 * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-5
450 * Wed Jun 1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-4
451 - LaTeXConfig.lyx is no longer a ghost (#684428)
453 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-3
454 - fix hunspell support (use pkgconfig)
456 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-2
459 * Fri Apr 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-1
460 - Update to 2.0.0 final
462 * Mon Apr 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.21.rc3
465 * Thu Apr 7 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.20.rc2
466 - Rebuild for new boost (just applies to F16)
468 * Tue Mar 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.19.rc2
469 - New upstream release (rc2)
471 * Mon Mar 14 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.18.rc1
472 - Rebuild for boost upgrade
474 * Sat Mar 12 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.17.rc1
475 - Add thesaurus and hunspell paths to lyxrc.dist thus fixing
476 http://www.lyx.org/trac/ticket/7253
477 - Simplified the content of lyxrc.dist leaving only the relevant
478 options and updating the format to the current one
480 * Fri Mar 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.16.rc1
481 - Update for rc1 and add a dependency to ensure that math instant
482 preview works by default
483 - Removed patch applied upstream for gcc 4.6 fixes
484 - Renamed patch for xdg_open to be in sync with current version (rc1)
486 * Fri Feb 11 2011 Orion Poplawski <orion@cora.nwra.com> 2.0.0-0.15.beta4
487 - Get gcc46 fixes from svn
489 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.14.beta4
490 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
492 * Mon Feb 07 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.13.beta4
495 * Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> 2.0.0-0.12.beta3
496 - rebuild for new boost
498 * Tue Jan 11 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.11.beta3
501 * Wed Dec 08 2010 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.10.beta2
504 * Wed Nov 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.9.beta1
505 - lyx-2.0.0-beta1 (#651488)
507 * Tue Nov 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.8.alpha6
508 - lyx-2.0.0-alpha6 (#651488)
510 * Wed Nov 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.7.alpha5
511 - drop %%triggers, *may* affect selinux labels (#632944)
513 * Thu Aug 05 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-0.6.alpha5
514 - Rebuild for newer boost
516 * Wed Jul 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.5.alpha5
519 * Thu Jun 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.4.alpha4
522 * Thu May 13 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.3.alpha3
525 * Sat Apr 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.2.alpha2
528 * Sat Apr 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.1.alpha1
531 * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-5
532 - FTBFS lyx-1.6.5-4.fc13: ImplicitDSOLinking (#565009)
534 * Thu Jan 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-4
535 - -fonts: Provides: lyx-{cmex10,cmmi10,cmr10,cmsy10}-fonts
537 * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-3
539 - use simple font template
541 * Wed Dec 9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-2
542 - Add patch for autoconf 2.65 (F13+)
544 * Wed Dec 9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-1
547 * Thu Nov 19 2009 José Matos <jamatos@fc.up.pt> - 1.6.4-3
548 - LyX supports autoconf 2.64 (should be upstream for 1.6.5)
550 * Thu Sep 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-2
551 - use enchant instead of aspell (#524046)
553 * Sat Aug 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-1
555 - handle fonts manually (now EPEL-5 compatible)
557 * Mon Aug 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-3
558 - add lyx-*-fonts subpkgs (#452357, #514549)
559 - -common (noarch) subpkg
562 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2
563 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
565 * Thu Jun 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-1
568 * Mon Mar 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-2
569 - scriptlet optimization
571 * Sun Mar 15 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-1
573 - use --without-included-boost unconditionally
575 * Wed Mar 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-3
576 - --without-included-boost (f11+)
578 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
579 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
581 * Sun Dec 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-1
584 * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.0-2
585 - Rebuild for Python 2.6
587 * Fri Nov 07 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-1
590 * Tue Oct 28 2008 José Matos <jamatos@fc.up.pt> - 1.6.0-0.11.rc5
593 * Fri Oct 24 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.10.rc4
596 * Tue Sep 30 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.9.rc3
599 * Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.8.rc3
600 - lyx-1.6.0rc3-svn26576
602 * Fri Sep 12 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.7.rc2
605 * Wed Aug 06 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.6.rc1
608 * Sun Aug 03 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.5.beta4
609 - Requires: dvipdfm (f9+, #448647)
610 - add (optional) minimal qt4 dep
611 - make Req: tex-simplecv fedora only
612 - drop file deps (texhash)
614 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.4.beta4
615 - Changelog has been removed from the distribution
617 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.3.beta4
618 - icon has changed from xpm to png
620 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.2.beta4
621 - revert to use pre instead of devrel.
622 - require tex-simplecv (#428526)
624 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.1.beta4
626 - --enable-build-type=release disables extra debug information (no
627 warnings, debug, assertions, concept-checks and stdlib-debug).
629 * Mon May 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.5-1
632 * Mon Feb 25 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.4-1
633 - lyx-1.5.4 (#434689)
634 - reintroduce xdg-utils patch (reverted upstream).
635 - omit bakoma ttf fonts
637 * Mon Feb 11 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.3-2
638 - Rebuild for gcc 4.3
640 * Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.3-1
643 * Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-2
644 - drop scriptlet optimization hack
646 * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-1
649 * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-2
652 * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-1
656 * Wed Jul 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-1
659 * Sun Jul 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.10.rc2
660 - upstream patch for 'lyx --export latex' crasher (#248282)
662 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.9.rc2
663 - scriptlet optmization
665 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.8.rc2
668 * Fri Jun 01 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.7.rc1
671 * Fri May 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.6.beta3
674 * Sun Apr 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.5.beta2
677 * Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.4.beta1
680 * Tue Mar 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.3.beta1
681 - stop omitting -fexceptions
683 * Wed Mar 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.2.beta1
684 - +Requires: tetex-IEEEtran (#232840)
686 * Mon Mar 05 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.1.beta1
690 * Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-2
691 - biffed sources, respin
693 * Wed Feb 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-1
695 - .desktop's: -Category=Application
696 - mark -xforms as deprecated
698 * Sun Oct 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-3
699 - sync .desktop files with upstream
700 - use xdg-open as default helper, +Requires: xdg-utils
702 * Thu Sep 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-1
705 * Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-5
708 * Thu Aug 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-4
709 - owowned files, incomplete package removal (bug #201197)
711 * Thu Jul 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-2
714 * Wed Jun 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-9
715 - Requires(hint): wv (bug #193858)
716 - fix dependancy -> dependency
718 * Thu Jun 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-8
720 - fc4: restore Requires(hint): tetex-preview
722 * Thu May 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7.1
723 - fc4: drop Requires: tetex-preview, it's not ready yet.
725 * Wed May 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7
726 - use serverpipe "~/.lyx/lyxpipe" instead, that was the old default
727 and what pybibliographer expects.
729 * Tue May 23 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-6
730 - set defaults for (see %{_datadir}/lyx/lyxrc.defaults.custom)
731 screen_font_roman "Serif"
732 screen_font_sans "Sans"
733 screen_font_typewriter "Monospace"
735 serverpipe "~/.lyx/pipe"
738 * Mon May 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-5
739 - Requires(hint): tetex-preview
741 * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-4
742 - add generic app icon (rh #191944)
744 * Fri Apr 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-3
745 - Requires(hint): tetex-dvipost
746 adds support for lyx's Document->Change Tracking
748 * Tue Apr 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-2
751 * Thu Mar 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-5
752 - %%trigger ImageMagick (#186319)
754 * Thu Mar 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-4
755 - fix stripping of -fexceptions from %%optflags
757 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-3
758 - include beamer.layout
760 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-2
776 mv LyX-2.1.tar.bz2 $HOME/rpmbuild/SOURCES
777 rpmbuild -ba $HOME/rpmbuild/SPECS/lyx-cmake.spec
780 VER=$(head $SRCDIR/configure.ac | grep AC_INIT|awk -F, '{print $2}')
781 rpm -q lyx | grep -q lyx-$VER
789 $HOME/rpmbuild/RPMS/x86_64/lyx-$VER-1.$EXT.x86_64.rpm \
790 $HOME/rpmbuild/RPMS/noarch/lyx-common-$VER-1.$EXT.noarch.rpm \
791 $HOME/rpmbuild/RPMS/noarch/lyx-fonts-$VER-1.$EXT.noarch.rpm
795 On recent Fedora install (F15, F16, and F17 work):
797 To install the needed packages, create the rpmbuild directory, and set
798 up the build directory:
804 After this, you can refresh and re-install the latest like this:
810 For any problems, Email Kayvan Sylvan <kayvansylvan@gmail.com>.