]>
Commit | Line | Data |
---|---|---|
4b15ee2e | 1 | # |
2 | # TODO: Complete buildrequires | |
3 | # | |
4 | Summary: Fully customisable dock-like window navigator for GNOME | |
5 | Name: avant-window-navigator | |
6 | %define snap 20070201 | |
7 | Version: 0.1.1.%{snap} | |
8 | Release: 1 | |
9 | License: GPL | |
10 | Group: X11/Applications | |
11 | #Source0: http://avant-window-navigator.googlecode.com/files/%{name}-%{version}-2.tar.gz | |
12 | Source0: %{name}-%{version}.tar.gz | |
13 | # Source0-md5: fd118586411eaf68447f79aa338a6561 | |
14 | URL: http://code.google.com/p/avant-window-navigator/ | |
15 | BuildRequires: GConf2-devel >= 2.14.0 | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
18 | BuildRequires: gettext-devel | |
19 | BuildRequires: gnome-common >= 2.12.0 | |
20 | BuildRequires: gnome-doc-utils >= 0.7.1 | |
21 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
22 | BuildRequires: intltool >= 0.35 | |
23 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
24 | BuildRequires: libtool | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: rpmbuild(macros) >= 1.197 | |
27 | Requires(post,postun): gtk+2 >= 2:2.10.0 | |
28 | Requires(post,preun): GConf2 >= 2.14.0 | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Avant Window Navgator (Awn) is a dock-like bar which sits at the | |
33 | bottom of the screen (in all its composited-goodness) tracking open | |
34 | windows. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %{__intltoolize} | |
41 | %{__libtoolize} | |
42 | %{__aclocal} | |
43 | ls ltmain.sh | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | LDFLAGS="%{rpmldflags} -Wl,--as-needed" | |
48 | %configure \ | |
49 | --disable-schemas-install | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT \ | |
57 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
58 | ||
59 | %find_lang %{name} --with-gnome --all-name | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post | |
65 | %scrollkeeper_update_post | |
66 | %gconf_schema_install %{name}.schemas | |
67 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
68 | ||
69 | %preun | |
70 | %gconf_schema_uninstall %{name}.schemas | |
71 | ||
72 | %postun | |
73 | %scrollkeeper_update_postun | |
74 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
75 | ||
76 | %files -f %{name}.lang | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS ChangeLog NEWS README | |
79 | %{_sysconfdir}/gconf/schemas/avant-window-navigator.schemas | |
80 | %attr(755,root,root) %{_bindir}/avant-preferences | |
81 | %attr(755,root,root) %{_bindir}/avant-window-navigator | |
82 | %{_desktopdir}/avant-preferences.desktop | |
83 | %{_desktopdir}/avant-window-navigator.desktop | |
84 | %dir %{_datadir}/avant-window-navigator | |
85 | %dir %{_datadir}/avant-window-navigator/active | |
86 | %{_datadir}/avant-window-navigator/active/*.png | |
87 | %{_datadir}/avant-window-navigator/*.png | |
88 | %{_datadir}/avant-window-navigator/*.svg | |
89 | %{_datadir}/avant-window-navigator/*.glade |