Update to 2.6
This commit is contained in:
parent
91c182522f
commit
bf89df4a34
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
plotutils-2.5.tar.gz
|
||||
/plotutils-2.6.tar.gz
|
||||
|
||||
@ -1,14 +1,13 @@
|
||||
|
||||
Name: plotutils
|
||||
Version: 2.5
|
||||
Release: 8%{?dist}
|
||||
Version: 2.6
|
||||
Release: 1%{?dist}
|
||||
Summary: GNU vector and raster graphics utilities and libraries
|
||||
|
||||
Group: Applications/Productivity
|
||||
License: GPLv2+
|
||||
URL: http://www.gnu.org/software/plotutils/
|
||||
Source0: ftp://ftp.gnu.org/gnu/plotutils/plotutils-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: flex
|
||||
BuildRequires: libpng-devel
|
||||
@ -44,20 +43,20 @@ applications
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp -f lib/fontlist.c graph/
|
||||
cp -f lib/fontlist.c plot/
|
||||
cp -f lib/fontlist.c pic2plot/
|
||||
cp -f lib/fontlist.c plotfont/
|
||||
cp -f lib/fontlist.c tek2plot/
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-libplotter --enable-libxmi --enable-ps-fonts-in-pcl
|
||||
|
||||
# fix rpath handling
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT docs-to-include
|
||||
rm -rf docs-to-include
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir docs-to-include
|
||||
mv ${RPM_BUILD_ROOT}%{_datadir}/ode docs-to-include
|
||||
@ -68,10 +67,6 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/libxmi.info %{_infodir}/dir || :
|
||||
/sbin/install-info %{_infodir}/plotutils.info %{_infodir}/dir || :
|
||||
@ -100,6 +95,7 @@ fi
|
||||
%{_bindir}/plotfont
|
||||
%{_bindir}/spline
|
||||
%{_bindir}/tek2plot
|
||||
%{_bindir}/hersheydemo
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man1/*
|
||||
%{_infodir}/*.info*
|
||||
@ -113,6 +109,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-1
|
||||
- Update to 2.6
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user