]>
Commit | Line | Data |
---|---|---|
4b15ee2e | 1 | # |
2ac15b53 | 2 | # TODO: Complete buildrequires, -devel deps |
4b15ee2e | 3 | # |
4 | Summary: Fully customisable dock-like window navigator for GNOME | |
8d99cf7e | 5 | Summary(pl.UTF-8): W pełni konfigurowalny dokowy nawigator okien dla GNOME |
4b15ee2e | 6 | Name: avant-window-navigator |
d79bfd4e | 7 | Version: 0.2 |
e9cd28d7 | 8 | Release: 1 |
4b15ee2e | 9 | License: GPL |
10 | Group: X11/Applications | |
d79bfd4e | 11 | Source0: https://launchpad.net/awn/0.2/0.2/+download/avant-window-navigator-0.2.tar |
12 | # Source0-md5: ca6e741c833ca99a5dc4a8ad1d024147 | |
087c8349 | 13 | URL: https://launchpad.net/awn |
4b15ee2e | 14 | BuildRequires: GConf2-devel >= 2.14.0 |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: gettext-devel | |
18 | BuildRequires: gnome-common >= 2.12.0 | |
ed08a58e | 19 | BuildRequires: gnome-desktop-devel |
4b15ee2e | 20 | BuildRequires: gnome-doc-utils >= 0.7.1 |
21 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
22 | BuildRequires: intltool >= 0.35 | |
23 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
24 | BuildRequires: libtool | |
ed08a58e | 25 | BuildRequires: libwnck-devel |
4b15ee2e | 26 | BuildRequires: pkgconfig |
d79bfd4e | 27 | BuildRequires: python-gnome-devel |
28 | BuildRequires: python-pycairo-devel | |
74ef2f3d | 29 | BuildRequires: rpmbuild(macros) >= 1.311 |
a7d0dc21 | 30 | Requires(post,postun): /sbin/ldconfig |
4b15ee2e | 31 | Requires(post,postun): gtk+2 >= 2:2.10.0 |
74ef2f3d | 32 | Requires(post,postun): hicolor-icon-theme |
4b15ee2e | 33 | Requires(post,preun): GConf2 >= 2.14.0 |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
8d99cf7e | 37 | Avant Window Navigator (Awn) is a dock-like bar which sits at the |
4b15ee2e | 38 | bottom of the screen (in all its composited-goodness) tracking open |
39 | windows. | |
40 | ||
8d99cf7e JB |
41 | %description -l pl.UTF-8 |
42 | Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na | |
43 | dole ekranu śledzący otwarte okna. | |
44 | ||
e9cd28d7 | 45 | %package devel |
2ac15b53 JB |
46 | Summary: Headers for avant window manager library |
47 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki zarządcy okien avant | |
e9cd28d7 | 48 | Group: Development/Libraries |
2ac15b53 | 49 | Requires: %{name} = %{version}-%{release} |
e9cd28d7 | 50 | |
51 | %description devel | |
2ac15b53 JB |
52 | Headers for avant window manager library. |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe biblioteki zarządcy okien avant. | |
e9cd28d7 | 56 | |
4b15ee2e | 57 | %prep |
d79bfd4e | 58 | %setup -q |
4b15ee2e | 59 | |
60 | %build | |
61 | %{__intltoolize} | |
62 | %{__libtoolize} | |
63 | %{__aclocal} | |
4b15ee2e | 64 | %{__autoconf} |
65 | %{__autoheader} | |
66 | %{__automake} | |
4b15ee2e | 67 | %configure \ |
68 | --disable-schemas-install | |
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %{__make} install \ | |
75 | DESTDIR=$RPM_BUILD_ROOT \ | |
76 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
77 | ||
087c8349 | 78 | #mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,} |
79 | #mv $RPM_BUILD_ROOT%{_datadir}/locale/el{_GR,} | |
80 | #mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,} | |
81 | #mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,} | |
82 | #mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,} | |
2b9d21a2 | 83 | |
74ef2f3d JB |
84 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.la |
85 | ||
4b15ee2e | 86 | %find_lang %{name} --with-gnome --all-name |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post | |
2ca8cb15 | 92 | /sbin/ldconfig |
74ef2f3d JB |
93 | #%%gconf_schema_install %{name}.schemas |
94 | %update_icon_cache hicolor | |
4b15ee2e | 95 | |
96 | %preun | |
087c8349 | 97 | #%%gconf_schema_uninstall switcher.schemas trash.schemas |
4b15ee2e | 98 | |
99 | %postun | |
74ef2f3d | 100 | %update_icon_cache hicolor |
2ca8cb15 | 101 | /sbin/ldconfig |
4b15ee2e | 102 | |
103 | %files -f %{name}.lang | |
104 | %defattr(644,root,root,755) | |
105 | %doc AUTHORS ChangeLog NEWS README | |
087c8349 | 106 | #%{_sysconfdir}/gconf/schemas/switcher.schemas |
107 | #%{_sysconfdir}/gconf/schemas/trash.schemas | |
4b15ee2e | 108 | %attr(755,root,root) %{_bindir}/avant-window-navigator |
2ca8cb15 | 109 | %attr(755,root,root) %{_bindir}/awn-applet-activation |
087c8349 | 110 | %attr(755,root,root) %{_bindir}/awn-manager |
74ef2f3d | 111 | %attr(755,root,root) %{_libdir}/libawn.so.*.*.* |
2ca8cb15 PZ |
112 | %dir %{_libdir}/awn |
113 | %dir %{_libdir}/awn/applets | |
114 | %{_libdir}/awn/applets/*.desktop | |
087c8349 | 115 | %{_datadir}/avant-window-navigator |
116 | %{_desktopdir}/awn-manager.desktop | |
a7d0dc21 | 117 | %{_desktopdir}/avant-window-navigator.desktop |
087c8349 | 118 | %dir %{py_sitedir}/awn |
119 | %{py_sitedir}/awn/*.py[co] | |
74ef2f3d | 120 | %attr(755,root,root) %{py_sitedir}/awn/awn.so |
e9cd28d7 | 121 | |
122 | %files devel | |
2ac15b53 JB |
123 | %defattr(644,root,root,755) |
124 | %attr(755,root,root) %{_libdir}/libawn.so | |
125 | %{_libdir}/libawn.la | |
087c8349 | 126 | %{_includedir}/libawn |
e9cd28d7 | 127 | %{_pkgconfigdir}/awn.pc |