SUNWgnome-text-editor.spec revision 20857
9725N/A#
9725N/A# spec file for package SUNWgnome-text-editor
9725N/A#
9725N/A# includes module(s): gedit gtksourceview
9725N/A#
9725N/A# Copyright 2009 Sun Microsystems, Inc.
9725N/A# This file and all modifications and additions to the pristine
9725N/A# package are under the same license as the package itself.
9725N/A#
9725N/A%define owner jouby
9725N/A#
9725N/A%include Solaris.inc
9725N/A
9725N/A%use gedit = gedit.spec
9725N/A
9725N/AName: SUNWgnome-text-editor
9725N/AIPS_package_name: editor/gedit
9725N/AMeta(info.classification): %{classification_prefix}:Applications/Accessories,%{classification_prefix}:Development/Editors
9725N/ASummary: GNOME text editor
9725N/AVersion: %{gedit.version}
9725N/ASource: %{name}-manpages-0.1.tar.gz
9725N/ASUNW_BaseDir: %{_basedir}
9725N/ASUNW_Copyright: %{name}.copyright
9725N/ALicense: %{gedit.license}
9725N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
9725N/A
9725N/A%include default-depend.inc
9725N/A%include desktop-incorporation.inc
9725N/ARequires: SUNWgtk2
9725N/ARequires: SUNWgnome-text-editor-root
9725N/ARequires: SUNWgnome-libs
9725N/ARequires: SUNWlibms
9725N/ARequires: SUNWgnome-config
9725N/ARequires: SUNWgnome-vfs
9725N/ARequires: SUNWgnome-component
9725N/ARequires: SUNWlibms
9725N/ARequires: SUNWlxml
9725N/ARequires: SUNWPython26
9725N/ARequires: SUNWpygobject26
9725N/ARequires: SUNWpygtk2-26
9725N/ARequires: SUNWpygtksourceview26
9725N/ARequires: SUNWgnome-python26-desktop
9725N/ARequires: SUNWdesktop-cache
9725N/ARequires: SUNWgnome-gtksourceview
9725N/ARequires: SUNWgnome-spell
9725N/ABuildRequires: SUNWgtk2-devel
9725N/ABuildRequires: SUNWxwinc
9725N/ABuildRequires: SUNWlxml-devel
9725N/ABuildRequires: SUNWgnome-config-devel
9725N/ABuildRequires: SUNWgnome-vfs-devel
9725N/ABuildRequires: SUNWgnome-libs-devel
9725N/ABuildRequires: SUNWgnome-component-devel
9725N/ABuildRequires: SUNWPython26-devel
9725N/ABuildRequires: SUNWpygobject26-devel
9725N/ABuildRequires: SUNWpygtk2-26-devel
9725N/ABuildRequires: SUNWpygtksourceview26-devel
9725N/ABuildRequires: SUNWgnome-python26-desktop-devel
9725N/ABuildRequires: SUNWgnome-gtksourceview-devel
9725N/ABuildRequires: SUNWgnome-spell-devel
9725N/ABuildRequires: SUNWgnome-doc-utils
9725N/A
9725N/A%package l10n
9725N/ASummary: %{summary} - l10n files
9725N/ARequires: %{name}
9725N/A
9725N/A%package root
9728N/ASummary: %{summary} - / filesystem
9725N/ASUNW_BaseDir: /
9725N/A%include default-depend.inc
9725N/A%include desktop-incorporation.inc
9725N/A
9725N/A%package devel
10017N/ASummary: %{summary} - development files
10017N/ASUNW_BaseDir: %{_basedir}
10017N/A#Requires: %{name} = %{version}
10017N/ARequires: %{name}
10017N/A%include default-depend.inc
10017N/A%include desktop-incorporation.inc
10080N/A
10017N/A%prep
10017N/Arm -rf %name-%version
10017N/Amkdir %name-%version
10017N/A%gedit.prep -d %name-%version
10017N/Acd %{_builddir}/%name-%version
11198N/Agzcat %SOURCE0 | tar xf -
10017N/Acd %{_builddir}/%name-%version/gedit-%gedit.version
11192N/A
9725N/A%build
9725N/APKG_CONFIG_DISABLE_UNINSTALLED=
10017N/Aunset PKG_CONFIG_DISABLE_UNINSTALLED
10319N/Aexport LDFLAGS="%_ldflags -norunpath"
10656N/Aexport CFLAGS="%optflags"
10017N/Aexport LD_LIBRARY_PATH="/usr/sfw/lib:$LD_LIBRARY_PATH"
9838N/Aexport LDFLAGS="%_ldflags -L/usr/X11/lib -R /usr/X11/lib -lX11"
10017N/A%gedit.build -d %name-%version
10656N/A
10017N/A%install
10017N/Arm -rf $RPM_BUILD_ROOT
10017N/A%gedit.install -d %name-%version
10017N/A
10017N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10017N/Acd %{_builddir}/%name-%version/sun-manpages
10656N/Amake install DESTDIR=$RPM_BUILD_ROOT
10017N/A
10017N/Achmod 0755 $RPM_BUILD_ROOT%{_datadir}/gnome/help/gedit/C/*.xml
9725N/A
9725N/Arm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
9725N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
11198N/A
11198N/Afind $RPM_BUILD_ROOT -name "*.a" -exec rm {} \;
10017N/A
10017N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10017N/A
10017N/A%clean
10017N/Arm -rf $RPM_BUILD_ROOT
10017N/A
10017N/A%post
10017N/A%restart_fmri desktop-mime-cache gconf-cache
10017N/A
10017N/A%postun
10017N/A%restart_fmri desktop-mime-cache
10017N/A
10017N/A%files
10017N/A%defattr (-, root, bin)
10017N/A%dir %attr (0755, root, bin) %{_bindir}
10017N/A%{_bindir}/*
10017N/A%dir %attr (0755, root, bin) %{_libdir}
10017N/A%{_libdir}/gedit-2/gedit-bugreport.sh
10017N/A%{_libdir}/gedit-2/plugins/*.so*
10080N/A%{_libdir}/gedit-2/plugins/*.gedit-plugin
10080N/A%{_libdir}/gedit-2/plugins/snippets
10080N/A%{_libdir}/gedit-2/plugins/externaltools
10017N/A%{_libdir}/gedit-2/plugins/pythonconsole
10017N/A%{_libdir}/gedit-2/plugin-loaders
10017N/A%dir %attr (0755, root, sys) %{_datadir}
10017N/A%dir %attr (0755, root, other) %{_datadir}/applications
10017N/A%{_datadir}/applications/*
10017N/A%{_datadir}/gedit-2
10017N/A%{_datadir}/gtk-doc
10017N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10017N/A%{_datadir}/gnome/help/gedit/C
10017N/A%{_datadir}/omf/gedit/*-C.omf
10017N/A%dir %attr(0755, root, bin) %{_mandir}
10017N/A%dir %attr(0755, root, bin) %{_mandir}/man1
10017N/A%{_mandir}/man1/*
10017N/A%doc -d gedit-%{gedit.version} AUTHORS ChangeLog MAINTAINERS NEWS README
10017N/A%doc(bzip2) -d gedit-%{gedit.version} COPYING
10017N/A%dir %attr (0755, root, other) %{_datadir}/doc
10017N/A%{_libdir}/gedit-2/plugins/quickopen/*
10017N/A
11192N/A%files l10n
11192N/A%defattr (-, root, bin)
11192N/A%dir %attr (0755, root, sys) %{_datadir}
9725N/A%attr (-, root, other) %{_datadir}/locale
9725N/A%dir %attr (0755, root, other) %{_datadir}/gnome
9725N/A%{_datadir}/gnome/help/*/[a-z]*
9725N/A%{_datadir}/omf/*/*-[a-z]*.omf
9725N/A
9725N/A%files root
10017N/A%defattr (-, root, sys)
10017N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10017N/A%{_sysconfdir}/gconf/schemas/gedit.schemas
10017N/A%{_sysconfdir}/gconf/schemas/gedit-file-browser.schemas
10017N/A
10017N/A%files devel
10656N/A%defattr (-, root, bin)
10656N/A%dir %attr (0755, root, bin) %{_libdir}
10656N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10017N/A%{_libdir}/pkgconfig/*
10017N/A%dir %attr (0755, root, bin) %{_includedir}
10017N/A%{_includedir}/*
9725N/A
9838N/A%changelog
9838N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10017N/A- Updated BuildRequires to fit SourceJuicer.
10017N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
10017N/A- Remove .a files.
10656N/A* Mon Jan 18 2010 - yuntong.jin@sun.com
10656N/A- Bump to 2.29.4
10656N/A* Mon Dec 21 2009 - ghee.teo@sun.com
10017N/A- Remove SUNWgnome-print dependency.
10017N/A* Sun Jul 26 2009 - christian.kelly@sun.com
10017N/A- Minor change to %files.
10017N/A* Fri Apr 3 2009 - laca@sun.com
10017N/A- use desktop-cache instead of postrun
10017N/A* Mon Mar 30 2009 - yuntong.jin@sun.com
10017N/A- change the owner to yuntong.jin
10017N/A* Fri Dec 26 2008 - dave.lin@sun.com
10017N/A- Add %{_libdir}/gedit-2/plugin-loaders in %file.
10017N/A* Sun Oct 07 2007 - damien.carbery@sun.com
10017N/A- Add BuildRequires SUNWwxinc for sm.pc and SUNWlxml-devel for libxml-2.0.pc
10017N/A (both referenced in configure.ac).
9838N/A* Thu Jan 3 2008 - laca@sun.com
9838N/A- use gconf-install.script instead of an inline script
9725N/A* Sun Oct 07 2007 - damien.carbery@sun.com
10017N/A- Add python plugin dirs, now installed because pygtksourceview is part of
10017N/A SUNWgnome-python-libs.
10017N/A* Fri Sep 28 2007 - laca@sun.com
10656N/A- delete unneeded env variables that break the indiana build
10656N/A- delete SUNWxwrtl dep -- already depend on SUNWgnome-base-libs
10656N/A* Tue Jul 03 2007 - damien.carbery@sun.com
10017N/A- Remove 3 plugins dirs from %files because they are no longer installed.
10017N/A* Tue Apr 24 2007 - laca@sun.com
10017N/A- s/0755/-/ in defattr so that files are not made all executable
10017N/A* Mon Mar 12 2007 - damien.carbery@sun.com
10017N/A- Add %{_libdir}/gedit-2/gedit-bugreport.sh, for 2.18.0 tarball.
10017N/A* Thu Mar 08 2007 - jeff.cai@sun.com
9725N/A- Remove the dependency on aspell.
9725N/A* Thu Jan 25 2007 - damien.carbery@sun.com
9725N/A- Remove plugins/*.py* from %files as none are installed.
9725N/A* Tue Sep 05 2006 - damien.carbery@sun.com
9725N/A- Fix root pkg (s/filebrowser.schemas/gedit-file-browser.schemas/).
9725N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
9725N/A- New Manpage tarball
9725N/A* Wed Aug 16 2006 - damien.carbery@sun.com
9725N/A- Add gtk-doc dir to %files.
9725N/A* Fri Jul 28 2006 - damien.carbery@sun.com
9725N/A- Update %files for new tarball.
9725N/A* Fri Jul 14 2006 - laca@sun.com
9725N/A- update %post/%postun/etc scripts to support diskless client setup,
9725N/A part of 6448317
9725N/A* Thu Jun 29 2006 - laca@sun.com
9725N/A- update postrun scripts
9725N/A* Thu Jun 29 2006 - laca@sun.com
9725N/A- update %post/%preun gconf scripts, add SUNWgnome-gtksourceview deps
9725N/A* Sun Jun 11 2006 - laca@sun.com
9725N/A- change group from other to bin/sys
9725N/A* Fri Jun 2 2006 - laca@sun.com
9725N/A- use post/preun scripts to install schemas into the merged gconf files
9725N/A* Sat May 13 2006 - laca@sun.com
9725N/A- Remove /usr/lib/jds-private from LDFLAGS
9725N/A* Wed May 10 2006 - laca@sun.com
9725N/A- merge -share pkg(s) into the base pkg(s)
9725N/A* Mon May 08 2006 - damien.carbery@sun.com
9725N/A- Add Build/Requires SUNWgnome-python-desktop/-devel to build python plugins.
9725N/A* Thu Mar 20 2006 - damien.carbery@sun.com
9725N/A- Add Build/Requires SUNWgnome-python-libs/-devel to build python plugins.
9725N/A* Wed Mar 15 2006 - damien.carbery@sun.com
9725N/A- Add to Build/Requires after running check-deps.pl.
9725N/A* Wed Mar 15 2006 - damien.carbery@sun.com
9725N/A- Add Build/Requires SUNWgnome-component/-devel for ORBit2.
9725N/A* Tue Mar 14 2006 - damien.carbery@sun.com
9725N/A- Add plugins files to %files and remove unneeded rmdir of /usr/var.
9725N/A* Mon Feb 20 2006 - damien.carbery@sun.com
9725N/A- Complete update of Build/Requires after running check-deps.pl script.
9725N/A* Fri Feb 17 2006 - damien.carbery@sun.com
9725N/A- Update Build/Requires after running check-deps.pl script.
9725N/A* Tue Jan 31 2006 - damien.carbery@sun.com
9725N/A- Remove application-registry and mime-info directories as no files installed
9725N/A there now.
9725N/A* Wed Jan 18 2006 - damien.carbery@sun.com
9725N/A- Remove scrollkeeper files under /usr/var and /var.
9725N/A* Sat Jan 07 2006 - damien.carbery@sun.com
9725N/A- Update %files for new tarball.
9725N/A* Sat Dec 3 2005 - laca@sun.com
9725N/A- add %post script that runs update-desktop-database
9725N/A* Tue Nov 29 2005 - laca@sun.com
9725N/A- remove javahelp stuff
9725N/A* Wed Sep 14 2005 - laca@sun.com
9725N/A- remove unpackaged files
9725N/A* Wed Aug 31 2005 - damien.carbery@sun.com
9725N/A- Set LD_LIBRARY_PATH so that libfreetype.so.6 can be found when a built
9725N/A binary is run during the build step.
9725N/A* Thu May 19 2005 - brian.cameron@sun.com
9725N/A- 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.