]> git.pld-linux.org Git - packages/GUIlib.git/blame - GUIlib.spec
- converted to UTF-8
[packages/GUIlib.git] / GUIlib.spec
CommitLineData
73b70b04 1Summary: Simple GUI framework for use with SDL
65ff8a52 2Summary(pl.UTF-8): Prosty szkielet GUI do używania z SDL
73b70b04 3Name: GUIlib
e3036a94 4Version: 1.1.2
73b70b04
JB
5Release: 1
6License: GPL
7Group: Libraries
8Source0: http://www.libsdl.org/projects/GUIlib/src/%{name}-%{version}.tar.gz
e3036a94
JB
9# Source0-md5: 831d03b8e5bd3898b368d78e65c2ec2e
10Patch0: %{name}-gcc4.patch
73b70b04
JB
11URL: http://www.libsdl.org/projects/GUIlib/
12BuildRequires: SDL-devel >= 1.0.1
a1a7e5c3
JB
13BuildRequires: autoconf
14BuildRequires: automake
73b70b04 15BuildRequires: libstdc++-devel
a1a7e5c3 16BuildRequires: libtool >= 2:1.4d
73b70b04
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This is a very simple GUI framework, for use with SDL. It is very
21flexible, but is by no means a complete windowing system. It contains
22a C++ GUI class with a very rudimentary C interface, and a set of
23useful widget classes.
24
65ff8a52 25%description -l pl.UTF-8
73b70b04 26To jest bardzo prosty szkielet GUI (graficznego interfejsu
65ff8a52
JR
27użytkownika) do używania z SDL. Jest bardzo elastyczny, ale w żaden
28sposób nie jest pełnym systemem okienkowym. Zawiera klasę GUI w C++
73b70b04 29z bardzo podstawowym interfejsem w C oraz zestaw przydatnych klas
65ff8a52 30widgetów.
73b70b04
JB
31
32%package devel
33Summary: GUIlib header files
65ff8a52 34Summary(pl.UTF-8): Pliki nagłówkowe GUIlib
73b70b04 35Group: Development/Libraries
e3036a94
JB
36Requires: %{name} = %{version}-%{release}
37Requires: SDL-devel >= 1.0.1
38Requires: libstdc++-devel
73b70b04
JB
39
40%description devel
41GUIlib header files.
42
65ff8a52
JR
43%description devel -l pl.UTF-8
44Pliki nagłówkowe GUIlib.
73b70b04
JB
45
46%package static
47Summary: GUIlib static library
65ff8a52 48Summary(pl.UTF-8): Statyczna biblioteka GUIlib
73b70b04 49Group: Development/Libraries
e3036a94 50Requires: %{name}-devel = %{version}-%{release}
73b70b04
JB
51
52%description static
53GUIlib static library.
54
65ff8a52 55%description static -l pl.UTF-8
73b70b04
JB
56Statyczna biblioteka GUIlib.
57
58%prep
59%setup -q
e3036a94 60%patch0 -p1
73b70b04 61
e3036a94 62rm -f acinclude.m4
73b70b04
JB
63
64%build
65%{__libtoolize}
66%{__aclocal}
67%{__autoconf}
68%{__automake}
69%configure
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79install hello.cpp hello_C.c *.bmp keyboard.cpp okay.c \
80 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81
82%clean
83rm -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
This page took 0.046817 seconds and 4 git commands to generate.