]> git.pld-linux.org Git - packages/TeXmacs.git/blobdiff - TeXmacs.spec
- s/TeX-a/TeXa/ i podobne
[packages/TeXmacs.git] / TeXmacs.spec
index d6d9bd60019e8945bb8730a537fa77c578cd7d61..0133103572e93dcf9ced5dd9ccd18dd21099e8e4 100644 (file)
@@ -1,36 +1,23 @@
-%define         _gcc_ver        %(%{__cc} --version | cut -b 1)
-
 Summary:       A wysiwyg mathematical text editor
 Summary(pl):   Edytor WYSIWYG do tekstów matematycznych
 Name:          TeXmacs
-Version:       0.3.5.14
+Version:       1.0.1.15
 Release:       1
 License:       GPL
 Group:         Applications/Editors
 Source0:       ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
-Patch0:                %{name}-ac_fixes.patch
-Patch1:                %{name}-polish.patch
+# Source0-md5: 6793ac3a56ebea269c4665a4c3a5877d
 URL:           http://www.texmacs.org/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: guile-devel
+BuildRequires: guile-devel >= 1.4.1
 BuildRequires: libstdc++-devel
-%if %{_gcc_ver} == 3
-BuildRequires: gcc2-c++
-%endif
 Requires:      tetex
+Requires:      guile-devel
+Requires:      ghostscript
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# gcc3 produces broken code (argh!!!), so switch to gcc2 if we found it
-%if %{_gcc_ver} == 3
-%define                __cc            gcc2
-%define                __cxx           g++2
-%ifarch athlon
-%define                rpmcflags       -O2 -march=i686
-%endif
-%endif
-
 %description
 GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text
 editor, which was both inspired by TeX and GNU Emacs. The program
@@ -45,27 +32,24 @@ user interface to specific needs and even to extend the editor.
 
 %description -l pl
 GNU TeXmacs jest wolnodostêpnym edytorem typu WYSIWYG do tekstów
-matematycznych, zainspirowanym przez TeX-a i GNU Emacsa. Ma
-zaimplementowany wysokiej jako¶ci sk³ad przy u¿yciu fontów TeX-a, ale
-udostêpnia tak¿e przyjazny interfejs u¿ytkownika.
+matematycznych, zainspirowanym przez TeXa i GNU Emacsa. Ma
+zaimplementowany wysokiej jako¶ci sk³ad tekstu przy u¿yciu fontów TeXa
+a tak¿e udostêpnia przyjazny interfejs u¿ytkownika.
 
 Wysoka jako¶æ sk³adu jest zachowana przy automatycznie generowanych
 wzorach i jest mo¿liwe u¿ywanie TeXmacsa jako interfejsu do systemów
 algebry. GNU TeXmacs obs³uguje tak¿e jêzyk rozszerzeñ Guile/Scheme, co
 umo¿liwia adaptowanie interfejsu u¿ytkownika do specyficznych potrzeb,
-a tak¿e rozszerzanie edytora.
+a tak¿e rozszerzanie mo¿liwo¶ci edytora.
 
 %prep
 %setup -q -n %{name}-%{version}-src
-%patch0 -p1
-%patch1 -p1
 
 %build
-aclocal
-autoconf
 %configure
 
-%{__make} CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti -fno-implicit-templates"
+# DO NOT add -fno-rtti -fno-implicit-templates, it BREAKS build
+%{__make} CXXOPTIMIZE="%{rpmcflags} -fno-exceptions"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -82,8 +66,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*.h
 %dir %{_libdir}/%{name}-%{version}
 %dir %{_libdir}/%{name}-%{version}/bin
-%dir %{_libdir}/%{name}-%{version}/lib
 %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
-%attr(755,root,root) %{_libdir}/%{name}-%{version}/lib/*
 %{_datadir}/%{name}-%{version}
 %{_mandir}/man?/*
This page took 0.062921 seconds and 4 git commands to generate.