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