rpms/avant-window-navigator/F-7 avant-window-navigator.spec, NONE, 1.1

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Sun Oct 28 23:47:12 UTC 2007


Author: sindrepb

Update of /cvs/pkgs/rpms/avant-window-navigator/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17341

Added Files:
	avant-window-navigator.spec 
Log Message:
new release


--- NEW FILE avant-window-navigator.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name:           avant-window-navigator
Version:        0.2
Release:        1%{?dist}
Summary:        Fully customisable dock-like window navigator for GNOME

Group:          User Interface/Desktops
License:        GPL
URL:            http://code.google.com/p/avant-window-navigator/
Source0:        https://launchpad.net/awn/0.2/0.2/+download/%{name}-%{version}.tar
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libwnck-devel, pygtk2-devel, GConf2-devel
BuildRequires:  gnome-common, startup-notification-devel
BuildRequires:  gnome-desktop-devel libgnome-devel gnome-vfs2-devel dbus-glib-devel libXdamage-devel libXcomposite-devel gnome-python2
BuildRequires:  gettext, intltool
BuildRequires:  desktop-file-utils

Requires:       gnome-python2-gconf, gnome-python2-gnomedesktop
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.

%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.

%package python
Summary:    Fully customisable dock-like window navigator for GNOME
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description python
This package includes python files for development AWT applets by python.

%prep
%setup -q


%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
find ${RPM_BUILD_ROOT} -name '*.la' | xargs rm

%find_lang %{name}

desktop-file-install --vendor fedora --delete-original  \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications   \
        --remove-category Application \
        $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop

%pre
#if [ "$1" -gt 1 ]; then
#    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
#    gconftool-2 --makefile-uninstall-rule \
#      %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
#fi

%post
#export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
#gconftool-2 --makefile-install-rule \
#  %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :

%preun
#if [ "$1" -eq 0 ]; then
#    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
#    gconftool-2 --makefile-uninstall-rule \
#      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
#fi

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/*
%{_libdir}/libawn*.so.*
%{_libdir}/awn
# %config(noreplace) %{_sysconfdir}/gconf/schemas/avant-window-navigator.schemas
%{_datadir}/applications/*
%{_datadir}/avant-window-navigator


%files devel
%defattr(-,root,root,-)
%{_includedir}/libawn
%{_libdir}/libawn*.so
%{_libdir}/pkgconfig/*.pc

%files python
%defattr(-,root,root,-)
%{python_sitearch}/awn/

%changelog
* Wed Oct 21 2007 Huang Peng <phuang at 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





More information about the fedora-extras-commits mailing list