All pastes #552503 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-09 09:54 UTC
rendered paste body
# %define _skip_check yes

BuildRequires:	gcc

Summary:        A MSN Messenger Client for KDE
Name:           kmess
Version:        1.5pre2
Release:        1
Copyright:      GPL
Group:          KDE 
Source0:        kmess-1.5pre2.tar.gz
# Patch0:
URL:            http://www.yoper.com
Distribution:  Yoper
BuildRoot:      %{_tmppath}/%{name}-buildroot
Packager:	hak5fan <bjorn.overland@gmail.com>

%description
KMess is an alternative MSN Messenger chat client for Linux. 
It allows Linux users to chat with friends who use MSN 
Messenger in Windows or Mac OS. The strength of KMess is it's 
integration with the KDE desktop environment, focus on MSN 
Messenger specific features and an easy-to-use interface.


 %package devel
 Summary:        Development files of Kmess 
 Group:          Development/Libraries
 Requires:       kde-meta-devel x-devel libstdc++-devel qt-devel libxml2-devel

#%description devel
#These are development files of %{name}

%prep
rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf %{buildroot}
%setup -q

%build
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
%configure --disable-debug
make %{_smp_mflags}

%install
if [ -d "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ] ; then rm -rf $RPM_BUILD_ROOT; fi

make install DESTDIR=$RPM_BUILD_ROOT

#cd $RPM_BUILD_DIR/%{name}-%{version}
#%{find_lang} %{name} --all-name


%clean
rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf %{buildroot}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(755,root,root)
# change this, using wildcards creates file conflicts

%{_bindir}/kmess
%{_datadir}/applications/kde/kmess.desktop
%{_datadir}/apps/kmess
%{_datadir}/apps/kmess/eventsrc
%{_datadir}/apps/kmess/pics/*.png
%doc %{_datadir}/doc/HTML/*/kmess/*
%{_datadir}/emoticons/*/*.png
%{_datadir}/icons/hicolor/*/apps/kmess.png 
%{_datadir}/icons/locolor/*/apps/kmess.png
%{_datadir}/locale/*/LC_MESSAGES/kmess.mo
%{_datadir}/sounds/*.ogg



# %files devel
# %defattr(-,root,root)