LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File linuxdcpp.spec of Package linuxdcpp (Project filesharing)

# spec file for Linuxdc++ (Version 1.0.99)
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

Name:           linuxdcpp
Version:        1.1.0
Release:        1
License:        GPLv2
Summary:        LinuxDC++ is a Linux port of the Direct Connect client DC++
Url:            https://launchpad.net/linuxdcpp
Group:          Productivity/Networking/File-Sharing
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Source:         http://launchpad.net/linuxdcpp/1.1/%{version}/+download/%{name}-%{version}.tar.bz2
Source1:        %{name}.desktop

BuildRequires:  boost-devel
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libopenssl-devel
BuildRequires:  pkg-config
BuildRequires:	gtk2-devel
BuildRequires:	libglade2-devel
BuildRequires:	libnotify-devel
BuildRequires:  libbz2-devel
BuildRequires:  scons
BuildRequires:  update-desktop-files


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


%setup -q

CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" scons FAKE_ROOT=%{buildroot} PREFIX="%{_prefix}" release="true"

scons install

rm -rf %{buildroot}%{_datadir}/doc/%{name}
rm -rf %{buildroot}%{_datadir}/icons/hicolor/20x20
%suse_update_desktop_file -i %{name} Network FileTransfer

%find_lang %{name}
%find_lang libdcpp %{name}.lang

rm -rf %{buildroot}

%doc Changelog.txt Credits.txt License.txt Readme.txt

%files lang -f %{name}.lang