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:
@@ -1,5 +1,6 @@
|
|||||||
%define pref /usr
|
%define pref /usr
|
||||||
%define ver 2.3.1
|
%define ver 2.3.1
|
||||||
|
%define ver2 2.3
|
||||||
%define rel 1
|
%define rel 1
|
||||||
|
|
||||||
Summary: wxBase library - non-GUI support classes of wxWindows toolkit
|
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
|
%dir %{pref}/lib/wx/include/wx/base
|
||||||
%{pref}/lib/wx/include/wx/base/setup.h
|
%{pref}/lib/wx/include/wx/base/setup.h
|
||||||
%defattr (644, root, root, 755)
|
%defattr (644, root, root, 755)
|
||||||
%attr(755, -, -) %{pref}/bin/wxbase-config
|
%attr(755, -, -) %{pref}/bin/wxbase-%{ver2}-config
|
||||||
%attr(755, -, -) %{pref}/bin/wx-config
|
%attr(755, -, -) %{pref}/bin/wx-config
|
||||||
|
|
||||||
|
12
wxGTK.spec
12
wxGTK.spec
@@ -1,6 +1,7 @@
|
|||||||
%define pref /usr
|
%define pref /usr
|
||||||
%define ver 2.3.1
|
%define ver 2.3.2
|
||||||
%define rel 1
|
%define ver2 2.3
|
||||||
|
%define rel 0
|
||||||
|
|
||||||
Summary: The GTK+ 1.2 port of the wxWindows library
|
Summary: The GTK+ 1.2 port of the wxWindows library
|
||||||
Name: wxGTK
|
Name: wxGTK
|
||||||
@@ -22,7 +23,7 @@ Provides: wxwin
|
|||||||
# in addition, we should provide libwx_gtk as automatic generator only notices
|
# in addition, we should provide libwx_gtk as automatic generator only notices
|
||||||
# libwx_gtk-%{ver}-%{rel}
|
# libwx_gtk-%{ver}-%{rel}
|
||||||
Provides: libwx_gtk.so
|
Provides: libwx_gtk.so
|
||||||
Provides: libwx_gtk-2.3.so
|
Provides: libwx_gtk-%{ver2}.so
|
||||||
|
|
||||||
%description
|
%description
|
||||||
wxWindows is a free C++ library for cross-platform GUI development.
|
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
|
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
||||||
%dir %{pref}/share/wx
|
%dir %{pref}/share/wx
|
||||||
%{pref}/share/wx/*
|
%{pref}/share/wx/*
|
||||||
%attr(755, root, root) %{pref}/lib/libwx_gtk.*
|
%attr(755, root, root) %{pref}/lib/libwx_gtk-%{ver2}.*
|
||||||
%attr(755, root, root) %{pref}/lib/libwx_gtk-2.3.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@@ -81,7 +81,7 @@ make prefix=$RPM_BUILD_ROOT%{pref} install
|
|||||||
%{pref}/include/wx/*
|
%{pref}/include/wx/*
|
||||||
%dir %{pref}/lib/wx
|
%dir %{pref}/lib/wx
|
||||||
%{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
|
%attr(755, root, root) %{pref}/bin/wx-config
|
||||||
|
|
||||||
%files gl
|
%files gl
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define pref /usr
|
%define pref /usr
|
||||||
%define ver 2.3.1
|
%define ver 2.3.1
|
||||||
|
%define ver2 2.3
|
||||||
%define rel 1
|
%define rel 1
|
||||||
|
|
||||||
Summary: The Motif/Lesstif port of the wxWindows library
|
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
|
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
|
||||||
%dir %{pref}/share/wx
|
%dir %{pref}/share/wx
|
||||||
%{pref}/share/wx/*
|
%{pref}/share/wx/*
|
||||||
%attr(755, -, -) %{pref}/lib/libwx_motif.*
|
%attr(755, -, -) %{pref}/lib/libwx_motif-%{ver2}.*
|
||||||
%attr(755, -, -) %{pref}/lib/libwx_motif-2.1.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (644, root, root, 755)
|
%defattr (644, root, root, 755)
|
||||||
@@ -82,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{pref}/include/wx/*
|
%{pref}/include/wx/*
|
||||||
%dir %{pref}/lib/wx
|
%dir %{pref}/lib/wx
|
||||||
%{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
|
%attr(755, -, -) %{pref}/bin/wx-config
|
||||||
|
|
||||||
%files gl
|
%files gl
|
||||||
|
Reference in New Issue
Block a user