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