SPECS: tgui.spec - use rpmcxxflags - fixed packaging thinko
qboosh
qboosh at pld-linux.org
Sun Aug 26 00:43:32 CEST 2007
Author: qboosh Date: Sat Aug 25 22:43:32 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use rpmcxxflags
- fixed packaging thinko
---- Files affected:
SPECS:
tgui.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: SPECS/tgui.spec
diff -u SPECS/tgui.spec:1.13 SPECS/tgui.spec:1.14
--- SPECS/tgui.spec:1.13 Sun Aug 26 00:22:04 2007
+++ SPECS/tgui.spec Sun Aug 26 00:43:27 2007
@@ -12,6 +12,7 @@
URL: http://trent.gamblin.ca/tgui/
BuildRequires: allegro-devel
BuildRequires: libstdc++-devel
+BuildRequires: rpmbuild(macros) >= 1.167
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -62,8 +63,8 @@
FLAGS="%{rpmcxxflags}" \
LDFLAGS="%{rpmldflags}"
-%{__cxx} %{rpmcflags} -fPIC -c tgui.cpp
-%{__cxx} %{rpmldflags} %{rpmcflags} -shared tgui.o -o libtgui.so `allegro-config --libs`
+%{__cxx} %{rpmcxxflags} -fPIC -c tgui.cpp
+%{__cxx} %{rpmldflags} %{rpmcxxflags} -shared tgui.o -o libtgui.so `allegro-config --libs`
%install
rm -rf $RPM_BUILD_ROOT
@@ -81,10 +82,10 @@
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libtgui.so
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libtgui.so
%{_includedir}/TGUI
%files static
@@ -97,6 +98,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2007/08/25 22:43:27 qboosh
+- use rpmcxxflags
+- fixed packaging thinko
+
Revision 1.13 2007/08/25 22:22:04 shadzik
- pass cflags and ldflags when .so making
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tgui.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list