holdingnuts/holdingnuts.spec

82 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: holdingnuts
Version: 0.0.5
Release: 1mamba
Summary: HoldingNuts is an open source multi-platform poker client and server.
Summary(it): HoldingNuts è un client e server multipiattaforma per il poker
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://www.holdingnuts.net
Source: http://switch.dl.sourceforge.net/project/holdingnuts/holdingnuts/%{version}/holdingnuts-%{version}.tar.bz2
License: GPL
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libICE-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libqt4-devel
BuildRequires: libSDL-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
HoldingNuts is an open source multi-platform poker client and server.
You can play the popular Texas Hold'em variant with people all over the world, meet your friends, run your own games and even setup your own poker-network.
%description -l it
HoldingNuts è un client e server multipiattaforma per il poker
Puoi giocare il popolare Texas Hold'em con persone da tutto il mondo, incontrare i tuoi amici, ospitare i tuoi giochi e persino crearti la tua rete per il gioco del poker.
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
mkdir %{buildroot}%{_libdir}
install build/src/libpoker/libPoker.so %{buildroot}%{_libdir}/
install build/src/system/*.so %{buildroot}%{_libdir}/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/holdingnuts
%{_bindir}/holdingnuts-server
%{_libdir}/*.so
%{_datadir}/holdingnuts/data/audio/*.wav
%{_datadir}/holdingnuts/data/gfx/deck/classic/*.png
%{_datadir}/holdingnuts/data/gfx/deck/default/*.png
%{_datadir}/holdingnuts/data/gfx/foyer/*.png
%{_datadir}/holdingnuts/data/gfx/table/*.png
%{_datadir}/holdingnuts/data/i18n/*.qm
%doc ChangeLog LICENSE
%changelog
* Wed Nov 18 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.5-1mamba
- package created by autospec