]>
Commit | Line | Data |
---|---|---|
4b15ee2e | 1 | # |
2 | # TODO: Complete buildrequires | |
3 | # | |
4 | Summary: Fully customisable dock-like window navigator for GNOME | |
8d99cf7e | 5 | Summary(pl.UTF-8): W pełni konfigurowalny dokowy nawigator okien dla GNOME |
4b15ee2e | 6 | Name: avant-window-navigator |
2ca8cb15 | 7 | %define snap 20070619 |
2b9d21a2 PZ |
8 | Version: 0.1.1 |
9 | Release: 1.%{snap} | |
4b15ee2e | 10 | License: GPL |
11 | Group: X11/Applications | |
12 | #Source0: http://avant-window-navigator.googlecode.com/files/%{name}-%{version}-2.tar.gz | |
13 | Source0: %{name}-%{version}.tar.gz | |
2ca8cb15 | 14 | # Source0-md5: 97e74929b15f19b8b73edfe9db1912ef |
4b15ee2e | 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 | |
ed08a58e | 21 | BuildRequires: gnome-desktop-devel |
4b15ee2e | 22 | BuildRequires: gnome-doc-utils >= 0.7.1 |
23 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
24 | BuildRequires: intltool >= 0.35 | |
25 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
26 | BuildRequires: libtool | |
ed08a58e | 27 | BuildRequires: libwnck-devel |
4b15ee2e | 28 | BuildRequires: pkgconfig |
29 | BuildRequires: rpmbuild(macros) >= 1.197 | |
a7d0dc21 | 30 | Requires(post,postun): /sbin/ldconfig |
4b15ee2e | 31 | Requires(post,postun): gtk+2 >= 2:2.10.0 |
32 | Requires(post,preun): GConf2 >= 2.14.0 | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
8d99cf7e | 36 | Avant Window Navigator (Awn) is a dock-like bar which sits at the |
4b15ee2e | 37 | bottom of the screen (in all its composited-goodness) tracking open |
38 | windows. | |
39 | ||
8d99cf7e JB |
40 | %description -l pl.UTF-8 |
41 | Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na | |
42 | dole ekranu śledzący otwarte okna. | |
43 | ||
4b15ee2e | 44 | %prep |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %{__intltoolize} | |
49 | %{__libtoolize} | |
50 | %{__aclocal} | |
4b15ee2e | 51 | %{__autoconf} |
52 | %{__autoheader} | |
53 | %{__automake} | |
4b15ee2e | 54 | %configure \ |
55 | --disable-schemas-install | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT \ | |
63 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
64 | ||
2b9d21a2 PZ |
65 | mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,} |
66 | mv $RPM_BUILD_ROOT%{_datadir}/locale/el{_GR,} | |
5a7b7690 | 67 | mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,} |
2b9d21a2 PZ |
68 | mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,} |
69 | mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,} | |
70 | ||
4b15ee2e | 71 | %find_lang %{name} --with-gnome --all-name |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post | |
77 | %scrollkeeper_update_post | |
dc82ecd7 | 78 | #%%gconf_schema_install %{name}.schemas |
4b15ee2e | 79 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor |
2ca8cb15 | 80 | /sbin/ldconfig |
4b15ee2e | 81 | |
82 | %preun | |
2ca8cb15 | 83 | %gconf_schema_uninstall switcher.schemas trash.schemas |
4b15ee2e | 84 | |
85 | %postun | |
86 | %scrollkeeper_update_postun | |
87 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
2ca8cb15 | 88 | /sbin/ldconfig |
4b15ee2e | 89 | |
90 | %files -f %{name}.lang | |
91 | %defattr(644,root,root,755) | |
92 | %doc AUTHORS ChangeLog NEWS README | |
2ca8cb15 PZ |
93 | %{_sysconfdir}/gconf/schemas/switcher.schemas |
94 | %{_sysconfdir}/gconf/schemas/trash.schemas | |
95 | %attr(755,root,root) %{_bindir}/avant-applets | |
2b9d21a2 | 96 | %attr(755,root,root) %{_bindir}/avant-launchers |
4b15ee2e | 97 | %attr(755,root,root) %{_bindir}/avant-preferences |
98 | %attr(755,root,root) %{_bindir}/avant-window-navigator | |
2ca8cb15 | 99 | %attr(755,root,root) %{_bindir}/awn-applet-activation |
a7d0dc21 | 100 | %attr(755,root,root) %{_libdir}/*.so.*.*.* |
2ca8cb15 PZ |
101 | %dir %{_libdir}/awn |
102 | %dir %{_libdir}/awn/applets | |
103 | %{_libdir}/awn/applets/*.desktop | |
104 | %dir %{_libdir}/awn/applets/switcher | |
105 | %attr(755,root,root) %{_libdir}/awn/applets/switcher/switcher.so | |
106 | %dir %{_libdir}/awn/applets/trash | |
107 | %attr(755,root,root) %{_libdir}/awn/applets/trash/trash.so | |
108 | %{_libdir}/awn/applets/trash/trashapplet.glade | |
a7d0dc21 JB |
109 | %dir %{_datadir}/avant-window-navigator |
110 | %dir %{_datadir}/avant-window-navigator/active | |
111 | %{_datadir}/avant-window-navigator/active/*.png | |
112 | %{_datadir}/avant-window-navigator/*.png | |
113 | %{_datadir}/avant-window-navigator/*.svg | |
114 | %{_datadir}/avant-window-navigator/*.glade | |
115 | %{_desktopdir}/avant-preferences.desktop | |
116 | %{_desktopdir}/avant-window-navigator.desktop |