rpms/awn-extras-applets/devel awn-extras-applets.spec,1.13,1.14
Sindre Pedersen Bjørdal
sindrepb at fedoraproject.org
Thu Apr 2 11:47:26 UTC 2009
Author: sindrepb
Update of /cvs/pkgs/rpms/awn-extras-applets/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20970
Modified Files:
awn-extras-applets.spec
Log Message:
new upstream release, fixes
Index: awn-extras-applets.spec
===================================================================
RCS file: /cvs/pkgs/rpms/awn-extras-applets/devel/awn-extras-applets.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- awn-extras-applets.spec 24 Feb 2009 03:45:11 -0000 1.13
+++ awn-extras-applets.spec 2 Apr 2009 11:46:55 -0000 1.14
@@ -1,8 +1,9 @@
%{!?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: awn-extras-applets
-Version: 0.2.6
-Release: 9%{?dist}
+Version: 0.3.2.1
+Release: 1%{?dist}
Summary: Extras applets for avant window navigator
Group: User Interface/Desktops
@@ -11,7 +12,7 @@
Source0: https://edge.launchpad.net/awn-extras/0.2/%{version}/+download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: avant-window-navigator-devel >= 0.2.6
+BuildRequires: avant-window-navigator-devel >= 0.3.2
BuildRequires: libwnck-devel
BuildRequires: libglade2-devel
BuildRequires: gnome-menus-devel
@@ -25,15 +26,16 @@
BuildRequires: libsexy-devel
BuildRequires: libnotify-devel
BuildRequires: perl(XML::Parser)
-BuildRequires: ed
+#BuildRequires: ed
BuildRequires: pycairo-devel
BuildRequires: pygtk2-devel
BuildRequires: vte-devel
BuildRequires: libXcomposite-devel
BuildRequires: libtool
BuildRequires: intltool
+BuildRequires: gettext
-Requires: avant-window-navigator >= 0.2.6
+Requires: avant-window-navigator >= 0.3.2
Requires: gnome-python2-gnome
Requires: gnome-python2-gnomedesktop
Requires: gnome-python2-gnomevfs
@@ -54,21 +56,31 @@
Requires(post): GConf2
Requires(preun): GConf2
-Patch0: awn-extras-applets-0.2.6.configure.patch
+#Patch0: awn-extras-applets-0.2.6.configure.patch
%description
awn-extras-applets includes extras applets of Avant Window Navigator (Awn).
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
%prep
%setup -q
-%patch0 -p1
+#%patch0 -p1
#for f in `find -name '*.py'`; do
# head -n 1 $f | grep python && echo -e '1d\nwq' | ed $f
#done
%build
-./autogen.sh --disable-pymod-checks
+#./autogen.sh --disable-pymod-checks
%configure --disable-static --disable-pymod-checks
make %{?_smp_mflags}
@@ -84,11 +96,10 @@
# 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}
+%find_lang %{name}
%pre
-SCHEMAS="awn-notification-daemon awn-terminal places switcher awnsystemmonitor filebrowser shinyswitcher trash"
+SCHEMAS="arss awn-notification-daemon awnsystemmonitor awnterm cairo-clock DesktopManager digitalClock file-browser-launcher filebrowser places pynot-rgba pynot shinyswitcher to-do trash"
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for name in ${SCHEMAS}; do
@@ -98,15 +109,20 @@
fi
%post
-SCHEMAS="awn-notification-daemon awn-terminal places switcher awnsystemmonitor filebrowser shinyswitcher trash"
+SCHEMAS="arss awn-notification-daemon awnsystemmonitor awnterm cairo-clock DesktopManager digitalClock file-browser-launcher filebrowser places pynot-rgba pynot shinyswitcher to-do trash"
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for name in ${SCHEMAS}; do
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/${name}.schemas > /dev/null || :
done
+/sbin/ldconfig
+
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
%preun
-SCHEMAS="awn-notification-daemon awn-terminal places switcher awnsystemmonitor filebrowser shinyswitcher trash"
+SCHEMAS="arss awn-notification-daemon awnsystemmonitor awnterm cairo-clock DesktopManager digitalClock file-browser-launcher filebrowser places pynot-rgba pynot shinyswitcher to-do trash"
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for name in ${SCHEMAS}; do
@@ -115,28 +131,52 @@
done
fi
+%postun
+/sbin/ldconfig
+
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(-,root,root,-)
-%doc COPYING
+%doc ChangeLog COPYING README
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
-%{_bindir}/affinity-preferences
-%{_libdir}/libawn-extras.so*
-%{python_sitelib}/awn/extras/*
-%dir %{python_sitelib}/awn/extras
-%{_includedir}/libawn-extras
-
-%{_libdir}/awn/applets/*
-
-%{_datadir}/icons
-%{_datadir}/avant-window-navigator/applets/icons
-%{_datadir}/avant-window-navigator/defs/awn_extras.defs
-%dir %{_datadir}/awn-extras-applets
-%{_datadir}/awn-extras-applets/*
+%{_libdir}/libawn-extras.so.*
+%{_libdir}/awn
+%{python_sitearch}/awn/extras
+%{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/avant-window-navigator/applets/*
+%{_datadir}/avant-window-navigator/defs/*
+
+%files devel
+%defattr(-,root,root,-)
+%doc COPYING
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*
+
+
%changelog
+* Tue Apr 02 2009 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 0.3.2.1-1
+- New upstream release
+- Add devel package
+- Update schemas lists
+- Enable translations shebang
+- Add gnome-icon-cache scriplet
+- Add shared library scriplet
+- clean up files list
+- Use python_sitearch, not sitelib as package is arch.
+
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list