]> git.pld-linux.org Git - packages/TeXmacs.git/blobdiff - TeXmacs.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/TeXmacs.git] / TeXmacs.spec
index 21efafac72d07b0fb067951199106fab170fe762..df640e058f62ab4381e25db0fb44765b469d1d97 100644 (file)
@@ -1,10 +1,10 @@
-%define         _gcc_ver        %(%{__cc} --version | cut -b 1)
+%define         _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
 
 Summary:       A wysiwyg mathematical text editor
 Summary(pl):   Edytor WYSIWYG do tekstów matematycznych
 Name:          TeXmacs
-Version:       0.3.5.12
-Release:       3
+Version:       1.0
+Release:       1
 License:       GPL
 Group:         Applications/Editors
 Source0:       ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
@@ -14,16 +14,16 @@ URL:                http://www.texmacs.org/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: config
 BuildRequires: guile-devel
 BuildRequires: libstdc++-devel
 %if %{_gcc_ver} == 3
 BuildRequires: gcc2-c++
 %endif
 Requires:      tetex
+Requires:      guile-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# gcc3 produces broken code (argh!!!), so switch to gcc3 if we found it
+# gcc3 produces broken code (argh!!!), so switch to gcc2 if we found it
 %if %{_gcc_ver} == 3
 %define                __cc            gcc2
 %define                __cxx           g++2
@@ -62,9 +62,9 @@ a tak
 %patch1 -p1
 
 %build
+cp -f /usr/share/automake/config.* .
 aclocal
-autoconf
-updateconfig
+%{__autoconf}
 %configure
 
 %{__make} CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti -fno-implicit-templates"
This page took 0.481202 seconds and 4 git commands to generate.