SUNWgnome-text-editor.spec revision 20890
18861N/A#
18861N/A# spec file for package SUNWgnome-text-editor
18861N/A#
18861N/A# includes module(s): gedit gtksourceview
18861N/A#
18861N/A# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner jouby
18861N/A#
18861N/A%include Solaris.inc
18861N/A
18861N/A%use gedit = gedit.spec
18861N/A
18861N/AName: SUNWgnome-text-editor
18861N/AIPS_package_name: editor/gedit
18861N/AMeta(info.classification): %{classification_prefix}:Applications/Accessories,%{classification_prefix}:Development/Editors
18861N/ASummary: GNOME text editor
18861N/AVersion: %{gedit.version}
18861N/ASource: %{name}-manpages-0.1.tar.gz
19140N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/ALicense: %{gedit.license}
19142N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A
18861N/A%include default-depend.inc
18993N/A%include desktop-incorporation.inc
18861N/ARequires: library/desktop/gtk2
18993N/ARequires: library/gnome/gnome-libs
18861N/ARequires: gnome/config/gconf
18861N/ARequires: library/gnome/gnome-vfs
18861N/ARequires: library/gnome/gnome-component
18861N/ARequires: system/library/math
18861N/ARequires: library/libxml2
18861N/ARequires: runtime/python-26
18861N/ARequires: library/python-2/pygobject-26
18861N/ARequires: library/python-2/pygtk2-26
18861N/ARequires: library/python-2/pygtksourceview2-26
18861N/ARequires: library/python-2/python-gnome-desktop-26
18861N/ARequires: service/gnome/desktop-cache
18861N/ARequires: library/desktop/gtksourceview
18861N/ARequires: library/spell-checking/enchant
18861N/ABuildRequires: library/desktop/gtk2
18861N/ABuildRequires: library/libxml2
18861N/ABuildRequires: gnome/config/gconf
19142N/ABuildRequires: library/gnome/gnome-vfs
18861N/ABuildRequires: library/gnome/gnome-libs
18861N/ABuildRequires: library/gnome/gnome-component
18861N/ABuildRequires: runtime/python-26
19126N/ABuildRequires: library/python-2/pygobject-26
18861N/ABuildRequires: library/python-2/pygtk2-26
19126N/ABuildRequires: library/python-2/pygtksourceview2-26
18861N/ABuildRequires: library/python-2/python-gnome-desktop-26
19142N/ABuildRequires: library/desktop/gtksourceview
18861N/ABuildRequires: library/spell-checking/enchant
18861N/ABuildRequires: developer/gnome/gnome-doc-utils
18861N/A
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/A
18861N/A%package root
18861N/ASummary: %{summary} - / filesystem
18861N/ASUNW_BaseDir: /
18861N/A
18861N/A%package devel
18861N/ASummary: %{summary} - development files
18861N/ASUNW_BaseDir: %{_basedir}
18861N/A
18861N/A%prep
18861N/Arm -rf %name-%version
18861N/Amkdir %name-%version
18861N/A%gedit.prep -d %name-%version
18861N/Acd %{_builddir}/%name-%version
18861N/Agzcat %SOURCE0 | tar xf -
18861N/Acd %{_builddir}/%name-%version/gedit-%gedit.version
18861N/A
18861N/A%build
18861N/APKG_CONFIG_DISABLE_UNINSTALLED=
18861N/Aunset PKG_CONFIG_DISABLE_UNINSTALLED
18861N/Aexport LDFLAGS="%_ldflags -norunpath"
18861N/Aexport CFLAGS="%optflags"
18861N/Aexport LD_LIBRARY_PATH="/usr/sfw/lib:$LD_LIBRARY_PATH"
18861N/Aexport LDFLAGS="%_ldflags -L/usr/X11/lib -R /usr/X11/lib -lX11"
18861N/A%gedit.build -d %name-%version
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A%gedit.install -d %name-%version
18861N/A
18861N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
18861N/Acd %{_builddir}/%name-%version/sun-manpages
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
18861N/Achmod 0755 $RPM_BUILD_ROOT%{_datadir}/gnome/help/gedit/C/*.xml
18861N/A
18861N/Arm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
18861N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
18861N/A
18861N/Afind $RPM_BUILD_ROOT -name "*.a" -exec rm {} \;
18861N/A
18861N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%post
18861N/A%restart_fmri desktop-mime-cache gconf-cache
18861N/A
18861N/A%postun
18861N/A%restart_fmri desktop-mime-cache
18861N/A
18861N/A%files
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_bindir}
18861N/A%{_bindir}/*
18861N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%{_libdir}/gedit-2/gedit-bugreport.sh
18861N/A%{_libdir}/gedit-2/plugins/*.so*
18861N/A%{_libdir}/gedit-2/plugins/*.gedit-plugin
18861N/A%{_libdir}/gedit-2/plugins/snippets
18861N/A%{_libdir}/gedit-2/plugins/externaltools
18861N/A%{_libdir}/gedit-2/plugins/pythonconsole
18861N/A%{_libdir}/gedit-2/plugin-loaders
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%dir %attr (0755, root, other) %{_datadir}/applications
18861N/A%{_datadir}/applications/*
18861N/A%{_datadir}/gedit-2
18861N/A%{_datadir}/gtk-doc
18861N/A%dir %attr (0755, root, other) %{_datadir}/gnome
18861N/A%{_datadir}/gnome/help/gedit/C
18861N/A%{_datadir}/omf/gedit/*-C.omf
18861N/A%dir %attr(0755, root, bin) %{_mandir}
18861N/A%dir %attr(0755, root, bin) %{_mandir}/man1
18861N/A%{_mandir}/man1/*
18861N/A%doc -d gedit-%{gedit.version} AUTHORS ChangeLog MAINTAINERS NEWS README
18861N/A%doc(bzip2) -d gedit-%{gedit.version} COPYING
18861N/A%dir %attr (0755, root, other) %{_datadir}/doc
18861N/A%{_libdir}/gedit-2/plugins/quickopen/*
18861N/A
18861N/A%files l10n
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%attr (-, root, other) %{_datadir}/locale
18861N/A%dir %attr (0755, root, other) %{_datadir}/gnome
18861N/A%{_datadir}/gnome/help/*/[a-z]*
19458N/A%{_datadir}/omf/*/*-[a-z]*.omf
19775N/A
%files root
%defattr (-, root, sys)
%attr (0755, root, sys) %dir %{_sysconfdir}
%{_sysconfdir}/gconf/schemas/gedit.schemas
%{_sysconfdir}/gconf/schemas/gedit-file-browser.schemas
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%changelog
* Fri Feb 10 2012 - padraig.obriain@oracle.com
- Update Requires and BuildRequires to be IPS package names.
* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
- Updated BuildRequires to fit SourceJuicer.
* Thu Apr 22 2010 - christian.kelly@oracle.com
- Remove .a files.
* Mon Jan 18 2010 - yuntong.jin@sun.com
- Bump to 2.29.4
* Mon Dec 21 2009 - ghee.teo@sun.com
- Remove SUNWgnome-print dependency.
* Sun Jul 26 2009 - christian.kelly@sun.com
- Minor change to %files.
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Mon Mar 30 2009 - yuntong.jin@sun.com
- change the owner to yuntong.jin
* Fri Dec 26 2008 - dave.lin@sun.com
- Add %{_libdir}/gedit-2/plugin-loaders in %file.
* Sun Oct 07 2007 - damien.carbery@sun.com
- Add BuildRequires SUNWwxinc for sm.pc and SUNWlxml-devel for libxml-2.0.pc
(both referenced in configure.ac).
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Sun Oct 07 2007 - damien.carbery@sun.com
- Add python plugin dirs, now installed because pygtksourceview is part of
SUNWgnome-python-libs.
* Fri Sep 28 2007 - laca@sun.com
- delete unneeded env variables that break the indiana build
- delete SUNWxwrtl dep -- already depend on SUNWgnome-base-libs
* Tue Jul 03 2007 - damien.carbery@sun.com
- Remove 3 plugins dirs from %files because they are no longer installed.
* Tue Apr 24 2007 - laca@sun.com
- s/0755/-/ in defattr so that files are not made all executable
* Mon Mar 12 2007 - damien.carbery@sun.com
- Add %{_libdir}/gedit-2/gedit-bugreport.sh, for 2.18.0 tarball.
* Thu Mar 08 2007 - jeff.cai@sun.com
- Remove the dependency on aspell.
* Thu Jan 25 2007 - damien.carbery@sun.com
- Remove plugins/*.py* from %files as none are installed.
* Tue Sep 05 2006 - damien.carbery@sun.com
- Fix root pkg (s/filebrowser.schemas/gedit-file-browser.schemas/).
* Mon Sep 04 2006 - Matt.Keenan@sun.com
- New Manpage tarball
* Wed Aug 16 2006 - damien.carbery@sun.com
- Add gtk-doc dir to %files.
* Fri Jul 28 2006 - damien.carbery@sun.com
- Update %files for new tarball.
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Thu Jun 29 2006 - laca@sun.com
- update %post/%preun gconf scripts, add SUNWgnome-gtksourceview deps
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Fri Jun 2 2006 - laca@sun.com
- use post/preun scripts to install schemas into the merged gconf files
* Sat May 13 2006 - laca@sun.com
- Remove /usr/lib/jds-private from LDFLAGS
* Wed May 10 2006 - laca@sun.com
- merge -share pkg(s) into the base pkg(s)
* Mon May 08 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWgnome-python-desktop/-devel to build python plugins.
* Thu Mar 20 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWgnome-python-libs/-devel to build python plugins.
* Wed Mar 15 2006 - damien.carbery@sun.com
- Add to Build/Requires after running check-deps.pl.
* Wed Mar 15 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWgnome-component/-devel for ORBit2.
* Tue Mar 14 2006 - damien.carbery@sun.com
- Add plugins files to %files and remove unneeded rmdir of /usr/var.
* Mon Feb 20 2006 - damien.carbery@sun.com
- Complete update of Build/Requires after running check-deps.pl script.
* Fri Feb 17 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Tue Jan 31 2006 - damien.carbery@sun.com
- Remove application-registry and mime-info directories as no files installed
there now.
* Wed Jan 18 2006 - damien.carbery@sun.com
- Remove scrollkeeper files under /usr/var and /var.
* Sat Jan 07 2006 - damien.carbery@sun.com
- Update %files for new tarball.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Tue Nov 29 2005 - laca@sun.com
- remove javahelp stuff
* Wed Sep 14 2005 - laca@sun.com
- remove unpackaged files
* Wed Aug 31 2005 - damien.carbery@sun.com
- Set LD_LIBRARY_PATH so that libfreetype.so.6 can be found when a built
binary is run during the build step.
* Thu May 19 2005 - brian.cameron@sun.com
- Updte to 2.10, fix LDFLAGS and packaging for Solaris.
* Sat Jun 26 2004 shirley.woo@sun.com
- move sman3 manpages to devel pkg per Solaris pkg requirement
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Thu Sep 09 2004 - matt.keenan@sun.com
- Added gtksourceview manpage
* Mon Aug 23 2004 - laca@sun.com
- s/SUNWpl5u/SUNWperl584usr/
* Wed Aug 18 2004 - damien.carbery@sun.com
- Change manpage perms for Solaris integration.
* Fri Jul 09 2004 - damien.carbery@sun.com
- Return -R to LDFLAGS. I had incorrectly implemented the ARC decision.
* Thu Jul 08 2004 - damien.carbery@sun.com
- Remove -R from LDFLAGS because ARC said to use -norunpath.
* Fri Jul 02 2004 - damien.carbery@sun.com
- Add /usr/lib/jds-private to LDFLAGS.
* Sat Jun 26 2004 shirley.woo@sun.com
- Changed install location to /usr/...
* Wed Jun 2 2004 - takao.fujiwara@sun.com
- Added %{_datadir}/locale to install l10n messages
* Mon May 03 2004 - <vijaykumar.patwari@wipro.com>
- Added entry in spec for plugins files to get installed.
* Fri Mar 26 2004 - <laca@sun.com>
- add SUNWgnome-file-mgr dependency (for libeel)
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Thu Mar 04 2004 - <laca@sun.com>
- fix build
- fix files %share
* Mon Mar 01 2004 - <laca@sun.com>
- fix dependencies
* Thu Feb 26 2004 - <laca@sun.com>
- set PERL5LIB to make intltool happy
* Mon Feb 23 2004 - <niall.power@sun.com>
- install gconf schemas at end of install stage.