123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- # -*- coding: utf-8-unix -*-
- %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
- Name: avant-window-navigator
- Version: 0.2.6
- Release: 5%{?_dist_release}
- Summary: Fully customisable dock-like window navigator for GNOME
- Summary(ja): Gnome + Compiz 向けの Dock 機能を兼ね備えたウィンドウナビゲータ
- Group: User Interface/Desktops
- #libawn is LGPLv2+, rest is GPLv2+
- License: GPLv2+ and LGPLv2+
- URL: https://launchpad.net/awn
- Source0: https://launchpad.net/awn/0.2/0.2/+download/%{name}-%{version}.tar.gz
- #fixes schemas file
- Patch0: avant-window-navigator-schemas.patch
- #fixes issue where awn only appears on one desktop, #469032
- Patch1: avant-window-navigator-0.2.6-sticky.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: libwnck-devel
- BuildRequires: dbus-glib-devel
- BuildRequires: gnome-common
- BuildRequires: pygtk2-devel
- BuildRequires: GConf2-devel
- BuildRequires: startup-notification-devel
- BuildRequires: gnome-desktop-devel >= 2.26.0
- BuildRequires: libgnome-devel
- BuildRequires: gnome-vfs2-devel
- BuildRequires: gnome-python
- BuildRequires: libXdamage-devel libXcomposite-devel libXres-devel
- BuildRequires: gettext, intltool
- BuildRequires: desktop-file-utils
- BuildRequires: pyxdg
- BuildRequires: pycairo-devel
- Requires: gnome-python-gnomedesktop, pyxdg
- #Requires: gnome-python-gconf
- Requires(pre): GConf2
- Requires(post): GConf2
- Requires(preun): GConf2
- %description
- Avant Window Navgator (Awn) is a dock-like bar which sits at the bottom of
- the screen (in all its composited-goodness) tracking open windows.
- %description -l ja
- Avant Window Navgator (Awn) は、
- Gnome + Compiz 向けの Dock 機能を兼ね備えたウィンドウナビゲータバーです。
- 起動しているアプリケーションウィンドウを追跡し、
- 画面下部に並べます。
- %package devel
- Summary: Fully customisable dock-like window navigator for GNOME
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- This package includes all header files and library of AWN for development.
- %prep
- %setup -q
- %patch0 -p1
- %patch1 -p0
- #fix permissions
- chmod 0644 $RPM_BUILD_DIR/%{name}-%{version}/src/xutils.h
- chmod 0644 $RPM_BUILD_DIR/%{name}-%{version}/src/xutils.c
- chmod 0644 $RPM_BUILD_DIR/%{name}-%{version}/src/inlinepixbufs.h
- %build
- %configure \
- --disable-static \
- --disable-schemas \
- ;
- #make %{?_smp_mflags}
- %__make
- %install
- rm -rf $RPM_BUILD_ROOT
- export GCONF_DISABLE_MAKEFILE_ _INSTALL=1
- make install DESTDIR=$RPM_BUILD_ROOT
- find ${RPM_BUILD_ROOT} -name '*.la' | xargs rm
- %find_lang %{name}
- desktop-file-install --vendor vine --delete-original \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- --remove-category Application \
- $RPM_BUILD_ROOT%{_datadir}/applications/avant-window-navigator.desktop
- desktop-file-install --vendor vine --delete-original \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- --remove-category Application \
- $RPM_BUILD_ROOT%{_datadir}/applications/awn-manager.desktop
- %pre
- if [ "$1" -gt 1 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/awn.schemas >/dev/null || :
- fi
- %post
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/awn.schemas > /dev/null || :
- /sbin/ldconfig
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- fi
- %preun
- if [ "$1" -eq 0 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/awn.schemas > /dev/null || :
- fi
- %postun
- /sbin/ldconfig
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- fi
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING COPYING.LIB ChangeLog README
- %doc %{_datadir}/gtk-doc/html/libawn
- %{_bindir}/*
- %{_libdir}/libawn*.so.*
- %{_libdir}/awn
- %config(noreplace) %{_sysconfdir}/gconf/schemas/awn.schemas
- %{_datadir}/applications/*
- %{_datadir}/avant-window-navigator
- %{_datadir}/icons/hicolor/*/apps/awn-manager*
- %{python_sitelib}/awn
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/libawn
- %{_libdir}/libawn*.so
- %{_libdir}/pkgconfig/*.pc
- %changelog
- * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.6-5
- - rebuilt with python-2.6
- * Mon Jul 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.6-4
- - added Summary(ja) and %%description -l ja
- * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.6-3
- - rebuild with gnome-desktop-2.26.0
- * Mon Feb 16 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.2.6-2
- - corrected *.desktop
- * Mon Feb 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.2.6-1
- - initial build
- * Sat Dec 20 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-14
- - Add missing libXres buildrequires
- * Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.6-13
- - Rebuild for Python 2.6
- * Thu Dec 04 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-12
- - Add patch to fix metacity sticky bug, #469032
- * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.6-11
- - Rebuild for Python 2.6
- * Fri Nov 28 2008 Caol叩n McNamara <caolanm@redhat.com - 0.2.6-10
- - rebuild for dependencies
- * Sun Aug 03 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-9
- - Add patch to fix empty string in schemas file. #457683
- * Sat Mar 22 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-8
- - Add missing pyxdg requires
- * Tue Mar 20 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-6
- - Incorparate the python package in main, #438411
- * Mon Mar 17 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-3
- - Fix python package
- * Mon Mar 17 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-2
- - Add missing pyxdg build depenency
- * Mon Mar 17 2008 Sindre Pedersen Bj淡rdal <sindrepb@fedoraproject.org> - 0.2.6-1
- - New release
- - Re-enable gconf scriplets
- - Add missing scriplets
- - Update license
- * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.1-3
- - Autorebuild for GCC 4.3
- * Thu Nov 04 2007 Sindre Pedersen Bj淡rdal <foolish[AT]guezz.net> - 0.2.1-2
- - New Release
- * Wed Oct 21 2007 Huang Peng <phuang@redhat.com> - 0.2-1
- - Update to 0.2
- * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.1.1-4
- - Rebuild for selinux ppc32 issue.
- * Tue Jun 05 2007 Sindre Pedersen Bj淡rdal <foolish[AT]guezz.net> - 0.1.1-3
- - Own %%{_datadir}/avant-window-navigator
- * Tue Jun 05 2007 Sindre Pedersen Bj淡rdal <foolish[AT]guezz.net> - 0.1.1-2
- - Add missing BRs
- - Fix gconf scriplets
- * Thu May 01 2007 Sindre Pedersen Bj淡rdal <foolish[AT]guezz.net> - 0.1.1-1
- - Initial build
|