]>
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 |
d79bfd4e | 4 | Version: 0.2 |
e9cd28d7 | 5 | Release: 1 |
4b15ee2e | 6 | License: GPL |
7 | Group: X11/Applications | |
d79bfd4e | 8 | Source0: https://launchpad.net/awn/0.2/0.2/+download/avant-window-navigator-0.2.tar |
9 | # Source0-md5: ca6e741c833ca99a5dc4a8ad1d024147 | |
087c8349 | 10 | URL: https://launchpad.net/awn |
4b15ee2e | 11 | BuildRequires: GConf2-devel >= 2.14.0 |
12 | BuildRequires: autoconf | |
d8b76de0 JB |
13 | BuildRequires: automake >= 1:1.8 |
14 | BuildRequires: dbus-glib-devel >= 0.30 | |
4b15ee2e | 15 | BuildRequires: gettext-devel |
d8b76de0 | 16 | BuildRequires: gnome-desktop-devel >= 2.0 |
4b15ee2e | 17 | BuildRequires: gnome-doc-utils >= 0.7.1 |
d8b76de0 | 18 | BuildRequires: gnome-vfs2-devel >= 2.0 |
4b15ee2e | 19 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
d8b76de0 | 20 | BuildRequires: intltool >= 0.34 |
4b15ee2e | 21 | BuildRequires: libglade2-devel >= 1:2.6.0 |
22 | BuildRequires: libtool | |
d8b76de0 | 23 | BuildRequires: libwnck-devel >= 2.0 |
4b15ee2e | 24 | BuildRequires: pkgconfig |
d8b76de0 | 25 | BuildRequires: python-devel >= 2.3.5 |
d79bfd4e | 26 | BuildRequires: python-gnome-devel |
d8b76de0 JB |
27 | BuildRequires: python-pycairo-devel >= 1.0.2 |
28 | BuildRequires: python-pygtk-devel >= 2:2.8.0 | |
29 | BuildRequires: rpm-pythonprov | |
74ef2f3d | 30 | BuildRequires: rpmbuild(macros) >= 1.311 |
d8b76de0 JB |
31 | BuildRequires: xorg-lib-libXcomposite-devel |
32 | BuildRequires: xorg-lib-libXdamage-devel | |
33 | BuildRequires: xorg-lib-libXrender-devel | |
a7d0dc21 | 34 | Requires(post,postun): /sbin/ldconfig |
4b15ee2e | 35 | Requires(post,postun): gtk+2 >= 2:2.10.0 |
74ef2f3d | 36 | Requires(post,postun): hicolor-icon-theme |
d8b76de0 JB |
37 | Requires: python-pycairo >= 1.0.2 |
38 | Requires: python-pygtk-gtk >= 2:2.8.0 | |
4b15ee2e | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
8d99cf7e | 42 | Avant Window Navigator (Awn) is a dock-like bar which sits at the |
4b15ee2e | 43 | bottom of the screen (in all its composited-goodness) tracking open |
44 | windows. | |
45 | ||
8d99cf7e JB |
46 | %description -l pl.UTF-8 |
47 | Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na | |
48 | dole ekranu śledzący otwarte okna. | |
49 | ||
e9cd28d7 | 50 | %package devel |
d8b76de0 JB |
51 | Summary: Headers for avant window navigator library |
52 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nawigatora okien avant | |
e9cd28d7 | 53 | Group: Development/Libraries |
2ac15b53 | 54 | Requires: %{name} = %{version}-%{release} |
d8b76de0 JB |
55 | Requires: GConf2-devel >= 2.14.0 |
56 | Requires: dbus-glib-devel >= 0.30 | |
57 | Requires: gnome-desktop-devel >= 2.0 | |
58 | Requires: gnome-vfs2-devel >= 2.0 | |
59 | Requires: gtk+2-devel >= 2:2.10.0 | |
60 | Requires: libglade2-devel >= 1:2.6.0 | |
61 | Requires: libwnck-devel >= 2.0 | |
62 | Requires: xorg-lib-libXcomposite-devel | |
63 | Requires: xorg-lib-libXdamage-devel | |
64 | Requires: xorg-lib-libXrender-devel | |
e9cd28d7 | 65 | |
66 | %description devel | |
d8b76de0 | 67 | Headers for avant window navigator library. |
2ac15b53 JB |
68 | |
69 | %description devel -l pl.UTF-8 | |
d8b76de0 JB |
70 | Pliki nagłówkowe biblioteki nawigatora okien avant. |
71 | ||
72 | %package static | |
73 | Summary: Static avant window navigator library | |
74 | Summary(pl.UTF-8): Statyczna biblioteka nawigatora okien avant | |
75 | Group: Development/Libraries | |
76 | Requires: %{name}-devel = %{version}-%{release} | |
77 | ||
78 | %description static | |
79 | Static avant window navigator library. | |
80 | ||
81 | %description static -l pl.UTF-8 | |
82 | Statyczna biblioteka nawigatora okien avant. | |
e9cd28d7 | 83 | |
4b15ee2e | 84 | %prep |
d79bfd4e | 85 | %setup -q |
4b15ee2e | 86 | |
87 | %build | |
88 | %{__intltoolize} | |
89 | %{__libtoolize} | |
90 | %{__aclocal} | |
4b15ee2e | 91 | %{__autoconf} |
92 | %{__autoheader} | |
93 | %{__automake} | |
d8b76de0 JB |
94 | %configure |
95 | ||
4b15ee2e | 96 | %{__make} |
97 | ||
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
101 | %{__make} install \ | |
d8b76de0 | 102 | DESTDIR=$RPM_BUILD_ROOT |
4b15ee2e | 103 | |
d8b76de0 JB |
104 | # there are more complete de,fi,fr,it,ru,nb already |
105 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,fi_FI,fr_FR,it_IT,ru_RU,no_NO} | |
2b9d21a2 | 106 | |
d8b76de0 JB |
107 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.{la,a} |
108 | %py_postclean | |
74ef2f3d | 109 | |
4b15ee2e | 110 | %find_lang %{name} --with-gnome --all-name |
111 | ||
112 | %clean | |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
115 | %post | |
2ca8cb15 | 116 | /sbin/ldconfig |
74ef2f3d | 117 | %update_icon_cache hicolor |
4b15ee2e | 118 | |
4b15ee2e | 119 | %postun |
2ca8cb15 | 120 | /sbin/ldconfig |
d8b76de0 | 121 | %update_icon_cache hicolor |
4b15ee2e | 122 | |
123 | %files -f %{name}.lang | |
124 | %defattr(644,root,root,755) | |
125 | %doc AUTHORS ChangeLog NEWS README | |
4b15ee2e | 126 | %attr(755,root,root) %{_bindir}/avant-window-navigator |
2ca8cb15 | 127 | %attr(755,root,root) %{_bindir}/awn-applet-activation |
087c8349 | 128 | %attr(755,root,root) %{_bindir}/awn-manager |
74ef2f3d | 129 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* |
d8b76de0 | 130 | %attr(755,root,root) %ghost %{_libdir}/libawn.so.0 |
2ca8cb15 PZ |
131 | %dir %{_libdir}/awn |
132 | %dir %{_libdir}/awn/applets | |
133 | %{_libdir}/awn/applets/*.desktop | |
087c8349 | 134 | %{_datadir}/avant-window-navigator |
135 | %{_desktopdir}/awn-manager.desktop | |
a7d0dc21 | 136 | %{_desktopdir}/avant-window-navigator.desktop |
087c8349 | 137 | %dir %{py_sitedir}/awn |
138 | %{py_sitedir}/awn/*.py[co] | |
74ef2f3d | 139 | %attr(755,root,root) %{py_sitedir}/awn/awn.so |
e9cd28d7 | 140 | |
141 | %files devel | |
2ac15b53 JB |
142 | %defattr(644,root,root,755) |
143 | %attr(755,root,root) %{_libdir}/libawn.so | |
144 | %{_libdir}/libawn.la | |
087c8349 | 145 | %{_includedir}/libawn |
e9cd28d7 | 146 | %{_pkgconfigdir}/awn.pc |
d8b76de0 JB |
147 | |
148 | %files static | |
149 | %defattr(644,root,root,755) | |
150 | %{_libdir}/libawn.a |