ALT Linux repositórios
S: | 0.8.2-alt3.1 |
5.0: | 0.7.1-alt1 |
4.1: | 0.7.1-alt1 |
4.0: | 0.5.0-alt0.2 |
3.0: | |
+backports: | 0.4.0-alt0.M30.0.3 |
Group :: Sistema/Bibliotecas
RPM: libguichan
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname guichan
Name: libguichan
Version: 0.7.1
Release: alt1
Summary: Guichan - small, efficient C++ GUI library designed for games
License: BSD
Group: System/Libraries
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sourceforge.net/%oname/%oname-%version.tar.bz2
#Source: http://guichan.googlecode.com/files/%oname-%version.tar.bz2
Patch: %name-%version.patch
#Source: http://guichan.sourceforge.net/downloads/guichan-snapshot.tar.bz2
Url: http://guichan.sourceforge.net/
# manually removed: gcc-g77 libg2c-devel
# Automatically added by buildreq on Thu Jan 03 2008
BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel liballegro-devel libmesa-devel
%description
Guichan is a small, efficient C++ GUI library designed for games. It
comes with a standard set of widgets and can use several different
objects for displaying graphics and grabbing user input.
%package devel
Summary: Header files for Guichan library
Group: Development/C
Requires: %name = %version-%release
Requires: libstdc++-devel
%description devel
Header files for Guichan library.
%prep
%setup -q -n %oname-%version
%patch -p1
# make libguichan before extradirs
%__subst "s|SUBDIRS = widgets|SUBDIRS = widgets \.|g" src/Makefile.am
%build
%__autoreconf
export LDFLAGS="-L%_x11libdir"
%configure --disable-static \
--enable-opengl \
--enable-allegro
%make_build
%install
%make_install install DESTDIR=%buildroot
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS ChangeLog NEWS README TODO
%_libdir/libguichan*.so.*
%files devel
%_libdir/libguichan*.so
%_includedir/guichan*
%changelog
…
Todas as alterações você pod ver aqui
Name: libguichan
Version: 0.7.1
Release: alt1
Summary: Guichan - small, efficient C++ GUI library designed for games
License: BSD
Group: System/Libraries
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sourceforge.net/%oname/%oname-%version.tar.bz2
#Source: http://guichan.googlecode.com/files/%oname-%version.tar.bz2
Patch: %name-%version.patch
#Source: http://guichan.sourceforge.net/downloads/guichan-snapshot.tar.bz2
Url: http://guichan.sourceforge.net/
# manually removed: gcc-g77 libg2c-devel
# Automatically added by buildreq on Thu Jan 03 2008
BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel liballegro-devel libmesa-devel
%description
Guichan is a small, efficient C++ GUI library designed for games. It
comes with a standard set of widgets and can use several different
objects for displaying graphics and grabbing user input.
%package devel
Summary: Header files for Guichan library
Group: Development/C
Requires: %name = %version-%release
Requires: libstdc++-devel
%description devel
Header files for Guichan library.
%prep
%setup -q -n %oname-%version
%patch -p1
# make libguichan before extradirs
%__subst "s|SUBDIRS = widgets|SUBDIRS = widgets \.|g" src/Makefile.am
%build
%__autoreconf
export LDFLAGS="-L%_x11libdir"
%configure --disable-static \
--enable-opengl \
--enable-allegro
%make_build
%install
%make_install install DESTDIR=%buildroot
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc AUTHORS ChangeLog NEWS README TODO
%_libdir/libguichan*.so.*
%files devel
%_libdir/libguichan*.so
%_includedir/guichan*
%changelog
…
Todas as alterações você pod ver aqui