diff --git a/gfan.changes b/gfan.changes index e674c66..fd8c20c 100644 --- a/gfan.changes +++ b/gfan.changes @@ -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 diff --git a/gfan.spec b/gfan.spec index 11b954f..974166a 100644 --- a/gfan.spec +++ b/gfan.spec @@ -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