]> git.pld-linux.org Git - packages/guichan.git/blame - guichan.spec
- up to 0.8.2
[packages/guichan.git] / guichan.spec
CommitLineData
33966b0c 1# Conditional build:
ba062b03 2%bcond_without allegro # without allegro support
33966b0c 3#
4Summary: Guichan - small, efficient C++ GUI library designed for games
f82f71c3 5Summary(pl.UTF-8): Guichan - mała, wydajna biblioteka GUI w C++ przeznaczona do gier
33966b0c 6Name: guichan
ee41cab1 7Version: 0.8.2
8Release: 1
d1a4ca78 9License: BSD
33966b0c 10Group: Libraries
f487ba95 11Source0: http://guichan.googlecode.com/files/%{name}-%{version}.tar.gz
ee41cab1 12# Source0-md5: af535d7f387e774e3197cef8023ea105
445a2e60
JB
13URL: http://guichan.sourceforge.net/
14BuildRequires: OpenGL-devel
33966b0c 15BuildRequires: SDL-devel
a466c76b 16BuildRequires: SDL_image-devel
d1a4ca78 17%{?with_allegro:BuildRequires: allegro-devel}
07dcd88b 18BuildRequires: autoconf
19BuildRequires: automake
d1a4ca78 20BuildRequires: libstdc++-devel
fa1926db 21BuildRequires: libtool
ee41cab1 22BuildRequires: pkgconfig
33966b0c 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Guichan is a small, efficient C++ GUI library designed for games. It
27comes with a standard set of widgets and can use several different
28objects for displaying graphics and grabbing user input.
29
bc750407
JR
30%description -l pl.UTF-8
31Guichan to mała, wydajna biblioteka GUI w C++ przeznaczona do gier.
32Zawiera standardowy zestaw widgetów, może używać kilku różnych
33obiektów do wyświetlania grafiki i pobierania wejścia od użytkownika.
445a2e60 34
d1a4ca78
JB
35%package devel
36Summary: Header files for Guichan library
f82f71c3 37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Guichan
d1a4ca78
JB
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: libstdc++-devel
41
42%description devel
43Header files for Guichan library.
44
bc750407
JR
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki Guichan.
d1a4ca78
JB
47
48%package static
49Summary: Static version of Guichan libraries
f82f71c3 50Summary(pl.UTF-8): Statyczne wersje bibliotek Guichan
d1a4ca78
JB
51Group: Development/Libraries
52Requires: %{name}-devel = %{version}-%{release}
53
54%description static
55Static version of Guichan libraries.
56
bc750407 57%description static -l pl.UTF-8
d1a4ca78
JB
58Statyczne wersje bibliotek Guichan.
59
33966b0c 60%prep
80b75f75 61%setup -q
92f1fdac 62
33966b0c 63%build
fa1926db 64%{__libtoolize}
07dcd88b 65%{__aclocal}
66%{__autoconf}
67%{__autoheader}
68%{__automake}
d1a4ca78
JB
69%configure \
70 %{!?with_allegro:--disable-allegro}
33966b0c 71%{__make} \
72 CFLAGS="%{rpmcflags}"
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
d1a4ca78
JB
88%doc AUTHORS COPYING ChangeLog NEWS README TODO
89%attr(755,root,root) %{_libdir}/libguichan*.so.*.*.*
4ef22bd5 90%attr(755,root,root) %ghost %{_libdir}/libguichan*.so.1
d1a4ca78
JB
91
92%files devel
93%defattr(644,root,root,755)
94%attr(755,root,root) %{_libdir}/libguichan*.so
95%{_libdir}/libguichan*.la
96%{_includedir}/guichan*
ee41cab1 97%{_pkgconfigdir}/guichan*.pc
d1a4ca78
JB
98
99%files static
100%defattr(644,root,root,755)
101%{_libdir}/libguichan*.a
This page took 0.135722 seconds and 4 git commands to generate.