1 Summary: Simple GUI framework for use with SDL
2 Summary(pl): Prosty szkielet GUI do u¿ywania z SDL
8 Source0: http://www.libsdl.org/projects/GUIlib/src/%{name}-%{version}.tar.gz
9 # Source0-md5: 831d03b8e5bd3898b368d78e65c2ec2e
10 Patch0: %{name}-gcc4.patch
11 URL: http://www.libsdl.org/projects/GUIlib/
12 BuildRequires: SDL-devel >= 1.0.1
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool >= 2:1.4d
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This is a very simple GUI framework, for use with SDL. It is very
21 flexible, but is by no means a complete windowing system. It contains
22 a C++ GUI class with a very rudimentary C interface, and a set of
23 useful widget classes.
26 To jest bardzo prosty szkielet GUI (graficznego interfejsu
27 u¿ytkownika) do u¿ywania z SDL. Jest bardzo elastyczny, ale w ¿aden
28 sposób nie jest pe³nym systemem okienkowym. Zawiera klasê GUI w C++
29 z bardzo podstawowym interfejsem w C oraz zestaw przydatnych klas
33 Summary: GUIlib header files
34 Summary(pl): Pliki nag³ówkowe GUIlib
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: SDL-devel >= 1.0.1
38 Requires: libstdc++-devel
43 %description devel -l pl
44 Pliki nag³ówkowe GUIlib.
47 Summary: GUIlib static library
48 Summary(pl): Statyczna biblioteka GUIlib
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 GUIlib static library.
55 %description static -l pl
56 Statyczna biblioteka GUIlib.
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79 install hello.cpp hello_C.c *.bmp keyboard.cpp okay.c \
80 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libGUI-*.so.*.*.*
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libGUI.so
98 %{_examplesdir}/%{name}-%{version}
101 %defattr(644,root,root,755)