c9bc75a
Name:          simdock
c9bc75a
Summary:       Fast and customizable dockbar
c9bc75a
Version:       1.2
8f020ea
Release:       3%{?dist}
c9bc75a
License:       GPLv2+
c9bc75a
Group:         User Interface/Desktops
c9bc75a
URL:           http://simdock.sourceforge.net/
c9bc75a
Source0:       http://downloads.sourceforge.net/simdock/%{name}_%{version}.tar.gz
c9bc75a
Source1:       README.fedora
c9bc75a
Patch0:        simdock-1.2.desktop.patch
c9bc75a
Patch1:        simdock-1.2-pixmap.patch
c9bc75a
Patch2:        simdock-1.2-readme.patch
c9bc75a
Patch3:        simdock-1.2-tasks.patch
c9bc75a
Buildrequires: desktop-file-utils
c9bc75a
BuildRequires: GConf2-devel
c9bc75a
BuildRequires: libwnck-devel
c9bc75a
BuildRequires: startup-notification-devel
c9bc75a
BuildRequires: wxGTK-devel
c9bc75a
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c9bc75a
c9bc75a
c9bc75a
%description
c9bc75a
SimDock is a fast and customizable dockbar. It is written in c++ and
c9bc75a
wxWidgets and fits well in Gnome but works on most desktop
c9bc75a
environments. Does not require Compiz nor 3D acceleration.
c9bc75a
c9bc75a
%prep
c9bc75a
%setup -q -n trunk
c9bc75a
%patch0 -p1
c9bc75a
%patch1 -p1
c9bc75a
%patch2 -p1
c9bc75a
%patch3 -p1
c9bc75a
%{__install} -m 0644 %{SOURCE1} .
c9bc75a
c9bc75a
%build
c9bc75a
%configure
c9bc75a
%{__make} %{?_smp_mflags}
c9bc75a
c9bc75a
%install
c9bc75a
%{__rm} -rf %{buildroot}
c9bc75a
%{__make} DESTDIR=%{buildroot} install
c9bc75a
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
c9bc75a
    %{buildroot}%{_datadir}/applications/%{name}.desktop
c9bc75a
c9bc75a
%clean
c9bc75a
%{__rm} -rf %{buildroot}
c9bc75a
c9bc75a
%files
c9bc75a
%defattr(-, root, root, -)
c9bc75a
%doc AUTHORS COPYING LICENSE README README.fedora
c9bc75a
%{_bindir}/%{name}
c9bc75a
%{_datadir}/%{name}
c9bc75a
%{_datadir}/pixmaps/%{name}.png
c9bc75a
%{_datadir}/applications/%{name}.desktop
c9bc75a
c9bc75a
%changelog
8f020ea
* Mon Oct 20 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-3
8f020ea
- rebuild
8f020ea
c9bc75a
* Thu Oct  2 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-2
c9bc75a
- fix patch macro
c9bc75a
- install desktop file
c9bc75a
c9bc75a
* Wed Mar 12 2008 Terje Rosten <terje.rosten@ntnu.no> - 1.2-1
c9bc75a
- initial build