Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 60d2e282dbd60d83f4639a4dec553880 > files > 3

kconfigeditor-0.9.5-2mdk.src.rpm

%define __libtoolize    /bin/true

Name:           kconfigeditor
Summary:        Tool to configure all aspects of desktop.
Version:        0.9.5
Release:        2mdk
Source:         %{name}-%{version}.tar.bz2
URL:            http://extragear.kde.org/apps/kconfigeditor.php
Group:		Graphical desktop/KDE
BuildRoot:      %_tmppath/%name-buildroot
License:		GPL
BuildRequires:	XFree86-devel
BuildRequires:	kdelibs-devel
BuildRequires:	libart_lgpl-devel
BuildRequires:	arts-devel
BuildRequires:	png-devel
BuildRequires:	jpeg-devel

Patch1:			kconfigeditor-0.9.4-fix-compile.patch.bz2

%description
KConfigEditor is an application which lets power users and administrators directly 
edit all aspects of their desktops. 

%prep
rm -rf $RPM_BUILD_ROOT 

%setup -q
#%patch1 -p1 -b .fix_compile


%build
make -f admin/Makefile.common cvs

export QTDIR=%_prefix/%_lib/qt3
export KDEDIR=%_prefix

export LD_LIBRARY_PATH=$QTDIR/%_lib:$KDEDIR/%_lib:$LD_LIBRARY_PATH
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH

# Search for qt/kde libraries in the right directories (avoid patch)
# NOTE: please don't regenerate configure scripts below
perl -pi -e "s@/lib(\"|\b[^/])@/%_lib\1@g if /(kde|qt)_(libdirs|libraries)=/" configure

%{?__cputoolize: %{__cputoolize} }
%configure --disable-rpath

%make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}

%postun
%{clean_menus}

%files -f %name.lang
%defattr(-,root,root,0755)
%_bindir/kconfigeditor
%dir %_datadir/apps/kconfigeditor/
%_datadir/apps/kconfigeditor/kconfigeditorui.rc




%changelog
* Fri May 06 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.5-2mdk
- Fix build

* Thu Nov 18 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.5-1mdk
- 0.9.5

* Mon Jul 12 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.4-1mdk
- 0.9.4

* Thu Jul 08 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.1-1mdk
- First package