[packages/imgworks] - fixed lib64 build, package bindir symlink
qboosh
qboosh at pld-linux.org
Sat Feb 8 19:53:55 CET 2014
commit 6e3756c8a3a5d0f8d43ac5b622648d321fe3392e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 8 19:55:36 2014 +0100
- fixed lib64 build, package bindir symlink
imgworks.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/imgworks.spec b/imgworks.spec
index 33fd738..1297b97 100644
--- a/imgworks.spec
+++ b/imgworks.spec
@@ -47,12 +47,17 @@ zmianę orzmiaru oraz dodawanie ramek i tekstu.
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
%{__make} install \
PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+ EDV_BIN_DIR=$RPM_BUILD_ROOT%{_libdir}/endeavour2/bin \
MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
INSTBINFLAGS="-m755"
+# fix symlink to buildroot
+ln -sf ../%{_lib}/endeavour2/bin/imgworks $RPM_BUILD_ROOT%{_bindir}/imgworks
+
bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man1/*.bz2
%clean
@@ -61,6 +66,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/imgworks
%attr(755,root,root) %{_libdir}/endeavour2/bin/imgworks
%{_datadir}/endeavour2/help/imgworks
%{_datadir}/endeavour2/icons/icon_imgworks_*.xpm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/imgworks.git/commitdiff/6e3756c8a3a5d0f8d43ac5b622648d321fe3392e
More information about the pld-cvs-commit
mailing list