Provide symlinks

OBS-URL: https://build.opensuse.org/package/show/science/gfan?expand=0&rev=9
This commit is contained in:
Jan Engelhardt 2012-12-06 10:05:38 +00:00 committed by Git OBS Bridge
parent 04c7067209
commit a45405c085
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 6 10:02:08 UTC 2012 - jengelh@inai.de
- Add symlinks that are expected by other programs
-------------------------------------------------------------------
Wed Dec 5 13:23:19 UTC 2012 - jengelh@inai.de

View File

@ -14,7 +14,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gfan
%define lname libgfan-0_5
Version: 0.5
@ -81,11 +80,14 @@ make -C doc %{?_smp_mflags};
%install
b="%buildroot";
make install DESTDIR="$b";
for i in $(./gfan _list | grep ^gfan_); do
ln -s gfan "$b/%_bindir/$i";
done;
rm -f "$b/%_libdir"/*.la;
%files
%defattr(-,root,root)
%_bindir/gfan
%_bindir/gfan*
%doc examples
%if 0%{?with_pdf}
%doc doc/manual.pdf