holdingnuts/holdingnuts.spec

85 lines
2.7 KiB
RPMSpec

Name: holdingnuts
Version: 0.0.5
Release: 2mamba
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://downloads.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
* Thu Feb 11 2016 Automatic Build System <autodist@mambasoft.it> 0.0.5-2mamba
- automatic rebuild by autodist
* Wed Nov 18 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.5-1mamba
- package created by autospec