2 # TODO: Complete buildrequires
4 Summary: Fully customisable dock-like window navigator for GNOME
5 Summary(pl.UTF-8): W pełni konfigurowalny dokowy nawigator okien dla GNOME
6 Name: avant-window-navigator
11 Group: X11/Applications
12 #Source0: http://avant-window-navigator.googlecode.com/files/%{name}-%{version}-2.tar.gz
13 Source0: %{name}-%{version}.tar.gz
14 # Source0-md5: 97e74929b15f19b8b73edfe9db1912ef
15 URL: http://code.google.com/p/avant-window-navigator/
16 BuildRequires: GConf2-devel >= 2.14.0
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gettext-devel
20 BuildRequires: gnome-common >= 2.12.0
21 BuildRequires: gnome-doc-utils >= 0.7.1
22 BuildRequires: gtk+2-devel >= 2:2.10.0
23 BuildRequires: intltool >= 0.35
24 BuildRequires: libglade2-devel >= 1:2.6.0
25 BuildRequires: libtool
26 BuildRequires: pkgconfig
27 BuildRequires: rpmbuild(macros) >= 1.197
28 Requires(post,postun): /sbin/ldconfig
29 Requires(post,postun): gtk+2 >= 2:2.10.0
30 Requires(post,preun): GConf2 >= 2.14.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Avant Window Navigator (Awn) is a dock-like bar which sits at the
35 bottom of the screen (in all its composited-goodness) tracking open
38 %description -l pl.UTF-8
39 Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na
40 dole ekranu śledzący otwarte okna.
53 --disable-schemas-install
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT \
61 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
63 mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,}
64 mv $RPM_BUILD_ROOT%{_datadir}/locale/el{_GR,}
65 mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,}
66 mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,}
67 mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,}
69 %find_lang %{name} --with-gnome --all-name
72 rm -rf $RPM_BUILD_ROOT
75 %scrollkeeper_update_post
76 #%%gconf_schema_install %{name}.schemas
77 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
81 %gconf_schema_uninstall switcher.schemas trash.schemas
84 %scrollkeeper_update_postun
85 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README
91 %{_sysconfdir}/gconf/schemas/switcher.schemas
92 %{_sysconfdir}/gconf/schemas/trash.schemas
93 %attr(755,root,root) %{_bindir}/avant-applets
94 %attr(755,root,root) %{_bindir}/avant-launchers
95 %attr(755,root,root) %{_bindir}/avant-preferences
96 %attr(755,root,root) %{_bindir}/avant-window-navigator
97 %attr(755,root,root) %{_bindir}/awn-applet-activation
98 %attr(755,root,root) %{_libdir}/*.so.*.*.*
100 %dir %{_libdir}/awn/applets
101 %{_libdir}/awn/applets/*.desktop
102 %dir %{_libdir}/awn/applets/switcher
103 %attr(755,root,root) %{_libdir}/awn/applets/switcher/switcher.so
104 %dir %{_libdir}/awn/applets/trash
105 %attr(755,root,root) %{_libdir}/awn/applets/trash/trash.so
106 %{_libdir}/awn/applets/trash/trashapplet.glade
107 %dir %{_datadir}/avant-window-navigator
108 %dir %{_datadir}/avant-window-navigator/active
109 %{_datadir}/avant-window-navigator/active/*.png
110 %{_datadir}/avant-window-navigator/*.png
111 %{_datadir}/avant-window-navigator/*.svg
112 %{_datadir}/avant-window-navigator/*.glade
113 %{_desktopdir}/avant-preferences.desktop
114 %{_desktopdir}/avant-window-navigator.desktop