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