]> git.pld-linux.org Git - packages/avant-window-navigator.git/blob - avant-window-navigator.spec
- unified somehow
[packages/avant-window-navigator.git] / avant-window-navigator.spec
1 #
2 # TODO: Complete buildrequires
3 #
4 Summary:        Fully customisable dock-like window navigator for GNOME
5 Summary(pl.UTF-8):      W pełni konfigurowalny dokowy nawigator okien dla GNOME
6 Name:           avant-window-navigator
7 %define snap 20070619
8 Version:        0.1.1
9 Release:        1.%{snap}
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
14 # Source0-md5:  97e74929b15f19b8b73edfe9db1912ef
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
21 BuildRequires:  gnome-doc-utils >= 0.7.1
22 BuildRequires:  gtk+2-devel >= 2:2.10.0
23 BuildRequires:  intltool >= 0.35
24 BuildRequires:  libglade2-devel >= 1:2.6.0
25 BuildRequires:  libtool
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpmbuild(macros) >= 1.197
28 Requires(post,postun):  /sbin/ldconfig
29 Requires(post,postun):  gtk+2 >= 2:2.10.0
30 Requires(post,preun):   GConf2 >= 2.14.0
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Avant Window Navigator (Awn) is a dock-like bar which sits at the
35 bottom of the screen (in all its composited-goodness) tracking open
36 windows.
37
38 %description -l pl.UTF-8
39 Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na
40 dole ekranu śledzący otwarte okna.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__intltoolize}
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure \
53         --disable-schemas-install
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT \
61         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
62
63 mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,}
64 mv $RPM_BUILD_ROOT%{_datadir}/locale/el{_GR,}
65 mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,}
66 mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,}
67 mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,}
68
69 %find_lang %{name} --with-gnome --all-name
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 %scrollkeeper_update_post
76 #%%gconf_schema_install %{name}.schemas
77 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
78 /sbin/ldconfig
79
80 %preun
81 %gconf_schema_uninstall switcher.schemas trash.schemas
82
83 %postun
84 %scrollkeeper_update_postun
85 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
86 /sbin/ldconfig
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README
91 %{_sysconfdir}/gconf/schemas/switcher.schemas
92 %{_sysconfdir}/gconf/schemas/trash.schemas
93 %attr(755,root,root) %{_bindir}/avant-applets
94 %attr(755,root,root) %{_bindir}/avant-launchers
95 %attr(755,root,root) %{_bindir}/avant-preferences
96 %attr(755,root,root) %{_bindir}/avant-window-navigator
97 %attr(755,root,root) %{_bindir}/awn-applet-activation
98 %attr(755,root,root) %{_libdir}/*.so.*.*.*
99 %dir %{_libdir}/awn
100 %dir %{_libdir}/awn/applets
101 %{_libdir}/awn/applets/*.desktop
102 %dir %{_libdir}/awn/applets/switcher
103 %attr(755,root,root) %{_libdir}/awn/applets/switcher/switcher.so
104 %dir %{_libdir}/awn/applets/trash
105 %attr(755,root,root) %{_libdir}/awn/applets/trash/trash.so
106 %{_libdir}/awn/applets/trash/trashapplet.glade
107 %dir %{_datadir}/avant-window-navigator
108 %dir %{_datadir}/avant-window-navigator/active
109 %{_datadir}/avant-window-navigator/active/*.png
110 %{_datadir}/avant-window-navigator/*.png
111 %{_datadir}/avant-window-navigator/*.svg
112 %{_datadir}/avant-window-navigator/*.glade
113 %{_desktopdir}/avant-preferences.desktop
114 %{_desktopdir}/avant-window-navigator.desktop
This page took 0.057378 seconds and 4 git commands to generate.