]> git.lyx.org Git - lyx.git/blob - development/tools/lyx-fedora
075f7e80832603f65fd89f0f22ca530ae1f23292
[lyx.git] / development / tools / lyx-fedora
1 #!/bin/sh
2 #
3 # lyx-fedora build script for Fedora
4 #
5 # Author: Kayvan Sylvan <kayvan@sylvan.com>
6 #                       <kayvansylvan@gmail.com>
7 #
8 # Easily build lyx from the git repository for Fedora systems.
9 # Tested on Fedora 15, 16, 17.
10 #
11 # Just run "lyx-fedora init", then "lyx-fedora rpm" and "lyx-fedora install"
12 #
13 # Subsequently: "lyx-fedora pull", "lyx-fedora rpm" and "lyx-fedora install"
14 #
15 VER=2.1.0dev
16 EXT=fc$(sed 's/[^0-9]*\([0-9]*\)[^0-9]*/\1/' /etc/fedora-release)
17
18 TOPDIR=$HOME/src
19 SRCDIR=$HOME/src/lyx
20 BUILDDIR=$HOME/src/lyx-build
21 RPMDIR=$HOME/rpmbuild
22
23 case "X$1" in
24 Xinit)
25   # install packages
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
29
30   # set up the src dir
31   if [ ! -d $SRCDIR ]
32   then
33     mkdir -p $TOPDIR
34     cd $TOPDIR
35     git clone git://git.lyx.org/lyx
36   fi
37
38   # set up rpmbuild
39   mkdir -p $RPMDIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
40   if [ ! -r $HOME/.rpmmacros ]
41   then
42     echo '%_topdir %(echo $HOME)/rpmbuild' > $HOME/.rpmmacros
43     echo '%_smp_mflags -j3' >> $HOME/.rpmmacros
44   fi
45
46   # set up the directory to make the source tarball
47   mkdir -p $BUILDDIR
48   cd $BUILDDIR
49   cmake $SRCDIR -DLYX_CPACK:BOOL=ON
50   perl -pi -e 's@;/Makefile\\\\.in\$@@' CPackSourceConfig.cmake
51   perl -pi -e 's@;/POTFILES@@' CPackSourceConfig.cmake
52
53   # extra files to include in the Fedora RPM
54   cat > $RPMDIR/SOURCES/lyxrc.dist << EOF
55 # -*- text -*-
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.
59
60 Format 1
61
62 \hunspelldir_path "/usr/share/myspell/"
63 \thesaurusdir_path "/usr/share/mythes/"
64
65 \serverpipe "~/.lyx/lyxpipe"
66
67 \screen_zoom 100
68 \screen_font_roman "Serif"
69 \screen_font_sans "Sans Serif"
70 \screen_font_typewriter "Monospace"
71 EOF
72   cat > $RPMDIR/SOURCES/lyx.desktop << EOF
73 [Desktop Entry]
74 Name=LyX
75 GenericName=Structured Word Processor
76 Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
77 Exec=lyx
78 Icon=lyx
79 MimeType=application/x-lyx;text/x-lyx;
80 Type=Application
81 Encoding=UTF-8
82 Categories=Office;WordProcessor;
83 EOF
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
87 @@ -510,7 +510,7 @@
88      checkViewerEditor('a SVG viewer and editor', ['inkscape'],
89          rc_entry = [r'\Format svg        svg     SVG                    "" "%%" "%%"   "vector"'])
90      #
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"    ""
96 @@ -573,7 +573,7 @@
97  \Format excel      xls    "Excel spreadsheet"      "" "" "%%"    "document"
98  \Format oocalc     ods    "OpenOffice spreadsheet" "" "" "%%"    "document"'''])
99   #
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"'])
103      if xhtmlview == "":
104          addToRC(r'\Format xhtml      xhtml   "LyXHTML"              y "" ""  "document,menu=export"')
105 @@ -587,11 +587,11 @@
106      #
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', \\
116                     'gv', 'ghostview'],
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"'''])
122      #
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"'''])
127      if dtl_tools:
128          # Windows only: DraftDVI
129          addToRC(r'\Format dvi2       dvi     DraftDVI               "" ""      ""      "vector"')
130      #
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"'])
134      #
135      checkViewerEditor('Noteedit', ['noteedit'],
136 EOF
137   cat > $RPMDIR/SPECS/lyx-cmake.spec << EOF
138 ## lyx-fonts
139 %global fontname lyx
140 %if 1
141 %define fontpackages 1
142 BuildRequires: fontpackages-devel
143 %else
144 %define _fontdir %{_datadir}/fonts/%{fontname}
145 %endif
146
147 %define _without_included_boost --without-included-boost
148
149 Summary: WYSIWYM (What You See Is What You Mean) document processor
150 Name:    lyx
151 Version: 2.1.0dev
152 Release: 1%{?dist}
153
154 License: GPLv2+
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)
159
160 Source1: lyxrc.dist
161 Source10: lyx.desktop
162
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?
167 %global autotools 0
168
169 %if 0%{?autotools}
170 BuildRequires: automake libtool
171 %endif
172 BuildRequires: enchant-devel
173 %if 0%{?_without_included_boost:1}
174 BuildRequires: boost-devel
175 %endif
176 BuildRequires: desktop-file-utils
177 BuildRequires: gettext
178 BuildRequires: hunspell-devel
179 BuildRequires: python
180 BuildRequires: qt4-devel
181 BuildRequires: zlib-devel
182
183 # optional minimal qt4 dep
184 %{?_qt_version:Requires: qt4 >= %{_qt4_version}}
185
186 Obsoletes: %{name}-qt < 1.5.0
187 Provides:  %{name}-qt = %{version}-%{release}
188 Obsoletes: %{name}-xforms < 1.5.0
189
190 Requires: %{name}-common = %{version}-%{release}
191
192 Requires: %{fontname}-fonts = %{version}-%{release}
193
194 %if 0%{?fedora} > 8 || 0%{?rhel} > 5
195 BuildRequires: tex(dvips) tex(latex) texlive-fonts
196 Requires(post): texlive
197 Requires(postun): texlive
198 Requires: dvipdfm
199 Requires: tex(dvips) tex(latex)
200 Requires: tex-simplecv
201 %else
202 BuildRequires: tetex-dvips tetex-latex tetex-fonts
203 Requires(post): tetex-fonts
204 Requires(postun): tetex-fonts
205 Requires: tetex-dvips tetex-latex
206 %endif
207 Requires: ghostscript
208 ## Soft dependencies
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
214 %endif
215 # convert doc files to lyx (bug #193858)
216 Requires: wv
217 Requires: xdg-utils
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
224
225 %description
226 LyX is a modern approach to writing documents which breaks with the
227 obsolete "typewriter paradigm" of most other document preparation
228 systems.
229
230 It is designed for people who want professional quality output
231 with a minimum of time and effort, without becoming specialists in
232 typesetting.
233
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.
238
239 With LyX, the author can concentrate on the contents of his writing,
240 and let the computer take care of the rest.
241
242 %package common
243 Summary:  Common files of %{name}
244 Group:    Applications/Publishing
245 Requires: %{name} = %{version}-%{release}
246 BuildArch: noarch
247 %description common
248 {summary}.
249
250 %package fonts
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}
275 BuildArch: noarch
276 %description  fonts
277 A collection of Math symbol fonts for %{name}.
278
279
280 %prep
281
282 %setup -q -n LyX-2.1
283
284 #%patch50 -p1 -b .xdg_open
285
286 %if 0%{?autotools}
287 ./autogen.sh
288 %endif
289
290
291 %build
292
293 %configure \\
294   --disable-dependency-tracking \\
295   --disable-rpath \\
296   --enable-build-type=release \\
297   --enable-optimization="%{optflags}" \\
298   --without-included-boost \\
299   --with-enchant \\
300   --with-hunspell
301
302 make %{?_smp_mflags}
303
304
305 %install
306 rm -rf %{buildroot}
307
308 make install DESTDIR=%{buildroot}
309
310 # misc/extras
311 install -p -m644 -D %{SOURCE1} %{buildroot}%{_datadir}/lyx/lyxrc.dist
312
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
318
319 # .desktop
320 desktop-file-install --vendor="" \\
321   --dir="%{buildroot}%{_datadir}/applications" \\
322   %{SOURCE10}
323
324 # icon
325 install -p -D -m644 lib/images/lyx.png \\
326   %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/lyx.png
327
328 # ghost'd files
329 touch %{buildroot}%{_datadir}/lyx/lyxrc.defaults
330 touch %{buildroot}%{_datadir}/lyx/{packages,textclass}.lst
331
332 # fonts
333 install -m 0755 -d %{buildroot}%{_fontdir}
334 mv %{buildroot}%{_datadir}/lyx/fonts/*.ttf %{buildroot}%{_fontdir}/
335 rm -rf %{buildroot}%{_datadir}/lyx/fonts
336
337 %find_lang %{name}
338
339
340 %check
341 # tests/test_filetools error bogus ( see http://bugzilla.redhat.com/723938 )
342 make -k check ||:
343
344
345 %post common
346 touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
347
348 %postun common
349 if [ \$1 -eq 0 ] ; then
350   texhash >& /dev/null
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 || :
354 fi
355
356 %posttrans common
357 texhash >& /dev/null
358 update-desktop-database -q &> /dev/null
359 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
360
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 ||:
367 #fi
368 #
369 #triggerun common -- latex2html,wv
370 #if [ \$2 -eq 0 ]; then
371 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
372 #fi
373
374
375 %clean
376 rm -rf %{buildroot}
377
378
379 %files
380 %defattr(-,root,root,-)
381 %doc ANNOUNCE COPYING lib/CREDITS NEWS README
382 %{_bindir}/*
383
384 %files common -f %{name}.lang
385 %defattr(-,root,root,-)
386 %{_mandir}/man1/*
387 %{_datadir}/applications/*.desktop
388 %{_datadir}/icons/hicolor/*/*/*
389 %{_datadir}/lyx/
390 %config(noreplace) %{_datadir}/lyx/lyxrc.dist
391 %ghost %{_datadir}/lyx/lyxrc.defaults
392 %ghost %{_datadir}/lyx/*.lst
393 %{_datadir}/texmf/tex/latex/lyx/
394
395 %if 0%{?fontpackages:1}
396 %_font_pkg
397 %{_fontdir}/*.ttf
398 %doc lib/fonts/BaKoMaFontLicense.txt
399 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
400 %else
401 %files fonts
402 %defattr(-,root,root,-)
403 %dir %{_fontdir}/
404 %{_fontdir}/*.ttf
405 %doc lib/fonts/BaKoMaFontLicense.txt
406 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
407
408 %posttrans fonts
409 fc-cache %{_fontdir} 2> /dev/null ||:
410 %endif
411
412
413 %changelog
414 * Fri Nov  2 2012 Kayvan Sylvan <kayvan@sylvan.com> - 2.1
415 - lyx-2.1 dev
416
417 * Sat Jun 30 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
418 - lyx-2.0.4
419 - Omitted backslash in code for floatingfootnote, after export to latex, and re-import (#811719)
420
421 * Mon Mar  5 2012 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
422 - New bugfix release
423
424 * Wed Feb 29 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-4
425 - hack around gcc-4.7 ftbfs for now
426
427 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
428 - Rebuilt for c++ ABI breakage
429
430 * Sat Jan  7 2012 José Matos <jamatos@fedoraproject.org> - 2.0.2-2
431 - Require ImageMagick (#753626)
432
433 * Thu Dec  1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.2-1
434 - New stable release.
435
436 * Tue Nov 22 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.1-3
437 - rebuild (boost)
438
439 * Mon Sep  5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-2
440 - Update xdg_open patch for version 2.0.1
441
442 * Mon Sep  5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-1
443 - Update to 2.0.1
444
445 * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-5
446 - rebuild (boost)
447
448 * Wed Jun  1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-4
449 - LaTeXConfig.lyx is no longer a ghost (#684428)
450
451 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-3
452 - fix hunspell support (use pkgconfig)
453
454 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-2
455 - rebuild (hunspell)
456
457 * Fri Apr 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-1
458 - Update to 2.0.0 final
459
460 * Mon Apr 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.21.rc3
461 - Update to rc3
462
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)
465
466 * Tue Mar 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.19.rc2
467 - New upstream release (rc2)
468
469 * Mon Mar 14 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.18.rc1
470 - Rebuild for boost upgrade
471
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
477
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)
483
484 * Fri Feb 11 2011 Orion Poplawski <orion@cora.nwra.com> 2.0.0-0.15.beta4
485 - Get gcc46 fixes from svn
486
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
489
490 * Mon Feb 07 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.13.beta4
491 - 2.0.0-beta4
492
493 * Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> 2.0.0-0.12.beta3
494 - rebuild for new boost
495
496 * Tue Jan 11 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.11.beta3
497 - lyx-2.0.0-beta3
498
499 * Wed Dec 08 2010 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.10.beta2
500 - lyx-2.0.0-beta2
501
502 * Wed Nov 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.9.beta1
503 - lyx-2.0.0-beta1 (#651488)
504
505 * Tue Nov 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.8.alpha6
506 - lyx-2.0.0-alpha6 (#651488)
507
508 * Wed Nov 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.7.alpha5
509 - drop %%triggers, *may* affect selinux labels (#632944)
510
511 * Thu Aug 05 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-0.6.alpha5
512 - Rebuild for newer boost
513
514 * Wed Jul 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.5.alpha5
515 - lyx-2.0.0-alpha5
516
517 * Thu Jun 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.4.alpha4
518 - lyx-2.0.0-alpha4
519
520 * Thu May 13 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.3.alpha3
521 - lyx-2.0.0-alpha3
522
523 * Sat Apr 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.2.alpha2
524 - lyx-2.0.0-alpha2
525
526 * Sat Apr 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.1.alpha1
527 - lyx-2.0.0-alpha1
528
529 * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-5
530 - FTBFS lyx-1.6.5-4.fc13: ImplicitDSOLinking (#565009)
531
532 * Thu Jan 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-4
533 - -fonts: Provides: lyx-{cmex10,cmmi10,cmr10,cmsy10}-fonts
534
535 * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-3
536 - rebiuld (boost)
537 - use simple font template
538
539 * Wed Dec  9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-2
540 - Add patch for autoconf 2.65 (F13+)
541
542 * Wed Dec  9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-1
543 - lyx-1.6.5
544
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)
547
548 * Thu Sep 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-2
549 - use enchant instead of aspell (#524046)
550
551 * Sat Aug 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-1
552 - lyx-1.6.4
553 - handle fonts manually (now EPEL-5 compatible)
554
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
558 - trim %%changelog
559
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
562
563 * Thu Jun 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-1
564 - lyx-1.6.3
565
566 * Mon Mar 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-2
567 - scriptlet optimization
568
569 * Sun Mar 15 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-1
570 - lyx-1.6.2
571 - use --without-included-boost unconditionally
572
573 * Wed Mar 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-3
574 - --without-included-boost (f11+)
575
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
578
579 * Sun Dec 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-1
580 - lyx-1.6.1
581
582 * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.0-2
583 - Rebuild for Python 2.6
584
585 * Fri Nov 07 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-1
586 - lyx-1.6.0(final)
587
588 * Tue Oct 28 2008 José Matos <jamatos@fc.up.pt> - 1.6.0-0.11.rc5
589 - lyx-1.6.0rc5
590
591 * Fri Oct 24 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.10.rc4
592 - lyx-1.6.0rc4
593
594 * Tue Sep 30 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.9.rc3
595 - lyx-1.6.0rc3
596
597 * Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.8.rc3
598 - lyx-1.6.0rc3-svn26576
599
600 * Fri Sep 12 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.7.rc2
601 - lyx-1.6.0rc2
602
603 * Wed Aug 06 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.6.rc1
604 - lyx-1.6.0rc1
605
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)
611
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
614
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
617
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)
621
622 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.1.beta4
623 - lyx-1.6.0beta4
624 - --enable-build-type=release disables extra debug information (no
625     warnings, debug, assertions, concept-checks and stdlib-debug).
626
627 * Mon May 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.5-1
628 - lyx-1.5.5
629
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
634
635 * Mon Feb 11 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.3-2
636 - Rebuild for gcc 4.3
637
638 * Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.3-1
639 - lyx-1.5.3
640
641 * Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-2
642 - drop scriptlet optimization hack
643
644 * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-1
645 - lyx-1.5.2
646
647 * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-2
648 - respin (BuildID)
649
650 * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-1
651 - lyx-1.5.1
652 - License: GPLv2+
653
654 * Wed Jul 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-1
655 - lyx-1.5.0(final)
656
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)
659
660 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.9.rc2
661 - scriptlet optmization
662
663 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.8.rc2
664 - lyx-1.5.0rc2
665
666 * Fri Jun 01 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.7.rc1
667 - lyx-1.5.0rc1
668
669 * Fri May 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.6.beta3
670 - lyx-1.5.0beta3
671
672 * Sun Apr 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.5.beta2
673 - lyx-1.5.0beta2
674
675 * Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.4.beta1
676 - fix qt-4.3 crasher
677
678 * Tue Mar 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.3.beta1
679 - stop omitting -fexceptions
680
681 * Wed Mar 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.2.beta1
682 - +Requires: tetex-IEEEtran (#232840)
683
684 * Mon Mar 05 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.1.beta1
685 - lyx-1.5.0beta1
686 - tweak lyxrc.dist
687
688 * Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-2
689 - biffed sources, respin
690
691 * Wed Feb 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-1
692 - lyx-1.4.4
693 - .desktop's: -Category=Application
694 - mark -xforms as deprecated
695
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
699
700 * Thu Sep 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-1
701 - lyx-1.4.3
702
703 * Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-5
704 - fc6 respin
705
706 * Thu Aug 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-4
707 - owowned files, incomplete package removal (bug #201197)
708
709 * Thu Jul 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-2
710 - 1.4.2
711
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
715
716 * Thu Jun 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-8
717 - BR: gettext
718 - fc4: restore Requires(hint): tetex-preview
719
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.
722
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.
726
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"
732   screen_zoom 100
733   serverpipe "~/.lyx/pipe"
734   (bug #192253)
735
736 * Mon May 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-5
737 - Requires(hint): tetex-preview
738
739 * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-4
740 - add generic app icon (rh #191944)
741
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
745
746 * Tue Apr 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-2
747 - 1.4.1
748
749 * Thu Mar 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-5
750 - %%trigger ImageMagick (#186319)
751
752 * Thu Mar 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-4
753 - fix stripping of -fexceptions from %%optflags
754
755 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-3
756 - include beamer.layout
757
758 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-2
759 - 1.4.0(final)
760 - drop boost bits
761 EOF
762   cd $SRCDIR
763   git pull
764   ./autogen.sh
765   ;;
766 Xpull)
767   cd $SRCDIR
768   git pull
769   ./autogen.sh
770   ;;
771 Xrpm)
772   cd $BUILDDIR
773   make package_source
774   mv LyX-2.1.tar.bz2 $HOME/rpmbuild/SOURCES
775   rpmbuild -bb $HOME/rpmbuild/SPECS/lyx-cmake.spec
776   ;;
777 Xinstall)
778   rpm -q lyx | grep -q lyx-$VER
779   if [ $? -eq 0 ]
780   then
781     cmd="reinstall"
782   else
783     cmd="install"
784   fi
785   sudo yum $cmd \
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
789   ;;
790 *)
791 cat << EOF
792 On recent Fedora install (F15, F16, and F17 work): 
793
794 To install the needed packages, create the rpmbuild directory, and set
795 up the build directory:
796
797   $0 init
798   $0 rpm
799   $0 install
800
801 After this, you can refresh and re-install the latest like this:
802
803   $0 pull
804   $0 rpm
805   $0 install
806
807 For any problems, Email Kayvan Sylvan <kayvansylvan@gmail.com>.
808 EOF
809   ;;
810 esac