%define cvs 20041216 Summary: Direct Connect client Name: valknut Version: 0.3.4 Release: 2.n0i.2%{?cvs:.cvs%{cvs}} License: GPL URL: http://dcgui.berlios.de Group: Applications/Internet %if %{?cvs:1}%{!?cvs:0} Source: %{name}-%{version}-cvs%{cvs}.tar.bz2 %else Source: http://download.berlios.de/dcgui/%{name}-%{version}.tar.bz2 %endif Source1: valknut.desktop Source2: valknut.png Patch0: unicode-recode.patch Patch1: cleanup1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt-devel >= 3.0, dclib-devel, pkgconfig Requires: qt >= 3.0 %{?cvs:BuildRequires: automake16} Obsoletes: dcgui %description Valknut is a program the uses the Direct Connect protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. Valknut also interoperates with all common DC hub software. %prep %setup %{?cvs:-n %{name}} %patch0 %patch1 %{?cvs:make -f Makefile.dist} %build export QTDIR="$(pkg-config --variable=prefix qt-mt)" %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install-strip DESTDIR=$RPM_BUILD_ROOT install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Thu Dec 16 2004 Marius FERARU 0:0.3.4-2.n0i.2.cvs20041216 - refreshed source to the current CVS snapshot - twisted spec to enable building CVS snapshots - followed Henning Norén's ideas from his package: + added icon and desktop file + patch: applied small cleanup of dcwidget + patch: to recode remote filenames * Wed Dec 08 2004 Marius FERARU 0:0.3.3-1.n0i.1 - initial packaging