]>
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 |
737b9b7f | 5 | Release: 2 |
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 |
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 |
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 |
d8b76de0 | 40 | Requires: python-pycairo >= 1.0.2 |
b5a987ee ER |
41 | Requires: python-pygtk-glade >= 2:2.12.0 |
42 | Requires: python-pygtk-gtk >= 2:2.12.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 |
4b15ee2e | 110 | |
111 | %build | |
112 | %{__intltoolize} | |
113 | %{__libtoolize} | |
b5a987ee | 114 | %{__aclocal} -I m4 |
4b15ee2e | 115 | %{__autoconf} |
116 | %{__autoheader} | |
117 | %{__automake} | |
3cbe8d18 MB |
118 | %configure \ |
119 | --enable-gtk-doc \ | |
120 | --with-html-dir=%{_gtkdocdir} \ | |
121 | --disable-pymod-checks \ | |
122 | --disable-schemas-install | |
d8b76de0 | 123 | |
4b15ee2e | 124 | %{__make} |
125 | ||
126 | %install | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %{__make} install \ | |
d8b76de0 | 130 | DESTDIR=$RPM_BUILD_ROOT |
4b15ee2e | 131 | |
1d2c55b1 JB |
132 | # not supported by glibc (as for 2.13-3) |
133 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/jv | |
737b9b7f | 134 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/kab |
2b9d21a2 | 135 | |
2b435931 | 136 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
b5a987ee | 137 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/awn/applets/*/*.{a,la} |
e4ce864b | 138 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.{la,a} |
b5a987ee | 139 | |
d8b76de0 | 140 | %py_postclean |
74ef2f3d | 141 | |
3cbe8d18 | 142 | %find_lang %{name} |
e4ce864b | 143 | |
4b15ee2e | 144 | %clean |
145 | rm -rf $RPM_BUILD_ROOT | |
146 | ||
147 | %post | |
2ca8cb15 | 148 | /sbin/ldconfig |
74ef2f3d | 149 | %update_icon_cache hicolor |
4b15ee2e | 150 | |
3cbe8d18 MB |
151 | %postun |
152 | /sbin/ldconfig | |
153 | %update_icon_cache hicolor | |
e4ce864b | 154 | |
4b15ee2e | 155 | %files -f %{name}.lang |
156 | %defattr(644,root,root,755) | |
3cbe8d18 | 157 | %doc AUTHORS ChangeLog NEWS README TODO |
4b15ee2e | 158 | %attr(755,root,root) %{_bindir}/avant-window-navigator |
b5a987ee ER |
159 | %attr(755,root,root) %{_bindir}/awn-applet |
160 | %attr(755,root,root) %{_bindir}/awn-settings | |
74ef2f3d | 161 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* |
b5a987ee ER |
162 | %attr(755,root,root) %ghost %{_libdir}/libawn.so.1 |
163 | %dir %{_libdir}/awn | |
164 | %dir %{_libdir}/awn/applets | |
165 | %dir %{_libdir}/awn/applets/expander | |
166 | %{_libdir}/awn/applets/expander/expander.so | |
167 | %dir %{_libdir}/awn/applets/quick-prefs | |
168 | %{_libdir}/awn/applets/quick-prefs/quick-prefs.so | |
169 | %dir %{_libdir}/awn/applets/separator | |
170 | %{_libdir}/awn/applets/separator/separator.so | |
171 | %dir %{_libdir}/awn/applets/taskmanager | |
172 | %{_libdir}/awn/applets/taskmanager/taskmanager.so | |
087c8349 | 173 | %{_datadir}/avant-window-navigator |
b5a987ee | 174 | |
0efb09a1 MB |
175 | %dir %{py_sitedir}/awn |
176 | %{py_sitedir}/awn/__init__.py[co] | |
177 | %attr(755,root,root) %{py_sitedir}/awn/awn.so | |
b5a987ee ER |
178 | %{_desktopdir}/awn-settings.desktop |
179 | %{_desktopdir}/avant-window-navigator.desktop | |
180 | %{_iconsdir}/hicolor/*/apps/awn-settings.* | |
181 | %{_iconsdir}/hicolor/*/apps/avant-window-navigator.* | |
182 | %{_iconsdir}/hicolor/scalable/apps/awn-window-fallback.svg | |
183 | %{_iconsdir}/hicolor/scalable/categories/awn-plugins.svg | |
e9cd28d7 | 184 | |
185 | %files devel | |
2ac15b53 JB |
186 | %defattr(644,root,root,755) |
187 | %attr(755,root,root) %{_libdir}/libawn.so | |
b5a987ee | 188 | %{_datadir}/pygtk/2.0/defs/awn.defs |
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 |