File linuxdcpp.spec of Package linuxdcpp
#
# spec file for Linuxdc++ (Version 1.0.3)
#
# Copyright (c) 2008 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to the Maintainer: sda00@himki.net
#
# bzr branch lp:linuxdcpp
# norootforbuild
Name: linuxdcpp
Version: 1.0.3_20100210
Release: 1
Summary: LinuxDC++ is a Linux port of the Direct Connect client DC++
License: GPL
Group: Internet/Peer to Peer
URL: linuxdcpp.berlios.de
#Vendor:
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.desktop.tar.bz2
#Patch:
#Provides: linuxdcpp
BuildRequires: scons pkg-config boost-devel
BuildRequires: gcc-c++ gcc libglade2-devel libglade2
BuildRequires: zlib zlib-devel libbz2-1 libbz2-devel libopenssl-devel openssl
BuildRequires: gtk2-devel gtk2 update-desktop-files
# Requires: gtk2 libglade2 openssl libbz2-1 zlib
Requires: hicolor-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LinuxDC++ is a Linux port of the Direct Connect client DC++. Though it is
primarily aimed at Linux, it has been shown to work on other Unix-based
operating systems as well. It is written in C++ and makes use of GTK+ for the
user-interface. LinuxDC++ is free and open source software licensed under the
GPL.
The latest changelog is here:
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/linuxdcpp/linuxdcpp/Changelog.txt?rev=HEAD&content-type=text/plain
Have fun!
%prep
%setup -q
%build
CCFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" scons PREFIX=%{_prefix} release="true"
%install
mkdir -p $RPM_BUILD_ROOT%{_prefix}
scons PREFIX=$RPM_BUILD_ROOT%{_prefix} install
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/linuxdcpp
##%__install -D -m 0644 pixmaps/linuxdcpp.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/linuxdcpp.png
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cd $RPM_BUILD_ROOT%{_datadir}/applications/
tar xfm $RPM_SOURCE_DIR/%{name}.desktop.tar.bz2
%suse_update_desktop_file %{name} Network FileTransfer
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
##doc Changelog.txt Credits.txt License.txt Readme.txt
%{_bindir}/linuxdcpp
%{_datadir}/linuxdcpp
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%dir %{_datadir}/icons/hicolor/20x20
%dir %{_datadir}/icons/hicolor/20x20/apps
%changelog
* Thu Dec 11 2008 merged with Project home_MunkOil
* Fri Jul 4 2008 was released linuxdc++ 1.0.2
* Tue Dec 25 2007 was released linuxdc++ 1.0.1
Packed by sda00@himki.net