fixes for RPM generation after Ron's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c19d0121f6
commit
8c8fb2f6f6
@ -1,5 +1,6 @@
|
||||
%define pref /usr
|
||||
%define ver 2.3.1
|
||||
%define ver2 2.3
|
||||
%define rel 1
|
||||
|
||||
Summary: wxBase library - non-GUI support classes of wxWindows toolkit
|
||||
@ -68,6 +69,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir %{pref}/lib/wx/include/wx/base
|
||||
%{pref}/lib/wx/include/wx/base/setup.h
|
||||
%defattr (644, root, root, 755)
|
||||
%attr(755, -, -) %{pref}/bin/wxbase-config
|
||||
%attr(755, -, -) %{pref}/bin/wxbase-%{ver2}-config
|
||||
%attr(755, -, -) %{pref}/bin/wx-config
|
||||
|
||||
|
12
wxGTK.spec
12
wxGTK.spec
@ -1,6 +1,7 @@
|
||||
%define pref /usr
|
||||
%define ver 2.3.1
|
||||
%define rel 1
|
||||
%define ver 2.3.2
|
||||
%define ver2 2.3
|
||||
%define rel 0
|
||||
|
||||
Summary: The GTK+ 1.2 port of the wxWindows library
|
||||
Name: wxGTK
|
||||
@ -22,7 +23,7 @@ Provides: wxwin
|
||||
# in addition, we should provide libwx_gtk as automatic generator only notices
|
||||
# libwx_gtk-%{ver}-%{rel}
|
||||
Provides: libwx_gtk.so
|
||||
Provides: libwx_gtk-2.3.so
|
||||
Provides: libwx_gtk-%{ver2}.so
|
||||
|
||||
%description
|
||||
wxWindows is a free C++ library for cross-platform GUI development.
|
||||
@ -72,8 +73,7 @@ make prefix=$RPM_BUILD_ROOT%{pref} install
|
||||
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
||||
%dir %{pref}/share/wx
|
||||
%{pref}/share/wx/*
|
||||
%attr(755, root, root) %{pref}/lib/libwx_gtk.*
|
||||
%attr(755, root, root) %{pref}/lib/libwx_gtk-2.3.*
|
||||
%attr(755, root, root) %{pref}/lib/libwx_gtk-%{ver2}.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -81,7 +81,7 @@ make prefix=$RPM_BUILD_ROOT%{pref} install
|
||||
%{pref}/include/wx/*
|
||||
%dir %{pref}/lib/wx
|
||||
%{pref}/lib/wx/*
|
||||
%attr(755, root, root) %{pref}/bin/wxgtk-config
|
||||
%attr(755, root, root) %{pref}/bin/wxgtk-%{ver2}-config
|
||||
%attr(755, root, root) %{pref}/bin/wx-config
|
||||
|
||||
%files gl
|
||||
|
@ -4,6 +4,7 @@
|
||||
# Note that this is NOT a relocatable package
|
||||
%define pref /usr
|
||||
%define ver 2.3.1
|
||||
%define ver2 2.3
|
||||
%define rel 1
|
||||
|
||||
Summary: The Motif/Lesstif port of the wxWindows library
|
||||
@ -73,8 +74,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
||||
%dir %{pref}/share/wx
|
||||
%{pref}/share/wx/*
|
||||
%attr(755, -, -) %{pref}/lib/libwx_motif.*
|
||||
%attr(755, -, -) %{pref}/lib/libwx_motif-2.1.*
|
||||
%attr(755, -, -) %{pref}/lib/libwx_motif-%{ver2}.*
|
||||
|
||||
%files devel
|
||||
%defattr (644, root, root, 755)
|
||||
@ -82,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{pref}/include/wx/*
|
||||
%dir %{pref}/lib/wx
|
||||
%{pref}/lib/wx/*
|
||||
%attr(755, -, -) %{pref}/bin/wxmotif-config
|
||||
%attr(755, -, -) %{pref}/bin/wxmotif-%{ver2}-config
|
||||
%attr(755, -, -) %{pref}/bin/wx-config
|
||||
|
||||
%files gl
|
||||
|
Loading…
Reference in New Issue
Block a user