LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File freedcppmv.spec of Package freedcppmv (Project home:iboss32)

#
# spec file for package freedcppmv (svn)
#
# http://freedcppmv.svn.sourceforge.net/viewvc/freedcppmv/
# http://mank.sytes.net/
Name:           freedcppmv
BuildRequires:  fdupes gcc-c++ scons pkg-config update-desktop-files zlib libbz2-devel libglade2-devel libgnome-devel boost-devel libnotify-devel libopenssl-devel lua-devel lua
#Requires: 
License:        GPLv2
Group:          Productivity/Networking/File-Sharing
Version:        r49
Conflicts:      freedcpp
Release:        1
Summary:        FreeDC++ Mod Mank - DC++ client on GTK+
URL:            http://mank.sytes.net/
Source:         freedcppmv.tar.gz
Patch0:         freedcppmv-lua-fix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
FreeDC++ Mod Mank


%prep
%setup -q -n freedcppmv
%patch0 -p2

%build
CFLAGS="$RPM_OPT_FLAGS"
export CFLAGS  
CXXFLAGS="$RPM_OPT_FLAGS" 
export CXXFLAGS  
FFLAGS="$RPM_OPT_FLAGS"
export FFLAGS
release="true"
export release
scons PREFIX=%{_prefix} release=true

%install
mkdir %{?buildroot:%{buildroot}}%{_prefix}
scons PREFIX=%{?buildroot:%{buildroot}}%{_prefix} install
%suse_update_desktop_file freedcpp Network File-Sharing
%fdupes $RPM_BUILD_ROOT
%find_lang freedcpp freedcpp.lang
%find_lang libdcpp freedcpp.lang

%clean
rm -rf %{buildroot}

%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig

%files -f freedcpp.lang
%defattr(-,root,root)
%{_bindir}/freedcpp
%{_datadir}/freedcpp/*
%{_datadir}/applications/freedcpp.desktop
%doc %{_datadir}/doc/freedcpp/*
%{_datadir}/pixmaps/*
%{_datadir}/locale/*/LC_MESSAGES/libdcpp.mo
%dir %{_datadir}/freedcpp/
%dir %{_datadir}/doc/freedcpp/
%{_datadir}/country/*

%changelog