]>
Commit | Line | Data |
---|---|---|
73b70b04 | 1 | Summary: Simple GUI framework for use with SDL |
65ff8a52 | 2 | Summary(pl.UTF-8): Prosty szkielet GUI do używania z SDL |
73b70b04 | 3 | Name: GUIlib |
e3036a94 | 4 | Version: 1.1.2 |
73b70b04 JB |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://www.libsdl.org/projects/GUIlib/src/%{name}-%{version}.tar.gz | |
e3036a94 JB |
9 | # Source0-md5: 831d03b8e5bd3898b368d78e65c2ec2e |
10 | Patch0: %{name}-gcc4.patch | |
73b70b04 JB |
11 | URL: http://www.libsdl.org/projects/GUIlib/ |
12 | BuildRequires: SDL-devel >= 1.0.1 | |
a1a7e5c3 JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
73b70b04 | 15 | BuildRequires: libstdc++-devel |
a1a7e5c3 | 16 | BuildRequires: libtool >= 2:1.4d |
73b70b04 JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
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. | |
24 | ||
65ff8a52 | 25 | %description -l pl.UTF-8 |
73b70b04 | 26 | To jest bardzo prosty szkielet GUI (graficznego interfejsu |
65ff8a52 JR |
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++ | |
73b70b04 | 29 | z bardzo podstawowym interfejsem w C oraz zestaw przydatnych klas |
65ff8a52 | 30 | widgetów. |
73b70b04 JB |
31 | |
32 | %package devel | |
33 | Summary: GUIlib header files | |
65ff8a52 | 34 | Summary(pl.UTF-8): Pliki nagłówkowe GUIlib |
73b70b04 | 35 | Group: Development/Libraries |
e3036a94 JB |
36 | Requires: %{name} = %{version}-%{release} |
37 | Requires: SDL-devel >= 1.0.1 | |
38 | Requires: libstdc++-devel | |
73b70b04 JB |
39 | |
40 | %description devel | |
41 | GUIlib header files. | |
42 | ||
65ff8a52 JR |
43 | %description devel -l pl.UTF-8 |
44 | Pliki nagłówkowe GUIlib. | |
73b70b04 JB |
45 | |
46 | %package static | |
47 | Summary: GUIlib static library | |
65ff8a52 | 48 | Summary(pl.UTF-8): Statyczna biblioteka GUIlib |
73b70b04 | 49 | Group: Development/Libraries |
e3036a94 | 50 | Requires: %{name}-devel = %{version}-%{release} |
73b70b04 JB |
51 | |
52 | %description static | |
53 | GUIlib static library. | |
54 | ||
65ff8a52 | 55 | %description static -l pl.UTF-8 |
73b70b04 JB |
56 | Statyczna biblioteka GUIlib. |
57 | ||
58 | %prep | |
59 | %setup -q | |
e3036a94 | 60 | %patch0 -p1 |
73b70b04 | 61 | |
e3036a94 | 62 | rm -f acinclude.m4 |
73b70b04 JB |
63 | |
64 | %build | |
65 | %{__libtoolize} | |
66 | %{__aclocal} | |
67 | %{__autoconf} | |
68 | %{__automake} | |
69 | %configure | |
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
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} | |
81 | ||
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
90 | %doc CHANGES README | |
e3036a94 | 91 | %attr(755,root,root) %{_libdir}/libGUI-*.so.*.*.* |
73b70b04 JB |
92 | |
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
e3036a94 JB |
95 | %attr(755,root,root) %{_libdir}/libGUI.so |
96 | %{_libdir}/libGUI.la | |
73b70b04 JB |
97 | %{_includedir}/GUI |
98 | %{_examplesdir}/%{name}-%{version} | |
99 | ||
100 | %files static | |
101 | %defattr(644,root,root,755) | |
e3036a94 | 102 | %{_libdir}/libGUI.a |