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