]> git.pld-linux.org Git - packages/GUIlib.git/blob - GUIlib.spec
- updated to 1.2.1; project placed in Public Domain and no longer supported by SDL...
[packages/GUIlib.git] / GUIlib.spec
1 Summary:        Simple GUI framework for use with SDL
2 Summary(pl.UTF-8):      Prosty szkielet GUI do używania z SDL
3 Name:           GUIlib
4 Version:        1.2.1
5 Release:        1
6 License:        Public Domain
7 Group:          Libraries
8 Source0:        http://www.libsdl.org/projects/GUIlib/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  a0114b925d79d6c66161e24cbeaa88b1
10 URL:            http://www.libsdl.org/projects/GUIlib/
11 BuildRequires:  SDL-devel >= 1.2
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool >= 2:1.5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is a very simple GUI framework, for use with SDL. It is very
20 flexible, but is by no means a complete windowing system. It contains
21 a C++ GUI class with a very rudimentary C interface, and a set of
22 useful widget classes.
23
24 %description -l pl.UTF-8
25 To jest bardzo prosty szkielet GUI (graficznego interfejsu
26 użytkownika) do używania z SDL. Jest bardzo elastyczny, ale w żaden
27 sposób nie jest pełnym systemem okienkowym. Zawiera klasę GUI w C++
28 z bardzo podstawowym interfejsem w C oraz zestaw przydatnych klas
29 widgetów.
30
31 %package devel
32 Summary:        GUIlib header files
33 Summary(pl.UTF-8):      Pliki nagłówkowe GUIlib
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       SDL-devel >= 1.2
37 Requires:       libstdc++-devel
38
39 %description devel
40 GUIlib header files.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe GUIlib.
44
45 %package static
46 Summary:        GUIlib static library
47 Summary(pl.UTF-8):      Statyczna biblioteka GUIlib
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 GUIlib static library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka GUIlib.
56
57 %prep
58 %setup -q
59
60 %{__rm} acinclude.m4
61
62 %build
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 %configure
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77 install hello.cpp hello_C.c *.bmp keyboard.cpp okay.c \
78         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc CHANGES COPYING README
89 %attr(755,root,root) %{_libdir}/libGUI-1.2.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libGUI-1.2.so.0
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libGUI.so
95 %{_libdir}/libGUI.la
96 %{_includedir}/GUI
97 %{_examplesdir}/%{name}-%{version}
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/libGUI.a
This page took 0.052209 seconds and 3 git commands to generate.