]> git.pld-linux.org Git - packages/guichan.git/blame_incremental - guichan.spec
- up to 0.8.2
[packages/guichan.git] / guichan.spec
... / ...
CommitLineData
1# Conditional build:
2%bcond_without allegro # without allegro support
3#
4Summary: Guichan - small, efficient C++ GUI library designed for games
5Summary(pl.UTF-8): Guichan - mała, wydajna biblioteka GUI w C++ przeznaczona do gier
6Name: guichan
7Version: 0.8.2
8Release: 1
9License: BSD
10Group: Libraries
11Source0: http://guichan.googlecode.com/files/%{name}-%{version}.tar.gz
12# Source0-md5: af535d7f387e774e3197cef8023ea105
13URL: http://guichan.sourceforge.net/
14BuildRequires: OpenGL-devel
15BuildRequires: SDL-devel
16BuildRequires: SDL_image-devel
17%{?with_allegro:BuildRequires: allegro-devel}
18BuildRequires: autoconf
19BuildRequires: automake
20BuildRequires: libstdc++-devel
21BuildRequires: libtool
22BuildRequires: pkgconfig
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
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.
34
35%package devel
36Summary: Header files for Guichan library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Guichan
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: libstdc++-devel
41
42%description devel
43Header files for Guichan library.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki Guichan.
47
48%package static
49Summary: Static version of Guichan libraries
50Summary(pl.UTF-8): Statyczne wersje bibliotek Guichan
51Group: Development/Libraries
52Requires: %{name}-devel = %{version}-%{release}
53
54%description static
55Static version of Guichan libraries.
56
57%description static -l pl.UTF-8
58Statyczne wersje bibliotek Guichan.
59
60%prep
61%setup -q
62
63%build
64%{__libtoolize}
65%{__aclocal}
66%{__autoconf}
67%{__autoheader}
68%{__automake}
69%configure \
70 %{!?with_allegro:--disable-allegro}
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)
88%doc AUTHORS COPYING ChangeLog NEWS README TODO
89%attr(755,root,root) %{_libdir}/libguichan*.so.*.*.*
90%attr(755,root,root) %ghost %{_libdir}/libguichan*.so.1
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*
97%{_pkgconfigdir}/guichan*.pc
98
99%files static
100%defattr(644,root,root,755)
101%{_libdir}/libguichan*.a
This page took 0.080719 seconds and 4 git commands to generate.