]>
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 |
e4ce864b | 4 | Version: 0.3.2 |
5 | Release: 1 | |
a59c9aaf | 6 | License: GPL v2+ |
4b15ee2e | 7 | Group: X11/Applications |
539d73dc | 8 | Source0: https://launchpad.net/awn/0.2/%{version}/+download/%{name}-%{version}.tar.gz |
e4ce864b | 9 | # Source0-md5: e884bfaf9e3f4a7a99373227d7a24b5f |
0efb09a1 | 10 | Patch0: %{name}-python-platform.patch |
a59c9aaf | 11 | URL: https://launchpad.net/awn/ |
4b15ee2e | 12 | BuildRequires: GConf2-devel >= 2.14.0 |
13 | BuildRequires: autoconf | |
d8b76de0 JB |
14 | BuildRequires: automake >= 1:1.8 |
15 | BuildRequires: dbus-glib-devel >= 0.30 | |
4b15ee2e | 16 | BuildRequires: gettext-devel |
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 |
4b15ee2e | 20 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
3cbe8d18 | 21 | BuildRequires: gtk-doc >= 1.4 |
d8b76de0 | 22 | BuildRequires: intltool >= 0.34 |
3cbe8d18 | 23 | BuildRequires: libgnome-devel |
4b15ee2e | 24 | BuildRequires: libtool |
a59c9aaf | 25 | BuildRequires: libwnck-devel >= 2.20.0 |
4b15ee2e | 26 | BuildRequires: pkgconfig |
d8b76de0 | 27 | BuildRequires: python-devel >= 2.3.5 |
d8b76de0 | 28 | BuildRequires: python-pycairo-devel >= 1.0.2 |
3cbe8d18 | 29 | BuildRequires: python-pygtk-devel >= 2:2.10.0 |
d8b76de0 | 30 | BuildRequires: rpm-pythonprov |
74ef2f3d | 31 | BuildRequires: rpmbuild(macros) >= 1.311 |
3cbe8d18 | 32 | BuildRequires: vala >= 0.5.4 |
d8b76de0 JB |
33 | BuildRequires: xorg-lib-libXcomposite-devel |
34 | BuildRequires: xorg-lib-libXdamage-devel | |
35 | BuildRequires: xorg-lib-libXrender-devel | |
a7d0dc21 | 36 | Requires(post,postun): /sbin/ldconfig |
4b15ee2e | 37 | Requires(post,postun): gtk+2 >= 2:2.10.0 |
74ef2f3d | 38 | Requires(post,postun): hicolor-icon-theme |
3cbe8d18 | 39 | Requires(post,preun): GConf2 |
d8b76de0 | 40 | Requires: python-pycairo >= 1.0.2 |
3cbe8d18 MB |
41 | Requires: python-pygtk-glade >= 2:2.10.0 |
42 | Requires: python-pygtk-gtk >= 2:2.10.0 | |
cab5394c | 43 | Requires: python-pyxdg |
4b15ee2e | 44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
8d99cf7e | 47 | Avant Window Navigator (Awn) is a dock-like bar which sits at the |
4b15ee2e | 48 | bottom of the screen (in all its composited-goodness) tracking open |
49 | windows. | |
50 | ||
8d99cf7e JB |
51 | %description -l pl.UTF-8 |
52 | Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na | |
53 | dole ekranu śledzący otwarte okna. | |
54 | ||
e9cd28d7 | 55 | %package devel |
d8b76de0 JB |
56 | Summary: Headers for avant window navigator library |
57 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nawigatora okien avant | |
3cbe8d18 | 58 | Group: X11/Development/Libraries |
2ac15b53 | 59 | Requires: %{name} = %{version}-%{release} |
d8b76de0 JB |
60 | Requires: GConf2-devel >= 2.14.0 |
61 | Requires: dbus-glib-devel >= 0.30 | |
3cbe8d18 | 62 | Requires: glib2-devel >= 1:2.16.0 |
d8b76de0 JB |
63 | Requires: gnome-desktop-devel >= 2.0 |
64 | Requires: gnome-vfs2-devel >= 2.0 | |
65 | Requires: gtk+2-devel >= 2:2.10.0 | |
e9cd28d7 | 66 | |
67 | %description devel | |
d8b76de0 | 68 | Headers for avant window navigator library. |
2ac15b53 JB |
69 | |
70 | %description devel -l pl.UTF-8 | |
d8b76de0 JB |
71 | Pliki nagłówkowe biblioteki nawigatora okien avant. |
72 | ||
73 | %package static | |
74 | Summary: Static avant window navigator library | |
75 | Summary(pl.UTF-8): Statyczna biblioteka nawigatora okien avant | |
3cbe8d18 | 76 | Group: X11/Development/Libraries |
d8b76de0 JB |
77 | Requires: %{name}-devel = %{version}-%{release} |
78 | ||
79 | %description static | |
80 | Static avant window navigator library. | |
81 | ||
82 | %description static -l pl.UTF-8 | |
83 | Statyczna biblioteka nawigatora okien avant. | |
e9cd28d7 | 84 | |
3cbe8d18 MB |
85 | %package apidocs |
86 | Summary: libawn library API documentation | |
87 | Summary(pl.UTF-8): Dokumentacja API biblioteki libawn | |
88 | Group: Documentation | |
89 | Requires: gtk-doc-common | |
90 | ||
91 | %description apidocs | |
92 | libawn library API documentation. | |
93 | ||
94 | %description apidocs -l pl.UTF-8 | |
95 | Dokumentacja API biblioteki libawn. | |
96 | ||
97 | %package -n vala-avant-window-navigator | |
98 | Summary: Vala bindings to libawn library | |
99 | Summary(pl.UTF-8): Wiązania Vala do biblioteki libawn | |
100 | Group: Development/Libraries | |
101 | ||
102 | %description -n vala-avant-window-navigator | |
103 | Vala bindings to libawn library. | |
104 | ||
105 | %description -n vala-avant-window-navigator -l pl.UTF-8 | |
106 | Wiązania Vala do biblioteki libawn. | |
107 | ||
4b15ee2e | 108 | %prep |
d79bfd4e | 109 | %setup -q |
0efb09a1 | 110 | %patch0 -p1 |
4b15ee2e | 111 | |
112 | %build | |
113 | %{__intltoolize} | |
114 | %{__libtoolize} | |
115 | %{__aclocal} | |
4b15ee2e | 116 | %{__autoconf} |
117 | %{__autoheader} | |
118 | %{__automake} | |
3cbe8d18 MB |
119 | %configure \ |
120 | --enable-gtk-doc \ | |
121 | --with-html-dir=%{_gtkdocdir} \ | |
122 | --disable-pymod-checks \ | |
123 | --disable-schemas-install | |
d8b76de0 | 124 | |
4b15ee2e | 125 | %{__make} |
126 | ||
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
129 | ||
130 | %{__make} install \ | |
d8b76de0 | 131 | DESTDIR=$RPM_BUILD_ROOT |
4b15ee2e | 132 | |
e4ce864b | 133 | # unsupported(?) |
82101916 | 134 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{bs,jv,ku,lv,mk,nds} |
2b9d21a2 | 135 | |
e4ce864b | 136 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.{la,a} |
d8b76de0 | 137 | %py_postclean |
74ef2f3d | 138 | |
3cbe8d18 | 139 | %find_lang %{name} |
e4ce864b | 140 | |
4b15ee2e | 141 | %clean |
142 | rm -rf $RPM_BUILD_ROOT | |
143 | ||
144 | %post | |
2ca8cb15 | 145 | /sbin/ldconfig |
e4ce864b | 146 | %gconf_schema_install awn.schemas |
147 | %gconf_schema_install awn-applets-shared.schemas | |
74ef2f3d | 148 | %update_icon_cache hicolor |
4b15ee2e | 149 | |
e4ce864b | 150 | %preun |
151 | %gconf_schema_uninstall awn.schemas | |
152 | %gconf_schema_uninstall awn-applets-shared.schemas | |
153 | ||
3cbe8d18 MB |
154 | %postun |
155 | /sbin/ldconfig | |
156 | %update_icon_cache hicolor | |
e4ce864b | 157 | |
4b15ee2e | 158 | %files -f %{name}.lang |
159 | %defattr(644,root,root,755) | |
3cbe8d18 | 160 | %doc AUTHORS ChangeLog NEWS README TODO |
539d73dc | 161 | %{_sysconfdir}/gconf/schemas/awn.schemas |
e4ce864b | 162 | %{_sysconfdir}/gconf/schemas/awn-applets-shared.schemas |
4b15ee2e | 163 | %attr(755,root,root) %{_bindir}/avant-window-navigator |
e4ce864b | 164 | %attr(755,root,root) %{_bindir}/awn-autostart |
2ca8cb15 | 165 | %attr(755,root,root) %{_bindir}/awn-applet-activation |
e4ce864b | 166 | %attr(755,root,root) %{_bindir}/awn-applets-migration |
087c8349 | 167 | %attr(755,root,root) %{_bindir}/awn-manager |
539d73dc | 168 | %attr(755,root,root) %{_bindir}/awn-launcher-editor |
169 | %attr(755,root,root) %{_bindir}/awn-schema-to-gconf | |
74ef2f3d | 170 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* |
d8b76de0 | 171 | %attr(755,root,root) %ghost %{_libdir}/libawn.so.0 |
087c8349 | 172 | %{_datadir}/avant-window-navigator |
173 | %{_desktopdir}/awn-manager.desktop | |
a7d0dc21 | 174 | %{_desktopdir}/avant-window-navigator.desktop |
0efb09a1 MB |
175 | %dir %{py_sitedir}/awn |
176 | %{py_sitedir}/awn/__init__.py[co] | |
177 | %attr(755,root,root) %{py_sitedir}/awn/awn.so | |
e4ce864b | 178 | %{_iconsdir}/hicolor/24x24/apps/avant-window-navigator.png |
179 | %{_iconsdir}/hicolor/32x32/apps/avant-window-navigator.png | |
539d73dc | 180 | %{_iconsdir}/hicolor/48x48/apps/awn-manager.png |
e4ce864b | 181 | %{_iconsdir}/hicolor/48x48/apps/avant-window-navigator.png |
539d73dc | 182 | %{_iconsdir}/hicolor/scalable/apps/awn-manager.svg |
e4ce864b | 183 | %{_iconsdir}/hicolor/scalable/apps/avant-window-navigator.svg |
e9cd28d7 | 184 | |
185 | %files devel | |
2ac15b53 JB |
186 | %defattr(644,root,root,755) |
187 | %attr(755,root,root) %{_libdir}/libawn.so | |
188 | %{_libdir}/libawn.la | |
087c8349 | 189 | %{_includedir}/libawn |
e9cd28d7 | 190 | %{_pkgconfigdir}/awn.pc |
d8b76de0 JB |
191 | |
192 | %files static | |
193 | %defattr(644,root,root,755) | |
194 | %{_libdir}/libawn.a | |
3cbe8d18 MB |
195 | |
196 | %files apidocs | |
197 | %defattr(644,root,root,755) | |
198 | %{_gtkdocdir}/libawn | |
199 | ||
200 | %files -n vala-avant-window-navigator | |
201 | %defattr(644,root,root,755) | |
202 | %{_datadir}/vala/vapi/awn.deps | |
203 | %{_datadir}/vala/vapi/awn.vapi |