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"
16 EXT=fc$(sed 's/[^0-9]*\([0-9]*\)[^0-9]*/\1/' /etc/fedora-release)
20 BUILDDIR=$HOME/src/lyx-build
26 sudo yum -y install lyx git rpm-build cmake qt-devel qt gcc-c++ \
27 automake autogen autoconf fontpackages-devel enchant-devel \
28 boost-devel hunspell-devel file-devel zlib-devel
35 git clone git://git.lyx.org/lyx
39 mkdir -p $RPMDIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
40 if [ ! -r $HOME/.rpmmacros ]
42 echo '%_topdir %(echo $HOME)/rpmbuild' > $HOME/.rpmmacros
43 echo '%_smp_mflags -j3' >> $HOME/.rpmmacros
46 # set up the directory to make the source tarball
49 cmake $SRCDIR -DLYX_CPACK:BOOL=ON
50 perl -pi -e 's@;/Makefile\\\\.in\$@@' CPackSourceConfig.cmake
51 perl -pi -e 's@;/POTFILES@@' CPackSourceConfig.cmake
53 # extra files to include in the Fedora RPM
54 cat > $RPMDIR/SOURCES/lyxrc.dist << EOF
56 # This file has the Fedora specific configuration for lyx.
57 # If you want to make your own modifications you should do them from
58 # inside LyX and save.
62 \hunspelldir_path "/usr/share/myspell/"
63 \thesaurusdir_path "/usr/share/mythes/"
65 \serverpipe "~/.lyx/lyxpipe"
68 \screen_font_roman "Serif"
69 \screen_font_sans "Sans Serif"
70 \screen_font_typewriter "Monospace"
72 cat > $RPMDIR/SOURCES/lyx.desktop << EOF
75 GenericName=Structured Word Processor
76 Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
79 MimeType=application/x-lyx;text/x-lyx;
82 Categories=Office;WordProcessor;
84 cat > $RPMDIR/SOURCES/lyx-2.0.1-xdg_open.patch << EOF
85 --- lyx-2.0.1.orig/lib/configure.py 2011-08-29 23:23:17.000000000 +0100
86 +++ lyx-2.0.1/lib/configure.py 2011-09-05 19:14:37.461269747 +0100
88 checkViewerEditor('a SVG viewer and editor', ['inkscape'],
89 rc_entry = [r'\Format svg svg SVG "" "%%" "%%" "vector"'])
91 - path, iv = checkViewerNoRC('a raster image viewer', ['xv', 'kview', 'gimp-remote', 'gimp'],
92 + path, iv = checkViewerNoRC('a raster image viewer', ['xdg-open', 'xv', 'kview', 'gimp-remote', 'gimp'],
93 rc_entry = [r'''\Format bmp bmp BMP "" "%s" "%s" ""
94 \Format gif gif GIF "" "%s" "%s" ""
95 \Format jpg jpg JPEG "" "%s" "%s" ""
97 \Format excel xls "Excel spreadsheet" "" "" "%%" "document"
98 \Format oocalc ods "OpenOffice spreadsheet" "" "" "%%" "document"'''])
100 - path, xhtmlview = checkViewer('an HTML previewer', ['firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
101 + path, xhtmlview = checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
102 rc_entry = [r'\Format xhtml xhtml "LyXHTML" y "%%" "" "document,menu=export"'])
104 addToRC(r'\Format xhtml xhtml "LyXHTML" y "" "" "document,menu=export"')
105 @@ -587,11 +587,11 @@
107 #checkProg('a Postscript interpreter', ['gs'],
108 # rc_entry = [ r'\ps_command "%%"' ])
109 - checkViewer('a Postscript previewer', ['kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
110 + checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
111 rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector"
112 \Format ps ps Postscript t "%%" "" "document,vector,menu=export"'''])
113 # for xdg-open issues look here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151818.html
114 - checkViewer('a PDF previewer', ['kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \\
115 + checkViewer('a PDF previewer', ['xdg-open', 'kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \\
117 rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document,vector,menu=export"
118 \Format pdf2 pdf "PDF (pdflatex)" F "%%" "" "document,vector,menu=export"
119 @@ -599,14 +599,14 @@
120 \Format pdf4 pdf "PDF (XeTeX)" X "%%" "" "document,vector,menu=export"
121 \Format pdf5 pdf "PDF (LuaTeX)" u "%%" "" "document,vector,menu=export"'''])
123 - checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
124 + checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
125 rc_entry = [r'''\Format dvi dvi DVI D "%%" "" "document,vector,menu=export"
126 \Format dvi3 dvi "DVI (LuaTeX)" V "%%" "" "document,vector,menu=export"'''])
128 # Windows only: DraftDVI
129 addToRC(r'\Format dvi2 dvi DraftDVI "" "" "" "vector"')
131 - checkViewer('an HTML previewer', ['firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
132 + checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
133 rc_entry = [r'\Format html html HTML H "%%" "" "document,menu=export"'])
135 checkViewerEditor('Noteedit', ['noteedit'],
137 cat > $RPMDIR/SPECS/lyx-cmake.spec << EOF
141 %define fontpackages 1
142 BuildRequires: fontpackages-devel
144 %define _fontdir %{_datadir}/fonts/%{fontname}
147 %define _without_included_boost --without-included-boost
149 Summary: WYSIWYM (What You See Is What You Mean) document processor
155 Group: Applications/Publishing
156 Url: http://www.lyx.org/
157 Source0: LyX-2.1.tar.bz2
158 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
161 Source10: lyx.desktop
163 ## upstreamable patches
164 # submitted, but upstream rejected it. we currently agree to disagree.
165 Patch50: lyx-2.0.1-xdg_open.patch
166 # Do we need to rebuild configuration files?
170 BuildRequires: automake libtool
172 BuildRequires: enchant-devel
173 %if 0%{?_without_included_boost:1}
174 BuildRequires: boost-devel
176 BuildRequires: desktop-file-utils
177 BuildRequires: gettext
178 BuildRequires: hunspell-devel
179 BuildRequires: python
180 BuildRequires: qt4-devel
181 BuildRequires: zlib-devel
183 # optional minimal qt4 dep
184 %{?_qt_version:Requires: qt4 >= %{_qt4_version}}
186 Obsoletes: %{name}-qt < 1.5.0
187 Provides: %{name}-qt = %{version}-%{release}
188 Obsoletes: %{name}-xforms < 1.5.0
190 Requires: %{name}-common = %{version}-%{release}
192 Requires: %{fontname}-fonts = %{version}-%{release}
194 %if 0%{?fedora} > 8 || 0%{?rhel} > 5
195 BuildRequires: tex(dvips) tex(latex) texlive-fonts
196 Requires(post): texlive
197 Requires(postun): texlive
199 Requires: tex(dvips) tex(latex)
200 Requires: tex-simplecv
202 BuildRequires: tetex-dvips tetex-latex tetex-fonts
203 Requires(post): tetex-fonts
204 Requires(postun): tetex-fonts
205 Requires: tetex-dvips tetex-latex
207 Requires: ghostscript
209 %if 0%{?fedora} > 3 && 0%{?fedora} < 9
210 # Document->Change Tracking feature
211 Requires: tetex-dvipost
212 Requires: tetex-preview
213 Requires: tetex-IEEEtran
215 # convert doc files to lyx (bug #193858)
218 # required for instant preview
219 # we use a file require because depending on the texlive version used
220 # the package can either be texlive-dviutils for texlive 2007 or
221 # texlive-dtl-bin for texlive >= 2010
222 Requires: /usr/bin/dv2dt
223 Requires: ImageMagick
226 LyX is a modern approach to writing documents which breaks with the
227 obsolete "typewriter paradigm" of most other document preparation
230 It is designed for people who want professional quality output
231 with a minimum of time and effort, without becoming specialists in
234 The major innovation in LyX is WYSIWYM (What You See Is What You Mean).
235 That is, the author focuses on content, not on the details of formatting.
236 This allows for greater productivity, and leaves the final typesetting
237 to the backends (like LaTeX) that are specifically designed for the task.
239 With LyX, the author can concentrate on the contents of his writing,
240 and let the computer take care of the rest.
243 Summary: Common files of %{name}
244 Group: Applications/Publishing
245 Requires: %{name} = %{version}-%{release}
251 Summary: Lyx/MathML fonts
252 Group: Applications/Publishing
253 # The actual license says "The author of these fonts, Basil K. Malyshev, has
254 # kindly granted permission to use and modify these fonts."
255 # One of the font files (wasy10) is separately licensed GPL+.
256 License: Copyright only and GPL+
257 %{?fontpackages:Requires: fontpackages-filesystem}
258 Obsoletes: mathml-fonts < 1.0-50
259 Provides: mathml-fonts = 1.0-50
260 Obsoletes: lyx-fonts-common < 1.6.5-3
261 Obsoletes: lyx-fonts-compat < 1.6.5-3
262 Obsoletes: lyx-cmex10-fonts < 1.6.5-3
263 Obsoletes: lyx-cmmi10-fonts < 1.6.5-3
264 Obsoletes: lyx-cmr10-fonts < 1.6.5-3
265 Obsoletes: lyx-cmsy10-fonts < 1.6.5-3
266 Obsoletes: lyx-esint10-fonts < 1.6.5-3
267 Obsoletes: lyx-eufm10-fonts < 1.6.5-3
268 Obsoletes: lyx-msam10-fonts < 1.6.5-3
269 Obsoletes: lyx-msbm10-fonts < 1.6.5-3
270 Obsoletes: lyx-wasy10-fonts < 1.6.5-3
271 Provides: lyx-cmex10-fonts = %{version}-%{release}
272 Provides: lyx-cmmi10-fonts = %{version}-%{release}
273 Provides: lyx-cmr10-fonts = %{version}-%{release}
274 Provides: lyx-cmsy10-fonts = %{version}-%{release}
277 A collection of Math symbol fonts for %{name}.
284 #%patch50 -p1 -b .xdg_open
294 --disable-dependency-tracking \\
296 --enable-build-type=release \\
297 --enable-optimization="%{optflags}" \\
298 --without-included-boost \\
308 make install DESTDIR=%{buildroot}
311 install -p -m644 -D %{SOURCE1} %{buildroot}%{_datadir}/lyx/lyxrc.dist
313 # Set up the lyx-specific class files where TeX can see them
314 texmf=%{_datadir}/texmf
315 mkdir -p %{buildroot}\${texmf}/tex/latex
316 mv %{buildroot}%{_datadir}/lyx/tex \\
317 %{buildroot}\${texmf}/tex/latex/lyx
320 desktop-file-install --vendor="" \\
321 --dir="%{buildroot}%{_datadir}/applications" \\
325 install -p -D -m644 lib/images/lyx.png \\
326 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/lyx.png
329 touch %{buildroot}%{_datadir}/lyx/lyxrc.defaults
330 touch %{buildroot}%{_datadir}/lyx/{packages,textclass}.lst
333 install -m 0755 -d %{buildroot}%{_fontdir}
334 mv %{buildroot}%{_datadir}/lyx/fonts/*.ttf %{buildroot}%{_fontdir}/
335 rm -rf %{buildroot}%{_datadir}/lyx/fonts
341 # tests/test_filetools error bogus ( see http://bugzilla.redhat.com/723938 )
346 touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
349 if [ \$1 -eq 0 ] ; then
351 update-desktop-database -q &> /dev/null
352 touch --no-create %{_datadir}/icons/hicolor &> /dev/null
353 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
358 update-desktop-database -q &> /dev/null
359 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
361 ## Catch installed/uninstalled helpers
362 ## not sure if this is really needed anymore, as it seems to be a per-user thing,
363 ## and besides, we use xdg-open now -- Rex
364 #triggerin common -- latex2html,wv
365 #if [ \$2 -gt 1 ]; then
366 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
369 #triggerun common -- latex2html,wv
370 #if [ \$2 -eq 0 ]; then
371 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
380 %defattr(-,root,root,-)
381 %doc ANNOUNCE COPYING lib/CREDITS NEWS README
384 %files common -f %{name}.lang
385 %defattr(-,root,root,-)
387 %{_datadir}/applications/*.desktop
388 %{_datadir}/icons/hicolor/*/*/*
390 %config(noreplace) %{_datadir}/lyx/lyxrc.dist
391 %ghost %{_datadir}/lyx/lyxrc.defaults
392 %ghost %{_datadir}/lyx/*.lst
393 %{_datadir}/texmf/tex/latex/lyx/
395 %if 0%{?fontpackages:1}
398 %doc lib/fonts/BaKoMaFontLicense.txt
399 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
402 %defattr(-,root,root,-)
405 %doc lib/fonts/BaKoMaFontLicense.txt
406 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
409 fc-cache %{_fontdir} 2> /dev/null ||:
414 * Fri Nov 2 2012 Kayvan Sylvan <kayvan@sylvan.com> - 2.1
417 * Sat Jun 30 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
419 - Omitted backslash in code for floatingfootnote, after export to latex, and re-import (#811719)
421 * Mon Mar 5 2012 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
424 * Wed Feb 29 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-4
425 - hack around gcc-4.7 ftbfs for now
427 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
428 - Rebuilt for c++ ABI breakage
430 * Sat Jan 7 2012 José Matos <jamatos@fedoraproject.org> - 2.0.2-2
431 - Require ImageMagick (#753626)
433 * Thu Dec 1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.2-1
434 - New stable release.
436 * Tue Nov 22 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.1-3
439 * Mon Sep 5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-2
440 - Update xdg_open patch for version 2.0.1
442 * Mon Sep 5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-1
445 * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-5
448 * Wed Jun 1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-4
449 - LaTeXConfig.lyx is no longer a ghost (#684428)
451 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-3
452 - fix hunspell support (use pkgconfig)
454 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-2
457 * Fri Apr 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-1
458 - Update to 2.0.0 final
460 * Mon Apr 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.21.rc3
463 * Thu Apr 7 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.20.rc2
464 - Rebuild for new boost (just applies to F16)
466 * Tue Mar 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.19.rc2
467 - New upstream release (rc2)
469 * Mon Mar 14 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.18.rc1
470 - Rebuild for boost upgrade
472 * Sat Mar 12 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.17.rc1
473 - Add thesaurus and hunspell paths to lyxrc.dist thus fixing
474 http://www.lyx.org/trac/ticket/7253
475 - Simplified the content of lyxrc.dist leaving only the relevant
476 options and updating the format to the current one
478 * Fri Mar 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.16.rc1
479 - Update for rc1 and add a dependency to ensure that math instant
480 preview works by default
481 - Removed patch applied upstream for gcc 4.6 fixes
482 - Renamed patch for xdg_open to be in sync with current version (rc1)
484 * Fri Feb 11 2011 Orion Poplawski <orion@cora.nwra.com> 2.0.0-0.15.beta4
485 - Get gcc46 fixes from svn
487 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.14.beta4
488 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
490 * Mon Feb 07 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.13.beta4
493 * Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> 2.0.0-0.12.beta3
494 - rebuild for new boost
496 * Tue Jan 11 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.11.beta3
499 * Wed Dec 08 2010 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.10.beta2
502 * Wed Nov 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.9.beta1
503 - lyx-2.0.0-beta1 (#651488)
505 * Tue Nov 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.8.alpha6
506 - lyx-2.0.0-alpha6 (#651488)
508 * Wed Nov 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.7.alpha5
509 - drop %%triggers, *may* affect selinux labels (#632944)
511 * Thu Aug 05 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-0.6.alpha5
512 - Rebuild for newer boost
514 * Wed Jul 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.5.alpha5
517 * Thu Jun 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.4.alpha4
520 * Thu May 13 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.3.alpha3
523 * Sat Apr 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.2.alpha2
526 * Sat Apr 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.1.alpha1
529 * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-5
530 - FTBFS lyx-1.6.5-4.fc13: ImplicitDSOLinking (#565009)
532 * Thu Jan 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-4
533 - -fonts: Provides: lyx-{cmex10,cmmi10,cmr10,cmsy10}-fonts
535 * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-3
537 - use simple font template
539 * Wed Dec 9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-2
540 - Add patch for autoconf 2.65 (F13+)
542 * Wed Dec 9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-1
545 * Thu Nov 19 2009 José Matos <jamatos@fc.up.pt> - 1.6.4-3
546 - LyX supports autoconf 2.64 (should be upstream for 1.6.5)
548 * Thu Sep 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-2
549 - use enchant instead of aspell (#524046)
551 * Sat Aug 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-1
553 - handle fonts manually (now EPEL-5 compatible)
555 * Mon Aug 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-3
556 - add lyx-*-fonts subpkgs (#452357, #514549)
557 - -common (noarch) subpkg
560 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2
561 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
563 * Thu Jun 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-1
566 * Mon Mar 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-2
567 - scriptlet optimization
569 * Sun Mar 15 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-1
571 - use --without-included-boost unconditionally
573 * Wed Mar 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-3
574 - --without-included-boost (f11+)
576 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
577 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
579 * Sun Dec 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-1
582 * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.0-2
583 - Rebuild for Python 2.6
585 * Fri Nov 07 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-1
588 * Tue Oct 28 2008 José Matos <jamatos@fc.up.pt> - 1.6.0-0.11.rc5
591 * Fri Oct 24 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.10.rc4
594 * Tue Sep 30 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.9.rc3
597 * Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.8.rc3
598 - lyx-1.6.0rc3-svn26576
600 * Fri Sep 12 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.7.rc2
603 * Wed Aug 06 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.6.rc1
606 * Sun Aug 03 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.5.beta4
607 - Requires: dvipdfm (f9+, #448647)
608 - add (optional) minimal qt4 dep
609 - make Req: tex-simplecv fedora only
610 - drop file deps (texhash)
612 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.4.beta4
613 - Changelog has been removed from the distribution
615 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.3.beta4
616 - icon has changed from xpm to png
618 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.2.beta4
619 - revert to use pre instead of devrel.
620 - require tex-simplecv (#428526)
622 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.1.beta4
624 - --enable-build-type=release disables extra debug information (no
625 warnings, debug, assertions, concept-checks and stdlib-debug).
627 * Mon May 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.5-1
630 * Mon Feb 25 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.4-1
631 - lyx-1.5.4 (#434689)
632 - reintroduce xdg-utils patch (reverted upstream).
633 - omit bakoma ttf fonts
635 * Mon Feb 11 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.3-2
636 - Rebuild for gcc 4.3
638 * Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.3-1
641 * Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-2
642 - drop scriptlet optimization hack
644 * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-1
647 * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-2
650 * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-1
654 * Wed Jul 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-1
657 * Sun Jul 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.10.rc2
658 - upstream patch for 'lyx --export latex' crasher (#248282)
660 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.9.rc2
661 - scriptlet optmization
663 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.8.rc2
666 * Fri Jun 01 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.7.rc1
669 * Fri May 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.6.beta3
672 * Sun Apr 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.5.beta2
675 * Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.4.beta1
678 * Tue Mar 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.3.beta1
679 - stop omitting -fexceptions
681 * Wed Mar 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.2.beta1
682 - +Requires: tetex-IEEEtran (#232840)
684 * Mon Mar 05 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.1.beta1
688 * Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-2
689 - biffed sources, respin
691 * Wed Feb 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-1
693 - .desktop's: -Category=Application
694 - mark -xforms as deprecated
696 * Sun Oct 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-3
697 - sync .desktop files with upstream
698 - use xdg-open as default helper, +Requires: xdg-utils
700 * Thu Sep 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-1
703 * Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-5
706 * Thu Aug 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-4
707 - owowned files, incomplete package removal (bug #201197)
709 * Thu Jul 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-2
712 * Wed Jun 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-9
713 - Requires(hint): wv (bug #193858)
714 - fix dependancy -> dependency
716 * Thu Jun 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-8
718 - fc4: restore Requires(hint): tetex-preview
720 * Thu May 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7.1
721 - fc4: drop Requires: tetex-preview, it's not ready yet.
723 * Wed May 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7
724 - use serverpipe "~/.lyx/lyxpipe" instead, that was the old default
725 and what pybibliographer expects.
727 * Tue May 23 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-6
728 - set defaults for (see %{_datadir}/lyx/lyxrc.defaults.custom)
729 screen_font_roman "Serif"
730 screen_font_sans "Sans"
731 screen_font_typewriter "Monospace"
733 serverpipe "~/.lyx/pipe"
736 * Mon May 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-5
737 - Requires(hint): tetex-preview
739 * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-4
740 - add generic app icon (rh #191944)
742 * Fri Apr 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-3
743 - Requires(hint): tetex-dvipost
744 adds support for lyx's Document->Change Tracking
746 * Tue Apr 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-2
749 * Thu Mar 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-5
750 - %%trigger ImageMagick (#186319)
752 * Thu Mar 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-4
753 - fix stripping of -fexceptions from %%optflags
755 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-3
756 - include beamer.layout
758 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-2
774 mv LyX-2.1.tar.bz2 $HOME/rpmbuild/SOURCES
775 rpmbuild -bb $HOME/rpmbuild/SPECS/lyx-cmake.spec
778 rpm -q lyx | grep -q lyx-$VER
786 $HOME/rpmbuild/RPMS/x86_64/lyx-$VER-1.$EXT.x86_64.rpm \
787 $HOME/rpmbuild/RPMS/noarch/lyx-common-$VER-1.$EXT.noarch.rpm \
788 $HOME/rpmbuild/RPMS/noarch/lyx-fonts-$VER-1.$EXT.noarch.rpm
792 On recent Fedora install (F15, F16, and F17 work):
794 To install the needed packages, create the rpmbuild directory, and set
795 up the build directory:
801 After this, you can refresh and re-install the latest like this:
807 For any problems, Email Kayvan Sylvan <kayvansylvan@gmail.com>.