rpms/avant-window-navigator/F-8 avant-window-navigator.spec, 1.2, 1.3 sources, 1.2, 1.3

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Sun Oct 21 17:08:51 UTC 2007


Author: sindrepb

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

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


Index: avant-window-navigator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/avant-window-navigator/F-8/avant-window-navigator.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- avant-window-navigator.spec	29 Aug 2007 05:41:40 -0000	1.2
+++ avant-window-navigator.spec	21 Oct 2007 17:08:17 -0000	1.3
@@ -1,20 +1,23 @@
+%{!?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.1.1
-Release:        4%{?dist}
+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:        http://avant-window-navigator.googlecode.com/files/%{name}-%{version}.tar.gz
+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
+Requires:       gnome-python2-gconf, gnome-python2-gnomedesktop
 Requires(pre):  GConf2
 Requires(post): GConf2
 Requires(preun): GConf2
@@ -23,12 +26,28 @@
 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
+%configure --disable-static
 make %{?_smp_mflags}
 
 
@@ -36,6 +55,7 @@
 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}
 
@@ -45,23 +65,23 @@
         $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
+#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 || :
+#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
+#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
@@ -71,12 +91,27 @@
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog README
 %{_bindir}/*
-%config(noreplace) %{_sysconfdir}/gconf/schemas/avant-window-navigator.schemas
+%{_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.
 
@@ -87,3 +122,4 @@
 - Fix gconf scriplets
 * Thu May 01 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.1.1-1
 - Initial build
+


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/avant-window-navigator/F-8/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	18 Jul 2007 17:18:54 -0000	1.2
+++ sources	21 Oct 2007 17:08:17 -0000	1.3
@@ -1 +1 @@
-8de5ca6b7ea707ae5298526c98799abf  avant-window-navigator-0.1.1.tar.gz
+ca6e741c833ca99a5dc4a8ad1d024147  avant-window-navigator-0.2.tar




More information about the fedora-extras-commits mailing list