LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

# norootforbuild

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

Name:				kooldock
Version:			0.4.6
Release:			1
Summary:			Mac OSX alike Dock for KDE
Source:			http://kde-apps.org/content/files/50910-kooldock.tar.gz
Source1:			kooldock.desktop
URL:				http://kde-apps.org/content/show.php?content=50910
Group:			System/GUI/KDE
License:			GPL
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	kdelibs3 kdelibs3-devel
BuildRequires:	gcc-c++ libstdc++-devel
BuildRequires:	autoconf automake libtool
BuildRequires:	gettext gettext-devel
BuildRequires:	update-desktop-files

%description
A kool dock for KDE. It attemps to resemble the Mac OSX dock.

%prep
%setup -q -n "kooldock"
test -s po/de.po || %__rm po/de.po
sed -i 's|1.6.|1.10|g' admin/cvs.sh
sed -i 's|1.7|*|g' admin/cvs.sh
sed -i 's|1.5|xxx|g' admin/cvs.sh

%build
%__make -f Makefile.dist

. /etc/opt/kde3/common_options
update_admin
./configure $configkde --disable-final

make %{?jobs:-j%{jobs}}

%install
. /etc/opt/kde3/common_options

%makeinstall
kde_post_install

%__install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/kde/kooldock.desktop"
%suse_update_desktop_file kooldock Utility DesktopUtility
%find_lang kooldock

%if %suse_version < 930
%__strip \
	"%{buildroot}%{_bindir}"/* \
	2>/dev/null || :
%endif

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

%files -f kooldock.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README* TODO
%{_bindir}/kooldock
%dir %{_datadir}/apps/kooldock
%dir %{_datadir}/apps/kooldock/backgrounds
%{_datadir}/apps/kooldock/backgrounds/*
%dir %{_datadir}/apps/kooldock/icons
%dir %{_datadir}/apps/kooldock/icons/*
%dir %{_datadir}/apps/kooldock/icons/*/*
%dir %{_datadir}/apps/kooldock/icons/*/*/*
%{_datadir}/apps/kooldock/icons/*/*/*/*
%{_datadir}/icons/*/*/apps/kooldock.*
%{_datadir}/applications/kde/kooldock.desktop

%changelog
* Sun Mar 25 2007 Pascal Bleser <guru@unixtech.be> 0.4.6-1
- new upstream version
- CHANGES: added choice of amount of big icons
- CHANGES: added choice of edge on which kooldock has to appear
- CHANGES: added option allowing to don't scroll while mouse is on the same icon (centered on it)
- CHANGES: added Italian translation
- CHANGES: added desktop area clipping
- CHANGES: added DCOP icon area clipping
- CHANGES: some bugfixes

* Fri Feb 16 2007 Pascal Bleser <guru@unixtech.be> 0.4.5-1
- new upstream version

* Mon Feb 12 2007 Pascal Bleser <guru@unixtech.be> 0.4.4-1
- new upstream version

* Sat Jan 20 2007 Pascal Bleser <guru@unixtech.be> 0.4.3-1
- new upstream version

* Tue Jan 16 2007 Pascal Bleser <guru@unixtech.be> 0.4.2-1
- new upstream version

* Mon Jan  1 2007 Pascal Bleser <guru@unixtech.be> 0.4.1-1
- new upstream version

* Mon Jan  1 2007 Pascal Bleser <guru@unixtech.be> 0.4-1
- new upstream version
- rewrote spec file

* Fri Aug 13 2004 Pascal Bleser <guru@unixtech.be> 0.3-1
- version 0.3

* Sat Aug 07 2004 Pascal Bleser <guru@unixtech.be>
- new package

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: