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.8.2
Release: alt3.1
Summary: Guichan - small, efficient C++ GUI library designed for games
License: BSD
Group: System/Libraries
Source: http://guichan.googlecode.com/files/%oname-%version.tar.gz
Patch: %name-0.8.2.patch
Url: http://guichan.googlecode.com
# manually removed: gcc-g77 libg2c-devel
# Automatically added by buildreq on Tue May 11 2010
BuildRequires: gcc-c++ libGL-devel libSDL-devel libSDL_image-devel liballegro-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
sed -i "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
%files
%doc AUTHORS ChangeLog NEWS README TODO
%_libdir/libguichan*.so.*
%files devel
%_libdir/libguichan*.so
%_includedir/guichan*
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui
Name: libguichan
Version: 0.8.2
Release: alt3.1
Summary: Guichan - small, efficient C++ GUI library designed for games
License: BSD
Group: System/Libraries
Source: http://guichan.googlecode.com/files/%oname-%version.tar.gz
Patch: %name-0.8.2.patch
Url: http://guichan.googlecode.com
# manually removed: gcc-g77 libg2c-devel
# Automatically added by buildreq on Tue May 11 2010
BuildRequires: gcc-c++ libGL-devel libSDL-devel libSDL_image-devel liballegro-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
sed -i "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
%files
%doc AUTHORS ChangeLog NEWS README TODO
%_libdir/libguichan*.so.*
%files devel
%_libdir/libguichan*.so
%_includedir/guichan*
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui