X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcoq.git;a=blobdiff_plain;f=coq.spec;h=13884c36a35e9402b87481d2482db3f2b4a64192;hp=cbb02cd532940d88d568516961f635f86e9677b3;hb=f6f27c4891b0e490e0cb46b0d5d0e65c674acbe1;hpb=857e15b190232a69d9d8393cd89e1d8afaf7f359 diff --git a/coq.spec b/coq.spec index cbb02cd..13884c3 100644 --- a/coq.spec +++ b/coq.spec @@ -8,13 +8,13 @@ Summary: The Coq Proof Assistant Summary(pl.UTF-8): Coq - narzędzie pomagające w udowadnianiu Name: coq -Version: 8.3pl1 -Release: 0.1 +Version: 8.4pl3 +Release: 2 License: GPL Group: Applications/Math Vendor: INRIA Rocquencourt Source0: http://coq.inria.fr/V%{version}/files/%{name}-%{version}.tar.gz -# Source0-md5: 1869d22b337f5da59ba3bbe1433f9a3b +# Source0-md5: 40a3057ae296bbb228e1e6537f44ccb1 Source1: coqide.desktop Source2: coqide.xpm Patch0: %{name}-lablgtk2.patch @@ -32,6 +32,7 @@ BuildRequires: texlive-latex-comment BuildRequires: texlive-latex-moreverb BuildRequires: texlive-psutils BuildRequires: texlive-format-pdflatex +%requires_eq ocaml-runtime BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -88,6 +89,8 @@ Styl dokumentacji Coq dla latexa. -libdir %{_libdir}/coq \ -mandir %{_mandir} \ -docdir %{_docdir}/%{name}-%{version} \ + -configdir %{_sysconfdir}/%{name} \ + -datadir %{_datadir}/%{name} \ -emacs emacs \ -browser "xdg-open %s" \ -emacslib %{_datadir}/emacs/site-lisp \ @@ -109,11 +112,17 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} +# pdf is enough +%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ps + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc %{_docdir}/%{name}-%{version} +%dir %{_sysconfdir}/%{name} +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/coqide-gtk2rc %attr(755,root,root) %{_bindir}/coq_makefile %attr(755,root,root) %{_bindir}/coq-tex %attr(755,root,root) %{_bindir}/coqc @@ -145,6 +154,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/gallina.1* %{_desktopdir}/coqide.desktop %{_pixmapsdir}/coqide.xpm +%{_datadir}/%{name} %files emacs %defattr(644,root,root,755)