]> git.pld-linux.org Git - packages/avant-window-navigator.git/blame - avant-window-navigator.spec
- python files fix
[packages/avant-window-navigator.git] / avant-window-navigator.spec
CommitLineData
4b15ee2e 1#
2ac15b53 2# TODO: Complete buildrequires, -devel deps
4b15ee2e 3#
4Summary: Fully customisable dock-like window navigator for GNOME
8d99cf7e 5Summary(pl.UTF-8): W pełni konfigurowalny dokowy nawigator okien dla GNOME
4b15ee2e 6Name: avant-window-navigator
d79bfd4e 7Version: 0.2
e9cd28d7 8Release: 1
4b15ee2e 9License: GPL
10Group: X11/Applications
d79bfd4e 11Source0: https://launchpad.net/awn/0.2/0.2/+download/avant-window-navigator-0.2.tar
12# Source0-md5: ca6e741c833ca99a5dc4a8ad1d024147
087c8349 13URL: https://launchpad.net/awn
4b15ee2e 14BuildRequires: GConf2-devel >= 2.14.0
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: gettext-devel
18BuildRequires: gnome-common >= 2.12.0
ed08a58e 19BuildRequires: gnome-desktop-devel
4b15ee2e 20BuildRequires: gnome-doc-utils >= 0.7.1
21BuildRequires: gtk+2-devel >= 2:2.10.0
22BuildRequires: intltool >= 0.35
23BuildRequires: libglade2-devel >= 1:2.6.0
24BuildRequires: libtool
ed08a58e 25BuildRequires: libwnck-devel
4b15ee2e 26BuildRequires: pkgconfig
d79bfd4e 27BuildRequires: python-gnome-devel
28BuildRequires: python-pycairo-devel
74ef2f3d 29BuildRequires: rpmbuild(macros) >= 1.311
a7d0dc21 30Requires(post,postun): /sbin/ldconfig
4b15ee2e 31Requires(post,postun): gtk+2 >= 2:2.10.0
74ef2f3d 32Requires(post,postun): hicolor-icon-theme
4b15ee2e 33Requires(post,preun): GConf2 >= 2.14.0
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
8d99cf7e 37Avant Window Navigator (Awn) is a dock-like bar which sits at the
4b15ee2e 38bottom of the screen (in all its composited-goodness) tracking open
39windows.
40
8d99cf7e
JB
41%description -l pl.UTF-8
42Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na
43dole ekranu śledzący otwarte okna.
44
e9cd28d7 45%package devel
2ac15b53
JB
46Summary: Headers for avant window manager library
47Summary(pl.UTF-8): Pliki nagłówkowe biblioteki zarządcy okien avant
e9cd28d7 48Group: Development/Libraries
2ac15b53 49Requires: %{name} = %{version}-%{release}
e9cd28d7 50
51%description devel
2ac15b53
JB
52Headers for avant window manager library.
53
54%description devel -l pl.UTF-8
55Pliki 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
72rm -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
84rm -f $RPM_BUILD_ROOT%{py_sitedir}/awn/awn.la
85
4b15ee2e 86%find_lang %{name} --with-gnome --all-name
87
88%clean
89rm -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
This page took 0.106398 seconds and 4 git commands to generate.