]>
Commit | Line | Data |
---|---|---|
4b15ee2e | 1 | # |
2 | # TODO: Complete buildrequires | |
3 | # | |
e9cd28d7 | 4 | %define snap 227 |
4b15ee2e | 5 | Summary: Fully customisable dock-like window navigator for GNOME |
8d99cf7e | 6 | Summary(pl.UTF-8): W pełni konfigurowalny dokowy nawigator okien dla GNOME |
4b15ee2e | 7 | Name: avant-window-navigator |
e9cd28d7 | 8 | Version: 0.1.1.%{snap} |
9 | Release: 1 | |
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 | |
e9cd28d7 | 14 | # Source0-md5: d0e8b5bb67eaa6c7158558c2ec47fa7b |
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 | ||
e9cd28d7 | 44 | %package devel |
45 | Summary: Headers for avant window manager | |
46 | Group: Development/Libraries | |
47 | Requires: %{name} = %{version} | |
48 | ||
49 | %description devel | |
50 | Headers for avant window manager. | |
51 | ||
4b15ee2e | 52 | %prep |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %{__intltoolize} | |
57 | %{__libtoolize} | |
58 | %{__aclocal} | |
4b15ee2e | 59 | %{__autoconf} |
60 | %{__autoheader} | |
61 | %{__automake} | |
4b15ee2e | 62 | %configure \ |
63 | --disable-schemas-install | |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT \ | |
71 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
72 | ||
2b9d21a2 PZ |
73 | mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,} |
74 | mv $RPM_BUILD_ROOT%{_datadir}/locale/el{_GR,} | |
5a7b7690 | 75 | mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,} |
2b9d21a2 PZ |
76 | mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,} |
77 | mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,} | |
78 | ||
4b15ee2e | 79 | %find_lang %{name} --with-gnome --all-name |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post | |
85 | %scrollkeeper_update_post | |
dc82ecd7 | 86 | #%%gconf_schema_install %{name}.schemas |
4b15ee2e | 87 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor |
2ca8cb15 | 88 | /sbin/ldconfig |
4b15ee2e | 89 | |
90 | %preun | |
2ca8cb15 | 91 | %gconf_schema_uninstall switcher.schemas trash.schemas |
4b15ee2e | 92 | |
93 | %postun | |
94 | %scrollkeeper_update_postun | |
95 | gtk-update-icon-cache -qf %{_datadir}/icons/hicolor | |
2ca8cb15 | 96 | /sbin/ldconfig |
4b15ee2e | 97 | |
98 | %files -f %{name}.lang | |
99 | %defattr(644,root,root,755) | |
100 | %doc AUTHORS ChangeLog NEWS README | |
2ca8cb15 PZ |
101 | %{_sysconfdir}/gconf/schemas/switcher.schemas |
102 | %{_sysconfdir}/gconf/schemas/trash.schemas | |
103 | %attr(755,root,root) %{_bindir}/avant-applets | |
2b9d21a2 | 104 | %attr(755,root,root) %{_bindir}/avant-launchers |
4b15ee2e | 105 | %attr(755,root,root) %{_bindir}/avant-preferences |
106 | %attr(755,root,root) %{_bindir}/avant-window-navigator | |
2ca8cb15 | 107 | %attr(755,root,root) %{_bindir}/awn-applet-activation |
a7d0dc21 | 108 | %attr(755,root,root) %{_libdir}/*.so.*.*.* |
2ca8cb15 PZ |
109 | %dir %{_libdir}/awn |
110 | %dir %{_libdir}/awn/applets | |
111 | %{_libdir}/awn/applets/*.desktop | |
112 | %dir %{_libdir}/awn/applets/switcher | |
113 | %attr(755,root,root) %{_libdir}/awn/applets/switcher/switcher.so | |
114 | %dir %{_libdir}/awn/applets/trash | |
115 | %attr(755,root,root) %{_libdir}/awn/applets/trash/trash.so | |
e9cd28d7 | 116 | %dir %{_libdir}/awn/applets/notification |
117 | %attr(755,root,root) %{_libdir}/awn/applets/notification/notification-area.so | |
118 | %dir %{_libdir}/awn/applets/separator | |
119 | %attr(755,root,root) %{_libdir}/awn/applets/separator/separator.so | |
2ca8cb15 | 120 | %{_libdir}/awn/applets/trash/trashapplet.glade |
a7d0dc21 JB |
121 | %dir %{_datadir}/avant-window-navigator |
122 | %dir %{_datadir}/avant-window-navigator/active | |
123 | %{_datadir}/avant-window-navigator/active/*.png | |
124 | %{_datadir}/avant-window-navigator/*.png | |
125 | %{_datadir}/avant-window-navigator/*.svg | |
126 | %{_datadir}/avant-window-navigator/*.glade | |
127 | %{_desktopdir}/avant-preferences.desktop | |
128 | %{_desktopdir}/avant-window-navigator.desktop | |
e9cd28d7 | 129 | |
130 | %files devel | |
131 | %dir %{_includedir}/libawn | |
132 | %{_includedir}/libawn/awn-applet-gconf.h | |
133 | %{_includedir}/libawn/awn-applet.h | |
134 | %{_includedir}/libawn/awn-defines.h | |
135 | %{_libdir}/libawn.la | |
136 | %{_pkgconfigdir}/awn.pc |