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