]> git.pld-linux.org Git - packages/TeXmacs.git/commitdiff
- it should at least be buildable now
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 27 Nov 2001 16:39:03 +0000 (16:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    TeXmacs.spec -> 1.7

TeXmacs.spec

index cde0c3b3a487efa8e5a3637528ec0e9a38efd936..81363333fb3ad539b2171d66de7c40fa2da64a58 100644 (file)
@@ -1,16 +1,18 @@
 Summary:       A wysiwyg mathematical text editor
 Summary(pl):   Edytor WYSIWYG do tekstów matematycznych
 Name:          TeXmacs
-Version:       0.3.0
-%define        veradd  7
-Release:       7
+Version:       0.3.5.0
+Release:       1
 License:       GPL
 Group:         Applications/Editors
 Group(de):     Applikationen/Editors
 Group(pl):     Aplikacje/Edytory
 Group(pt):     Aplicações/Editores
-Source0:       ftp://ftp.dante.de/tex-archive/systems/unix/TeXmacs/%{name}-%{version}-%{veradd}-src.tar.gz
-Vendor:                Jo the ripper software
+Source0:       ftp://ftp.texmacs.org/pub/TeXmacs/targz/%{name}-%{version}-src.tar.gz
+URL:           http://www.texmacs.org/
+BuildRequires: guile-devel
+BuildRequires: libstdc++-devel
+BuildRequires: XFree86-devel
 Requires:      tetex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,31 +41,31 @@ umo
 a tak¿e rozszerzanie edytora.
 
 %prep
-%setup -q -n %{name}-%{version}-%{veradd}-src
+%setup -q -n %{name}-%{version}-src
 
 %build
-./configure --prefix=$RPM_BUILD_ROOT%{_prefix}
-%{__make} CXXFLAGS="%{rpmcflags}" STATIC_TEXMACS
+%configure2_13 \
+       --libexecdir=%{_libdir}
+
+%{__make} CXXFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install
-./configure --prefix=%{_prefix}
-install bin/fig2ps $RPM_BUILD_ROOT%{_bindir}
-install bin/texmacs $RPM_BUILD_ROOT%{_bindir}
-GUILE_DATA_PATH=`guile-config info pkgdatadir`
-GUILE_LOAD_PATH=`find $GUILE_DATA_PATH -type d | grep ice-9`
-cp -rf $GUILE_LOAD_PATH $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs
-chmod 755 $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/progs/ice-9
-rm -f $RPM_BUILD_ROOT%{_datadir}/TeXmacs-0.3.0-5/lib/*.so
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/texmacs
-%attr(755,root,root) %{_bindir}/fig2ps
-%{_includedir}/TeXmacs.h
-%{_mandir}/man1/texmacs.1*
-%{_datadir}/TeXmacs-0.3.0-5
+%attr(755,root,root) %{_bindir}/*
+%{_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.063088 seconds and 4 git commands to generate.