Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c60f73af48 | ||
|
|
0f7070ff39 | ||
|
|
cd75f1cd55 |
7 changed files with 111 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
valknut-0.3.7.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
2015-12-06: Retired orphaned package, because it was orphaned for
|
||||
more than six weeks.
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
d90848502cde1f71acb379e6ce9819a0 valknut-0.3.7.tar.gz
|
||||
11
valknut-0.3.7-extra-qualification.patch
Normal file
11
valknut-0.3.7-extra-qualification.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- valknut/dciconloader.h.orig 2006-02-28 13:47:46.000000000 -0500
|
||||
+++ valknut/dciconloader.h 2006-02-28 13:48:02.000000000 -0500
|
||||
@@ -122,7 +122,7 @@
|
||||
|
||||
private:
|
||||
/** */
|
||||
- QPixmap DCIconLoader::LoadPixmap( QString file );
|
||||
+ QPixmap LoadPixmap( QString file );
|
||||
|
||||
/** */
|
||||
PixmapMap m_PixmapMap;
|
||||
9
valknut.desktop
Normal file
9
valknut.desktop
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Valknut
|
||||
Comment=Direct Connect client
|
||||
Icon=valknut.png
|
||||
Exec=valknut --disable-tray
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;Application;X-Fedora;
|
||||
BIN
valknut.png
Normal file
BIN
valknut.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
89
valknut.spec
Normal file
89
valknut.spec
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
Name: valknut
|
||||
Version: 0.3.7
|
||||
Release: 9%{?dist}
|
||||
Summary: Valknut is a QT Direct Connect client
|
||||
|
||||
Group: Applications/Internet
|
||||
License: GPL
|
||||
URL: http://dcgui.berlios.de
|
||||
Source0: http://download.berlios.de/dcgui/%{name}-%{version}.tar.gz
|
||||
Source1: valknut.desktop
|
||||
Source2: valknut.png
|
||||
Patch0: %{name}-%{version}-extra-qualification.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: dclib-devel, qt-devel, desktop-file-utils, bzip2-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%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 -q
|
||||
%patch0
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR && source %{_sysconfdir}/profile.d/qt.sh
|
||||
%configure --enable-mt
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%{__install} -p -D -m 644 %{SOURCE2} \
|
||||
$RPM_BUILD_ROOT%{_datadir}/pixmaps/valknut.png
|
||||
|
||||
desktop-file-install --vendor fedora \
|
||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
%{SOURCE1}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS README COPYING
|
||||
%{_bindir}/valknut
|
||||
%{_datadir}/valknut
|
||||
%{_datadir}/applications/fedora-valknut.desktop
|
||||
%{_datadir}/pixmaps/valknut.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> 0.3.7-9
|
||||
- Rebuild for FC6
|
||||
|
||||
* Sun Apr 30 2006 Luke Macken <lmacken@redhat.com> 0.3.7-8
|
||||
- Execute with --disable-tray in desktop file, since it is horribly broken.
|
||||
|
||||
* Tue Feb 28 2006 Luke Macken <lmacken@redhat.com> 0.3.7-7
|
||||
- Add patch to remove extra qualification build error
|
||||
|
||||
* Wed Feb 15 2006 Luke Macken <lmacken@redhat.com> 0.3.7-6
|
||||
- Rebuild for FE5
|
||||
|
||||
* Wed Nov 09 2005 Luke Macken <lmacken@redhat.com> 0.3.7-5
|
||||
- Rebuild for new openssl
|
||||
|
||||
* Tue Oct 03 2005 Luke Macken <lmacken@redhat.com> 0.3.7-4
|
||||
- Add openssl-devel to BuildRequires
|
||||
|
||||
* Mon Oct 03 2005 Luke Macken <lmacken@redhat.com> 0.3.7-3
|
||||
- Add bzip2-devel to BuildRequires
|
||||
|
||||
* Mon Oct 03 2005 Luke Macken <lmacken@redhat.com> 0.3.7-2
|
||||
- Requires desktop-file-utils
|
||||
- Use environment variables instead of hardcoding QTDIR
|
||||
- Remove duplicate category from desktop file
|
||||
- Use -p when calling 'install'
|
||||
|
||||
* Thu Sep 29 2005 Luke Macken <lmacken@redhat.com> 0.3.7-1
|
||||
- Packaged for Fedora Extras
|
||||
Reference in a new issue