]>
Commit | Line | Data |
---|---|---|
4b15ee2e | 1 | Summary: Fully customisable dock-like window navigator for GNOME |
8d99cf7e | 2 | Summary(pl.UTF-8): W pełni konfigurowalny dokowy nawigator okien dla GNOME |
4b15ee2e | 3 | Name: avant-window-navigator |
b5a987ee | 4 | Version: 0.4.0 |
e71a4a3d | 5 | Release: 7 |
a59c9aaf | 6 | License: GPL v2+ |
4b15ee2e | 7 | Group: X11/Applications |
b5a987ee ER |
8 | Source0: http://launchpad.net/awn/0.4/%{version}/+download/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 03654b45dd95cbb83fa7e112bd00523c | |
a59c9aaf | 10 | URL: https://launchpad.net/awn/ |
4b15ee2e | 11 | BuildRequires: GConf2-devel >= 2.14.0 |
12 | BuildRequires: autoconf | |
d8b76de0 | 13 | BuildRequires: automake >= 1:1.8 |
b5a987ee | 14 | BuildRequires: dbus-glib-devel >= 0.80 |
46e0f429 | 15 | BuildRequires: docbook-dtd412-xml |
37f65597 | 16 | BuildRequires: gettext-tools |
3cbe8d18 | 17 | BuildRequires: glib2-devel >= 1:2.16.0 |
d8b76de0 | 18 | BuildRequires: gnome-desktop-devel >= 2.0 |
d8b76de0 | 19 | BuildRequires: gnome-vfs2-devel >= 2.0 |
b5a987ee | 20 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
3cbe8d18 | 21 | BuildRequires: gtk-doc >= 1.4 |
d8b76de0 | 22 | BuildRequires: intltool >= 0.34 |
b5a987ee | 23 | BuildRequires: libdesktop-agnostic-devel >= 0.3.9 |
3cbe8d18 | 24 | BuildRequires: libgnome-devel |
4b15ee2e | 25 | BuildRequires: libtool |
b5a987ee | 26 | BuildRequires: libwnck2-devel >= 2.22 |
4b15ee2e | 27 | BuildRequires: pkgconfig |
d8b76de0 | 28 | BuildRequires: python-devel >= 2.3.5 |
d8b76de0 | 29 | BuildRequires: python-pycairo-devel >= 1.0.2 |
b5a987ee | 30 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
d8b76de0 | 31 | BuildRequires: rpm-pythonprov |
74ef2f3d | 32 | BuildRequires: rpmbuild(macros) >= 1.311 |
b5a987ee | 33 | BuildRequires: vala >= 0.7.10 |
d8b76de0 JB |
34 | BuildRequires: xorg-lib-libXcomposite-devel |
35 | BuildRequires: xorg-lib-libXdamage-devel | |
36 | BuildRequires: xorg-lib-libXrender-devel | |
a7d0dc21 | 37 | Requires(post,postun): /sbin/ldconfig |
f771329d | 38 | Requires(post,postun): gtk-update-icon-cache |
74ef2f3d | 39 | Requires(post,postun): hicolor-icon-theme |
3e2fd541 | 40 | Requires(post,preun): GConf2 |
f93e9673 | 41 | Requires: python-desktop-agnostic |
d8b76de0 | 42 | Requires: python-pycairo >= 1.0.2 |
b5a987ee ER |
43 | Requires: python-pygtk-glade >= 2:2.12.0 |
44 | Requires: python-pygtk-gtk >= 2:2.12.0 | |
cab5394c | 45 | Requires: python-pyxdg |
4b15ee2e | 46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47 | ||
48 | %description | |
8d99cf7e | 49 | Avant Window Navigator (Awn) is a dock-like bar which sits at the |
4b15ee2e | 50 | bottom of the screen (in all its composited-goodness) tracking open |
51 | windows. | |
52 | ||
8d99cf7e JB |
53 | %description -l pl.UTF-8 |
54 | Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na | |
55 | dole ekranu śledzący otwarte okna. | |
56 | ||
e9cd28d7 | 57 | %package devel |
d8b76de0 JB |
58 | Summary: Headers for avant window navigator library |
59 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nawigatora okien avant | |
3cbe8d18 | 60 | Group: X11/Development/Libraries |
2ac15b53 | 61 | Requires: %{name} = %{version}-%{release} |
d8b76de0 JB |
62 | Requires: GConf2-devel >= 2.14.0 |
63 | Requires: dbus-glib-devel >= 0.30 | |
3cbe8d18 | 64 | Requires: glib2-devel >= 1:2.16.0 |
d8b76de0 JB |
65 | Requires: gnome-desktop-devel >= 2.0 |
66 | Requires: gnome-vfs2-devel >= 2.0 | |
67 | Requires: gtk+2-devel >= 2:2.10.0 | |
e9cd28d7 | 68 | |
69 | %description devel | |
d8b76de0 | 70 | Headers for avant window navigator library. |
2ac15b53 JB |
71 | |
72 | %description devel -l pl.UTF-8 | |
d8b76de0 JB |
73 | Pliki nagłówkowe biblioteki nawigatora okien avant. |
74 | ||
75 | %package static | |
76 | Summary: Static avant window navigator library | |
77 | Summary(pl.UTF-8): Statyczna biblioteka nawigatora okien avant | |
3cbe8d18 | 78 | Group: X11/Development/Libraries |
d8b76de0 JB |
79 | Requires: %{name}-devel = %{version}-%{release} |
80 | ||
81 | %description static | |
82 | Static avant window navigator library. | |
83 | ||
84 | %description static -l pl.UTF-8 | |
85 | Statyczna biblioteka nawigatora okien avant. | |
e9cd28d7 | 86 | |
3cbe8d18 MB |
87 | %package apidocs |
88 | Summary: libawn library API documentation | |
89 | Summary(pl.UTF-8): Dokumentacja API biblioteki libawn | |
90 | Group: Documentation | |
91 | Requires: gtk-doc-common | |
a64dca19 | 92 | BuildArch: noarch |
3cbe8d18 MB |
93 | |
94 | %description apidocs | |
95 | libawn library API documentation. | |
96 | ||
97 | %description apidocs -l pl.UTF-8 | |
98 | Dokumentacja API biblioteki libawn. | |
99 | ||
100 | %package -n vala-avant-window-navigator | |
101 | Summary: Vala bindings to libawn library | |
102 | Summary(pl.UTF-8): Wiązania Vala do biblioteki libawn | |
103 | Group: Development/Libraries | |
88511bfa | 104 | BuildArch: noarch |
3cbe8d18 MB |
105 | |
106 | %description -n vala-avant-window-navigator | |
107 | Vala bindings to libawn library. | |
108 | ||
109 | %description -n vala-avant-window-navigator -l pl.UTF-8 | |
110 | Wiązania Vala do biblioteki libawn. | |
111 | ||
4b15ee2e | 112 | %prep |
d79bfd4e | 113 | %setup -q |
4b15ee2e | 114 | |
115 | %build | |
116 | %{__intltoolize} | |
117 | %{__libtoolize} | |
b5a987ee | 118 | %{__aclocal} -I m4 |
4b15ee2e | 119 | %{__autoconf} |
120 | %{__autoheader} | |
121 | %{__automake} | |
3cbe8d18 MB |
122 | %configure \ |
123 | --enable-gtk-doc \ | |
3e2fd541 | 124 | --with-vala \ |
3cbe8d18 MB |
125 | --with-html-dir=%{_gtkdocdir} \ |
126 | --disable-pymod-checks \ | |
d8b76de0 | 127 | |
4b15ee2e | 128 | %{__make} |
129 | ||
130 | %install | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | ||
133 | %{__make} install \ | |
3e2fd541 | 134 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ |
d8b76de0 | 135 | DESTDIR=$RPM_BUILD_ROOT |
4b15ee2e | 136 | |
1d2c55b1 JB |
137 | # not supported by glibc (as for 2.13-3) |
138 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/jv | |
737b9b7f | 139 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/kab |
2b9d21a2 | 140 | |
2b435931 | 141 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
b5a987ee | 142 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/awn/applets/*/*.{a,la} |
e4ce864b | 143 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.{la,a} |
b5a987ee | 144 | |
d8b76de0 | 145 | %py_postclean |
74ef2f3d | 146 | |
3cbe8d18 | 147 | %find_lang %{name} |
e4ce864b | 148 | |
4b15ee2e | 149 | %clean |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
152 | %post | |
2ca8cb15 | 153 | /sbin/ldconfig |
74ef2f3d | 154 | %update_icon_cache hicolor |
3e2fd541 ER |
155 | %gconf_schema_install avant-window-navigator.schemas |
156 | %gconf_schema_install awn-applet-taskmanager.schemas | |
157 | ||
158 | %preun | |
159 | %gconf_schema_uninstall avant-window-navigator.schemas | |
160 | %gconf_schema_uninstall awn-applet-taskmanager.schemas | |
4b15ee2e | 161 | |
3cbe8d18 MB |
162 | %postun |
163 | /sbin/ldconfig | |
164 | %update_icon_cache hicolor | |
e4ce864b | 165 | |
4b15ee2e | 166 | %files -f %{name}.lang |
167 | %defattr(644,root,root,755) | |
3cbe8d18 | 168 | %doc AUTHORS ChangeLog NEWS README TODO |
3e2fd541 ER |
169 | %{_sysconfdir}/gconf/schemas/avant-window-navigator.schemas |
170 | %{_sysconfdir}/gconf/schemas/awn-applet-taskmanager.schemas | |
4b15ee2e | 171 | %attr(755,root,root) %{_bindir}/avant-window-navigator |
b5a987ee ER |
172 | %attr(755,root,root) %{_bindir}/awn-applet |
173 | %attr(755,root,root) %{_bindir}/awn-settings | |
74ef2f3d | 174 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* |
b5a987ee ER |
175 | %attr(755,root,root) %ghost %{_libdir}/libawn.so.1 |
176 | %dir %{_libdir}/awn | |
177 | %dir %{_libdir}/awn/applets | |
178 | %dir %{_libdir}/awn/applets/expander | |
179 | %{_libdir}/awn/applets/expander/expander.so | |
180 | %dir %{_libdir}/awn/applets/quick-prefs | |
181 | %{_libdir}/awn/applets/quick-prefs/quick-prefs.so | |
182 | %dir %{_libdir}/awn/applets/separator | |
183 | %{_libdir}/awn/applets/separator/separator.so | |
184 | %dir %{_libdir}/awn/applets/taskmanager | |
185 | %{_libdir}/awn/applets/taskmanager/taskmanager.so | |
087c8349 | 186 | %{_datadir}/avant-window-navigator |
b5a987ee | 187 | |
0efb09a1 MB |
188 | %dir %{py_sitedir}/awn |
189 | %{py_sitedir}/awn/__init__.py[co] | |
190 | %attr(755,root,root) %{py_sitedir}/awn/awn.so | |
b5a987ee ER |
191 | %{_desktopdir}/awn-settings.desktop |
192 | %{_desktopdir}/avant-window-navigator.desktop | |
193 | %{_iconsdir}/hicolor/*/apps/awn-settings.* | |
194 | %{_iconsdir}/hicolor/*/apps/avant-window-navigator.* | |
195 | %{_iconsdir}/hicolor/scalable/apps/awn-window-fallback.svg | |
196 | %{_iconsdir}/hicolor/scalable/categories/awn-plugins.svg | |
e9cd28d7 | 197 | |
198 | %files devel | |
2ac15b53 JB |
199 | %defattr(644,root,root,755) |
200 | %attr(755,root,root) %{_libdir}/libawn.so | |
b5a987ee | 201 | %{_datadir}/pygtk/2.0/defs/awn.defs |
087c8349 | 202 | %{_includedir}/libawn |
e9cd28d7 | 203 | %{_pkgconfigdir}/awn.pc |
d8b76de0 JB |
204 | |
205 | %files static | |
206 | %defattr(644,root,root,755) | |
207 | %{_libdir}/libawn.a | |
3cbe8d18 MB |
208 | |
209 | %files apidocs | |
210 | %defattr(644,root,root,755) | |
211 | %{_gtkdocdir}/libawn | |
212 | ||
213 | %files -n vala-avant-window-navigator | |
214 | %defattr(644,root,root,755) | |
215 | %{_datadir}/vala/vapi/awn.deps | |
216 | %{_datadir}/vala/vapi/awn.vapi |