diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ba66fa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +valknut-0.4.8.tar.bz2 diff --git a/dead.package b/dead.package deleted file mode 100644 index 0164146..0000000 --- a/dead.package +++ /dev/null @@ -1,3 +0,0 @@ -2015-12-06: Retired orphaned package, because it was orphaned for -more than six weeks. - diff --git a/sources b/sources new file mode 100644 index 0000000..f72a124 --- /dev/null +++ b/sources @@ -0,0 +1,3 @@ +c25d68c447cb9deb4262befdde9fccea valknut-0.4.9.tar.bz2 +d239bde0200907a7912e30f10d9aef9f valknut-0.4.9-oxygen-icons.tar.gz +5e41ef96a728a7bef7a4f64e86c60cdc valknut-0.4.9-gnome-icons.tar.gz diff --git a/valknut.desktop b/valknut.desktop new file mode 100644 index 0000000..a3c0f35 --- /dev/null +++ b/valknut.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Valknut +Comment=Direct Connect client +Icon=valknut +Exec=valknut --disable-tray +Terminal=false +Type=Application +Categories=Network;Application;X-Fedora; diff --git a/valknut.spec b/valknut.spec new file mode 100644 index 0000000..fce814f --- /dev/null +++ b/valknut.spec @@ -0,0 +1,147 @@ +Name: valknut +Version: 0.4.9 +Release: 1%{?dist} +Summary: Valknut is a QT Direct Connect client + +Group: Applications/Internet +License: GPLv2+ and LGPLv3+ +URL: http://sourceforge.net/projects/wxdcgui/ +Source0: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2 +Source1: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}-oxygen-icons.tar.gz +Source2: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}-gnome-icons.tar.gz +Source3: valknut.desktop +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: dclib-devel >= 0.3.23 +BuildRequires: qt-devel, desktop-file-utils, bzip2-devel +BuildRequires: openssl-devel + +%description +Valknut is a program that 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 + +%build +%configure --enable-mt +make -k %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm ${RPM_BUILD_ROOT}%{_datadir}/applications/valknut.desktop +# install oxygen icon theme +tar xzf %{SOURCE1} -C ${RPM_BUILD_ROOT}%{_datadir}/%{name}/icons/appl +# install gnome icons theme +tar xzf %{SOURCE2} -C ${RPM_BUILD_ROOT}%{_datadir}/%{name}/icons/appl + +desktop-file-install --vendor fedora \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + %{SOURCE3} + +%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 +%{_datadir}/icons/hicolor/128x128/apps/valknut.png +%{_datadir}/icons/hicolor/16x16/apps/valknut.png +%{_datadir}/icons/hicolor/22x22/apps/valknut.png +%{_datadir}/icons/hicolor/24x24/apps/valknut.png +%{_datadir}/icons/hicolor/32x32/apps/valknut.png +%{_datadir}/icons/hicolor/48x48/apps/valknut.png +%{_datadir}/icons/hicolor/64x64/apps/valknut.png +%{_mandir}/man1/valknut.1.gz + +%changelog + +* Mon Feb 16 2009 Milos Jakubicek - 0.4.9-1 +- Update to 0.4.9 +- Removed gcc4.4 patch (merged upstream) +- Fixed typo in description +- Fixed license tag +- Added oxygen/gnome icons themes as sources + +* Wed Feb 4 2009 Milos Jakubicek - 0.4.8-2 +- Added valknut-gcc44.patch to fix the build with gcc 4.4 + +* Wed Jan 28 2009 Milos Jakubicek - 0.4.8-1 +- Update to 0.4.8 +- Switch to QT4 +- Removed Source2:valknut.png (part of the source package now) +- Fixed desktop file +- Man pages +- Many bugfixes, code cleanup etc. +- Upload slot changes +- Major feature changes (together with dclib) mentioned in NEWS from 0.4.0 to 0.4.7: + 0.4.6: Segment size adjustable, Download folders from search, Warnings about settings, + 0.4.5: More search results returned, Switching active/passive mode, StrongDC compatible encryption, + Partial list uploads, Search window improvements, User list icon changes + 0.4.0: Nick tab completion improvements, Chat command improvements, Filelist storage changes, + Public hubs display improved, /rebuild command fixed and improved, Folder search results + +* Sun Jan 18 2009 Tomas Mraz 0.3.11-5 +- rebuild with new openssl + +* Fri Apr 04 2008 Luke Macken 0.3.11-4 +- Add qt3-devel to BuildRequires to fix build issue (#440837) + +* Fri Feb 8 2008 Luke Macken 0.3.11-3 +- Rebuild for gcc 4.3 + +* Wed Dec 5 2007 Luke Macken 0.3.11-2 +- Rebuild + +* Sun Oct 14 2007 Luke Macken 0.3.11-1 +- 0.3.11 + +* Tue Aug 27 2007 Luke Macken 0.3.10-1 +- 0.3.10 +- Update License to GPLv2 + +* Sat Mar 3 2007 Luke Macken 0.3.8.1-1 +- 0.3.8.1 + +* Mon Jan 3 2007 Luke Macken 0.3.8-1 +- 0.3.8 from new upstream +- Remove valknut-0.3.7-extra-qualification.patch + +* Sun Sep 3 2006 Luke Macken 0.3.7-9 +- Rebuild for FC6 + +* Sun Apr 30 2006 Luke Macken 0.3.7-8 +- Execute with --disable-tray in desktop file, since it is horribly broken. + +* Tue Feb 28 2006 Luke Macken 0.3.7-7 +- Add patch to remove extra qualification build error + +* Wed Feb 15 2006 Luke Macken 0.3.7-6 +- Rebuild for FE5 + +* Wed Nov 09 2005 Luke Macken 0.3.7-5 +- Rebuild for new openssl + +* Tue Oct 03 2005 Luke Macken 0.3.7-4 +- Add openssl-devel to BuildRequires + +* Mon Oct 03 2005 Luke Macken 0.3.7-3 +- Add bzip2-devel to BuildRequires + +* Mon Oct 03 2005 Luke Macken 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 0.3.7-1 +- Packaged for Fedora Extras