SUNWgnome-a11y-mousetweaks.spec revision 19142
10139N/A#
10139N/A# spec file for package SUNWgnome-a11y-mousetweaks
10139N/A#
12218N/A# includes module(s): mousetweaks
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner liyuan
10139N/A#
10139N/A# We have removed mousetweaks from our builds since it is GPLv3.
10139N/A# For now, leave in the following comment so that our ARC scripts
13260N/A# recognize that we are not shipping this module starting with
10139N/A# the 2.24 release. When we re-integrate this package, remove
10139N/A# the following line:
10139N/A# PACKAGE NOT INCLUDED IN GNOME UMBRELLA ARC
10139N/A#
13260N/A
10142N/A%include Solaris.inc
12773N/A%use mousetweaks = mousetweaks.spec
12773N/A
12773N/AName: SUNWgnome-a11y-mousetweaks
10139N/ALicense: GPL v3
10139N/AIPS_package_name: gnome/accessibility/mousetweaks
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Universal Access
10139N/ASummary: provided mouse accessibility enhancements
10139N/AVersion: %{mousetweaks.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-applets
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWgnome-a11y-libs
10139N/ARequires: SUNWdbus-glib
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: %{name}-root
10139N/A
10139N/ABuildRequires: SUNWlibgnome-keyring
10139N/ABuildRequires: SUNWgnome-keyring
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-a11y-libs-devel
10139N/ABuildRequires: SUNWdbus-glib-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-doc-utils
10139N/ABuildRequires: SUNWgtk-doc
10142N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: gnome/accessibility/mousetweaks/l10n
10139N/ASummary: %{summary} - l10n content
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: %{name}
10139N/A%endif
11288N/A
12773N/A%prep
12773N/Arm -rf %name-%version
12773N/Amkdir %name-%version
12773N/A%mousetweaks.prep -d %name-%version
12773N/Acd %{_builddir}/%name-%version
11288N/Agzcat %SOURCE0 | tar xf -
11288N/A
11288N/A%build
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A
10139N/A%mousetweaks.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%mousetweaks.install -d %name-%version
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%if %build_l10n
10139N/A%else
11092N/A# REMOVE l10n FILES
11092N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
10139N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%defattr(-,root,bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/*
10139N/A%dir %attr(0755, root, sys) %{_datadir}
10139N/A%{_datadir}/mousetweaks
10139N/A%doc -d mousetweaks-%{mousetweaks.version} README AUTHORS
10139N/A%doc(bzip2) -d mousetweaks-%{mousetweaks.version} COPYING.GPL COPYING.FDL NEWS ChangeLog src/mt-pidfile.c
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%dir %attr (0755, root, bin) %{_datadir}/gnome/help
13258N/A%{_datadir}/gnome/help/*
13260N/A%{_datadir}/omf/mousetweaks/*
13260N/A%dir %attr(0755, root, bin) %{_mandir}
13260N/A%dir %attr(0755, root, bin) %{_mandir}/man1
13258N/A%{_mandir}/man1/*
13258N/A
12574N/A
12574N/A%if %build_l10n
12574N/A%files l10n
12451N/A%defattr (-, root, bin)
12451N/A%dir %attr (0755, root, sys) %{_datadir}
12451N/A%attr (-, root, other) %{_datadir}/locale
12369N/A%endif
12369N/A
12369N/A%files root
12279N/A%defattr (-, root, sys)
12279N/A%attr (0755, root, sys) %dir %{_sysconfdir}
12279N/A%{_sysconfdir}/gconf/schemas/mousetweaks.schemas
12189N/A%{_sysconfdir}/gconf/schemas/pointer-capture-applet.schemas
12189N/A
12189N/A%changelog
12071N/A* Fri Apr 3 2009 - laca@sun.com
12071N/A- use desktop-cache instead of postrun
12071N/A* Thu Mar 05 2009 - brian.cameron@sun.com
12022N/A- Change SUNWdbus-bindings to SUNWdbus-glib.
12022N/A* Thu Oct 30 2008 - yue.wang@sun.com
12022N/A- Remove the original manpages, and add new manpages.
11922N/A* Thu Oct 30 2008 - li.yuan@sun.com
11922N/A- Add copyright information.
11922N/A* Fri Sep 05 2008 - christian.kelly@sun.com
11819N/A- Fixed %files, added /usr/share/omf/mousetweaks dir.
11819N/A* Thu Jun 12 2008 - li.yuan@sun.com
11819N/A- Add missing dependency on the %{name}-root pacakge.
11416N/A* Mon Mar 31 2008 - li.yuan@sun.com
11416N/A- Add copyright file
11416N/A* Mon Feb 04 2008 Li Yuan <li.yuan@sun.com>
11333N/A- Remove mfversion patch and use autoconf/automake to avoid
11333N/A build errors. Remove some unnecessary script.
11333N/A* Tue Jan 29 2008 Li Yuan <li.yuan@sun.com>
11288N/A- Initial version.
11288N/A