LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File richclient.spec of Package richclient (Project KDE:KDE3)

#norootforbuild

%define _prefix		/opt/kde3
%define _sysconfdir	/etc%{_prefix}

Name:		richclient
Version:	0.4.2
Release:	1
Summary:	KDE client for build.opensuse.org service
Source0:	http://api.opensuse.org/source/openSUSE:Tools/richclient/%{name}-%{version}.tar.bz2
Source1:        richclient.desktop
Source2:        richclient.png
License:	GPL
Packager:	Jonh Arson <jonharson@gmail.com>
Group:		Development/Tools/Other
URL:		http://en.opensuse.org/Build_Service/Rich_Client
Requires:	qt3 kdelibs3
BuildRequires:	kdelibs3 kdelibs3-devel qt3 qt3-devel
BuildRequires:	gcc-c++ libstdc++-devel
BuildRequires:	autoconf automake libtool unsermake
BuildRequires:	update-desktop-files
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
KDE client for build.opensuse.org service.

	Jonathan Arsenault <jonharson@gmail.com>
	Cornelius Schumacher <cschum@suse.de>

%prep
%setup -q
%{?suse_update_libdir:%{suse_update_libdir}}
cp -f %{SOURCE1} src

%build
. /etc/opt/kde3/common_options
update_admin
./configure $configkde
make %{?jobs:-j%{jobs}}

%install
. /etc/opt/kde3/common_options
%makeinstall
kde_post_install

#%find_lang %{name}

%__strip \
	"%{buildroot}%{_bindir}"/* \
	"%{buildroot}%{_libdir}"/*.so.* \
	"%{buildroot}%{_libdir}/kde3"/*.so \
	2>/dev/null || :

install -d %{buildroot}%{_prefix}/share/icons/hicolor/32x32/apps
cp -f %{SOURCE2} %{buildroot}%{_prefix}/share/icons/hicolor/32x32/apps

%clean
%__rm -rf "%{buildroot}"

%files
#%files -f %{name}.lang
%defattr(-, root, root)
%doc %{_prefix}/share/doc/HTML/en/richclient/*
%doc %{_prefix}/share/doc/HTML/fr/richclient/*
%dir %{_prefix}/share/doc/HTML/en/richclient
%dir %{_prefix}/share/doc/HTML/fr/richclient
%{_prefix}/share/applications/kde/%{name}.desktop
%{_prefix}/bin/%{name}
%{_prefix}/share/icons/hicolor/32x32/apps/*

%changelog