install convenience symlinks for man pages

This commit is contained in:
Nils Philippsen 2005-03-22 12:32:48 +00:00
parent 076538039a
commit 96ff289a7e

View File

@ -14,7 +14,7 @@ Version: 2.2.4
%define minorver 200
%define microver %(ver=%{version}; echo ${ver##*.*.})
#define prever pre2
Release: %{?prever:0.0.%{prever}.}4
Release: %{?prever:0.0.%{prever}.}5
Epoch: 2
License: GPL, LGPL
Group: Applications/Multimedia
@ -163,9 +163,12 @@ cat gimp-plugin-files gimp-all.lang > gimp.files
%if %_enable_convenience
# install convenience symlinks
[ ! -L %{buildroot}/%{_bindir}/gimp ] && ln -s gimp-%{binver} %{buildroot}/%{_bindir}/gimp
[ ! -L %{buildroot}/%{_bindir}/gimp-remote ] && ln -s gimp-remote-%{binver} %{buildroot}/%{_bindir}/gimp-remote
[ ! -L %{buildroot}/%{_bindir}/gimptool ] && ln -s gimptool-%{interfacever} %{buildroot}/%{_bindir}/gimptool
ln -s gimp-%{binver} %{buildroot}/%{_bindir}/gimp
ln -s gimp-%{binver}.1 %{buildroot}/%{_mandir}/man1/gimp.1
ln -s gimp-remote-%{binver} %{buildroot}/%{_bindir}/gimp-remote
ln -s gimp-remote-%{binver}.1 %{buildroot}/%{_mandir}/man1/gimp-remote.1
ln -s gimptool-%{interfacever} %{buildroot}/%{_bindir}/gimptool
ln -s gimptool-%{binver}.5 %{buildroot}/%{_mandir}/man5/gimptool.5
%endif
%clean
@ -302,7 +305,10 @@ fi
%{_libdir}/pkgconfig/*
%changelog
* Fri Mar 11 2004 Nils Philippsen <nphilipp@redhat.com>
* Tue Mar 22 2005 Nils Philippsen <nphilipp@redhat.com>
- install convenience symlinks for man pages
* Fri Mar 11 2005 Nils Philippsen <nphilipp@redhat.com>
- don't refer to freefonts and sharefonts in %%description
* Wed Mar 09 2005 Nils Philippsen <nphilipp@redhat.com>