]>
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 |
e4ce864b | 6 | Version: 0.3.2 |
7 | Release: 1 | |
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 |
e4ce864b | 11 | # Source0-md5: e884bfaf9e3f4a7a99373227d7a24b5f |
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 | |
cab5394c | 42 | Requires: python-pyxdg |
4b15ee2e | 43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
8d99cf7e | 46 | Avant Window Navigator (Awn) is a dock-like bar which sits at the |
4b15ee2e | 47 | bottom of the screen (in all its composited-goodness) tracking open |
48 | windows. | |
49 | ||
8d99cf7e JB |
50 | %description -l pl.UTF-8 |
51 | Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na | |
52 | dole ekranu śledzący otwarte okna. | |
53 | ||
e9cd28d7 | 54 | %package devel |
d8b76de0 JB |
55 | Summary: Headers for avant window navigator library |
56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nawigatora okien avant | |
e9cd28d7 | 57 | Group: Development/Libraries |
2ac15b53 | 58 | Requires: %{name} = %{version}-%{release} |
d8b76de0 JB |
59 | Requires: GConf2-devel >= 2.14.0 |
60 | Requires: dbus-glib-devel >= 0.30 | |
61 | Requires: gnome-desktop-devel >= 2.0 | |
62 | Requires: gnome-vfs2-devel >= 2.0 | |
63 | Requires: gtk+2-devel >= 2:2.10.0 | |
64 | Requires: libglade2-devel >= 1:2.6.0 | |
a59c9aaf | 65 | Requires: libwnck-devel >= 2.20.0 |
d8b76de0 JB |
66 | Requires: xorg-lib-libXcomposite-devel |
67 | Requires: xorg-lib-libXdamage-devel | |
68 | Requires: xorg-lib-libXrender-devel | |
e9cd28d7 | 69 | |
70 | %description devel | |
d8b76de0 | 71 | Headers for avant window navigator library. |
2ac15b53 JB |
72 | |
73 | %description devel -l pl.UTF-8 | |
d8b76de0 JB |
74 | Pliki nagłówkowe biblioteki nawigatora okien avant. |
75 | ||
76 | %package static | |
77 | Summary: Static avant window navigator library | |
78 | Summary(pl.UTF-8): Statyczna biblioteka nawigatora okien avant | |
79 | Group: Development/Libraries | |
80 | Requires: %{name}-devel = %{version}-%{release} | |
81 | ||
82 | %description static | |
83 | Static avant window navigator library. | |
84 | ||
85 | %description static -l pl.UTF-8 | |
86 | Statyczna biblioteka nawigatora okien avant. | |
e9cd28d7 | 87 | |
4b15ee2e | 88 | %prep |
d79bfd4e | 89 | %setup -q |
4b15ee2e | 90 | |
91 | %build | |
92 | %{__intltoolize} | |
93 | %{__libtoolize} | |
94 | %{__aclocal} | |
4b15ee2e | 95 | %{__autoconf} |
96 | %{__autoheader} | |
97 | %{__automake} | |
d8b76de0 JB |
98 | %configure |
99 | ||
4b15ee2e | 100 | %{__make} |
101 | ||
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %{__make} install \ | |
d8b76de0 | 106 | DESTDIR=$RPM_BUILD_ROOT |
4b15ee2e | 107 | |
e4ce864b | 108 | # unsupported(?) |
109 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{bs,ku,lv,mk,nds} | |
2b9d21a2 | 110 | |
e4ce864b | 111 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.{la,a} |
d8b76de0 | 112 | %py_postclean |
74ef2f3d | 113 | |
4b15ee2e | 114 | %find_lang %{name} --with-gnome --all-name |
115 | ||
e4ce864b | 116 | # move docs into proper place |
117 | %{__mv} -f $RPM_BUILD_ROOT%{_datadir}/gtk-doc $RPM_BUILD_ROOT%{_docdir} | |
118 | # delete the rest | |
119 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/html/ | |
120 | ||
4b15ee2e | 121 | %clean |
122 | rm -rf $RPM_BUILD_ROOT | |
123 | ||
124 | %post | |
2ca8cb15 | 125 | /sbin/ldconfig |
e4ce864b | 126 | %gconf_schema_install awn.schemas |
127 | %gconf_schema_install awn-applets-shared.schemas | |
74ef2f3d | 128 | %update_icon_cache hicolor |
4b15ee2e | 129 | |
4b15ee2e | 130 | %postun |
2ca8cb15 | 131 | /sbin/ldconfig |
d8b76de0 | 132 | %update_icon_cache hicolor |
4b15ee2e | 133 | |
e4ce864b | 134 | %preun |
135 | %gconf_schema_uninstall awn.schemas | |
136 | %gconf_schema_uninstall awn-applets-shared.schemas | |
137 | ||
138 | ||
4b15ee2e | 139 | %files -f %{name}.lang |
140 | %defattr(644,root,root,755) | |
e4ce864b | 141 | %doc AUTHORS ChangeLog README TODO doc/reference/html/* |
539d73dc | 142 | %{_sysconfdir}/gconf/schemas/awn.schemas |
e4ce864b | 143 | %{_sysconfdir}/gconf/schemas/awn-applets-shared.schemas |
4b15ee2e | 144 | %attr(755,root,root) %{_bindir}/avant-window-navigator |
e4ce864b | 145 | %attr(755,root,root) %{_bindir}/awn-autostart |
2ca8cb15 | 146 | %attr(755,root,root) %{_bindir}/awn-applet-activation |
e4ce864b | 147 | %attr(755,root,root) %{_bindir}/awn-applets-migration |
087c8349 | 148 | %attr(755,root,root) %{_bindir}/awn-manager |
539d73dc | 149 | %attr(755,root,root) %{_bindir}/awn-launcher-editor |
150 | %attr(755,root,root) %{_bindir}/awn-schema-to-gconf | |
74ef2f3d | 151 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* |
d8b76de0 | 152 | %attr(755,root,root) %ghost %{_libdir}/libawn.so.0 |
087c8349 | 153 | %{_datadir}/avant-window-navigator |
154 | %{_desktopdir}/awn-manager.desktop | |
a7d0dc21 | 155 | %{_desktopdir}/avant-window-navigator.desktop |
e4ce864b | 156 | %dir %{py_libdir}/site-packages/awn |
539d73dc | 157 | %{py_sitescriptdir}/awn/__init__.py[co] |
e4ce864b | 158 | %attr(755,root,root) %{py_libdir}/site-packages/awn/awn.so |
159 | %{_iconsdir}/hicolor/24x24/apps/avant-window-navigator.png | |
160 | %{_iconsdir}/hicolor/32x32/apps/avant-window-navigator.png | |
539d73dc | 161 | %{_iconsdir}/hicolor/48x48/apps/awn-manager.png |
e4ce864b | 162 | %{_iconsdir}/hicolor/48x48/apps/avant-window-navigator.png |
539d73dc | 163 | %{_iconsdir}/hicolor/scalable/apps/awn-manager.svg |
e4ce864b | 164 | %{_iconsdir}/hicolor/scalable/apps/avant-window-navigator.svg |
e9cd28d7 | 165 | |
166 | %files devel | |
2ac15b53 JB |
167 | %defattr(644,root,root,755) |
168 | %attr(755,root,root) %{_libdir}/libawn.so | |
169 | %{_libdir}/libawn.la | |
087c8349 | 170 | %{_includedir}/libawn |
e9cd28d7 | 171 | %{_pkgconfigdir}/awn.pc |
d8b76de0 JB |
172 | |
173 | %files static | |
174 | %defattr(644,root,root,755) | |
175 | %{_libdir}/libawn.a |