]>
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.3.2 | |
5 | Release: 2 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: https://launchpad.net/awn/0.2/%{version}/+download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: e884bfaf9e3f4a7a99373227d7a24b5f | |
10 | Patch0: %{name}-python-platform.patch | |
11 | URL: https://launchpad.net/awn/ | |
12 | BuildRequires: GConf2-devel >= 2.14.0 | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake >= 1:1.8 | |
15 | BuildRequires: dbus-glib-devel >= 0.30 | |
16 | BuildRequires: gettext-devel | |
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.10.0 | |
21 | BuildRequires: gtk-doc >= 1.4 | |
22 | BuildRequires: intltool >= 0.34 | |
23 | BuildRequires: libgnome-devel | |
24 | BuildRequires: libtool | |
25 | BuildRequires: libwnck-devel >= 2.20.0 | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: python-devel >= 2.3.5 | |
28 | BuildRequires: python-pycairo-devel >= 1.0.2 | |
29 | BuildRequires: python-pygtk-devel >= 2:2.10.0 | |
30 | BuildRequires: rpm-pythonprov | |
31 | BuildRequires: rpmbuild(macros) >= 1.311 | |
32 | BuildRequires: vala >= 0.5.4 | |
33 | BuildRequires: xorg-lib-libXcomposite-devel | |
34 | BuildRequires: xorg-lib-libXdamage-devel | |
35 | BuildRequires: xorg-lib-libXrender-devel | |
36 | Requires(post,postun): /sbin/ldconfig | |
37 | Requires(post,postun): gtk+2 >= 2:2.10.0 | |
38 | Requires(post,postun): hicolor-icon-theme | |
39 | Requires(post,preun): GConf2 | |
40 | Requires: python-pycairo >= 1.0.2 | |
41 | Requires: python-pygtk-glade >= 2:2.10.0 | |
42 | Requires: python-pygtk-gtk >= 2:2.10.0 | |
43 | Requires: python-pyxdg | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
47 | Avant Window Navigator (Awn) is a dock-like bar which sits at the | |
48 | bottom of the screen (in all its composited-goodness) tracking open | |
49 | windows. | |
50 | ||
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 | ||
55 | %package devel | |
56 | Summary: Headers for avant window navigator library | |
57 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nawigatora okien avant | |
58 | Group: X11/Development/Libraries | |
59 | Requires: %{name} = %{version}-%{release} | |
60 | Requires: GConf2-devel >= 2.14.0 | |
61 | Requires: dbus-glib-devel >= 0.30 | |
62 | Requires: glib2-devel >= 1:2.16.0 | |
63 | Requires: gnome-desktop-devel >= 2.0 | |
64 | Requires: gnome-vfs2-devel >= 2.0 | |
65 | Requires: gtk+2-devel >= 2:2.10.0 | |
66 | ||
67 | %description devel | |
68 | Headers for avant window navigator library. | |
69 | ||
70 | %description devel -l pl.UTF-8 | |
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 | |
76 | Group: X11/Development/Libraries | |
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. | |
84 | ||
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 | ||
108 | %prep | |
109 | %setup -q | |
110 | %patch0 -p1 | |
111 | ||
112 | %build | |
113 | %{__intltoolize} | |
114 | %{__libtoolize} | |
115 | %{__aclocal} | |
116 | %{__autoconf} | |
117 | %{__autoheader} | |
118 | %{__automake} | |
119 | %configure \ | |
120 | --enable-gtk-doc \ | |
121 | --with-html-dir=%{_gtkdocdir} \ | |
122 | --disable-pymod-checks \ | |
123 | --disable-schemas-install | |
124 | ||
125 | %{__make} | |
126 | ||
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
129 | ||
130 | %{__make} install \ | |
131 | DESTDIR=$RPM_BUILD_ROOT | |
132 | ||
133 | # unsupported(?) | |
134 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{bs,jv,ku,lv,mk,nds} | |
135 | ||
136 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.{la,a} | |
137 | %py_postclean | |
138 | ||
139 | %find_lang %{name} | |
140 | ||
141 | %clean | |
142 | rm -rf $RPM_BUILD_ROOT | |
143 | ||
144 | %post | |
145 | /sbin/ldconfig | |
146 | %gconf_schema_install awn.schemas | |
147 | %gconf_schema_install awn-applets-shared.schemas | |
148 | %update_icon_cache hicolor | |
149 | ||
150 | %preun | |
151 | %gconf_schema_uninstall awn.schemas | |
152 | %gconf_schema_uninstall awn-applets-shared.schemas | |
153 | ||
154 | %postun | |
155 | /sbin/ldconfig | |
156 | %update_icon_cache hicolor | |
157 | ||
158 | %files -f %{name}.lang | |
159 | %defattr(644,root,root,755) | |
160 | %doc AUTHORS ChangeLog NEWS README TODO | |
161 | %{_sysconfdir}/gconf/schemas/awn.schemas | |
162 | %{_sysconfdir}/gconf/schemas/awn-applets-shared.schemas | |
163 | %attr(755,root,root) %{_bindir}/avant-window-navigator | |
164 | %attr(755,root,root) %{_bindir}/awn-autostart | |
165 | %attr(755,root,root) %{_bindir}/awn-applet-activation | |
166 | %attr(755,root,root) %{_bindir}/awn-applets-migration | |
167 | %attr(755,root,root) %{_bindir}/awn-manager | |
168 | %attr(755,root,root) %{_bindir}/awn-launcher-editor | |
169 | %attr(755,root,root) %{_bindir}/awn-schema-to-gconf | |
170 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* | |
171 | %attr(755,root,root) %ghost %{_libdir}/libawn.so.0 | |
172 | %{_datadir}/avant-window-navigator | |
173 | %{_desktopdir}/awn-manager.desktop | |
174 | %{_desktopdir}/avant-window-navigator.desktop | |
175 | %dir %{py_sitedir}/awn | |
176 | %{py_sitedir}/awn/__init__.py[co] | |
177 | %attr(755,root,root) %{py_sitedir}/awn/awn.so | |
178 | %{_iconsdir}/hicolor/24x24/apps/avant-window-navigator.png | |
179 | %{_iconsdir}/hicolor/32x32/apps/avant-window-navigator.png | |
180 | %{_iconsdir}/hicolor/48x48/apps/awn-manager.png | |
181 | %{_iconsdir}/hicolor/48x48/apps/avant-window-navigator.png | |
182 | %{_iconsdir}/hicolor/scalable/apps/awn-manager.svg | |
183 | %{_iconsdir}/hicolor/scalable/apps/avant-window-navigator.svg | |
184 | ||
185 | %files devel | |
186 | %defattr(644,root,root,755) | |
187 | %attr(755,root,root) %{_libdir}/libawn.so | |
188 | %{_libdir}/libawn.la | |
189 | %{_includedir}/libawn | |
190 | %{_pkgconfigdir}/awn.pc | |
191 | ||
192 | %files static | |
193 | %defattr(644,root,root,755) | |
194 | %{_libdir}/libawn.a | |
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 |