rpms/awn-extras-applets/F-8 awn-extras-applets.spec, NONE, 1.1 sources, 1.1, 1.2

Huang Peng (phuang) fedora-extras-commits at redhat.com
Thu Nov 8 00:09:24 UTC 2007


Author: phuang

Update of /cvs/pkgs/rpms/awn-extras-applets/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3125

Modified Files:
	sources 
Added Files:
	awn-extras-applets.spec 
Log Message:
Initial version.



--- NEW FILE awn-extras-applets.spec ---
Name:           awn-extras-applets
Version:        0.2.1
Release:        1%{?dist}
Summary:        Extras applets for avant window navigator

Group:          User Interface/Desktops
License:        GPLv2+
URL:            https://launchpad.net/awn-extras/
Source0:        https://launchpad.net/awn-extras/0.2.1/0.2.1/+download/%{name}-%{version}.tar
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  avant-window-navigator-devel
BuildRequires:  libwnck-devel
BuildRequires:  libglade2-devel
BuildRequires:  gnome-menus-devel
BuildRequires:  gnome-desktop-devel
BuildRequires:  librsvg2-devel
BuildRequires:  libgtop2-devel
BuildRequires:  gtk2-devel
BuildRequires:  dbus-devel
BuildRequires:  dbus-glib-devel
BuildRequires:  GConf2-devel
BuildRequires:  libsexy-devel
BuildRequires:  libnotify-devel
BuildRequires:  perl(XML::Parser)
BuildRequires:  dos2unix
BuildRequires:  ed

Requires:       avant-window-navigator
Requires:       avant-window-navigator-python
Requires:       gnome-python2-libwnck
Requires:       gnome-python2-rsvg
Requires:       python-alsaaudio
Requires:       acpi
Requires:       dbus-python

Requires(pre):  GConf2
Requires(post): GConf2
Requires(preun): GConf2

%description
awn-extras-applets includes extras applets of Avant Window Navigator (Awn).

%prep
%setup -q
dos2unix src/BlingSwitcher/PySwitcher.py
dos2unix src/gmail/gmail.py
for f in `find -name '*.py'`; do
  head -n 1 $f | grep python && echo -e '1d\nwq' | ed $f 
done

%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

# resolve conflict
mv ${RPM_BUILD_ROOT}/etc/gconf/schemas/notification-daemon.schemas \
  ${RPM_BUILD_ROOT}/etc/gconf/schemas/awn-notification-daemon.schemas

# This project does not have translations
# %find_lang %{name}

%pre
if [ "$1" -gt 1 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    for name in awnsystemmonitor filebrowser awn-notification-daemon switcher trash; do
      gconftool-2 --makefile-uninstall-rule \
        %{_sysconfdir}/gconf/schemas/${name}.schemas >/dev/null || :
    done
fi

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for name in awnsystemmonitor filebrowser awn-notification-daemon switcher trash; do
  gconftool-2 --makefile-install-rule \
    %{_sysconfdir}/gconf/schemas/${name}.schemas > /dev/null || :
done

%preun
if [ "$1" -eq 0 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    for name in awnsystemmonitor filebrowser awn-notification-daemon switcher trash; do
      gconftool-2 --makefile-uninstall-rule \
        %{_sysconfdir}/gconf/schemas/${name}.schemas > /dev/null || :
    done
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
%{_libdir}/awn/applets/*
%dir %{_datadir}/awn-extras-applets
%{_datadir}/awn-extras-applets/*

%changelog
* Tue Nov 6 2007 Huang Peng <phuang at redhat.com> - 0.2.1-1
- Initial build.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/awn-extras-applets/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Nov 2007 20:08:02 -0000	1.1
+++ sources	8 Nov 2007 00:08:52 -0000	1.2
@@ -0,0 +1 @@
+b221bd7b83beb23772dd8f4257221c89  awn-extras-applets-0.2.1.tar




More information about the fedora-extras-commits mailing list