SUNWgnome-text-editor.spec revision 19283
10139N/A#
10139N/A# spec file for package SUNWgnome-text-editor
10139N/A#
10139N/A# includes module(s): gedit gtksourceview
10139N/A#
16307N/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#
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
18688N/AMeta(info.classification): %{classification_prefix}:Development/Editors
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Accessories
10139N/ASummary: GNOME text editor
11933N/AVersion: %{gedit.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
12750N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ALicense: %{gedit.license}
16401N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-text-editor-root
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWlibms
16401N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWPython26
10139N/ARequires: SUNWgnome-python26-libs
10139N/ARequires: SUNWgnome-python26-desktop
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWgnome-gtksourceview
10139N/ARequires: SUNWgnome-spell
16307N/ABuildRequires: SUNWgtk2-devel
16307N/ABuildRequires: SUNWxwinc
10139N/ABuildRequires: SUNWlxml-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWPython26-devel
10139N/ABuildRequires: SUNWgnome-python26-libs-devel
10139N/ABuildRequires: SUNWgnome-python26-desktop-devel
10139N/ABuildRequires: SUNWgnome-gtksourceview-devel
10139N/ABuildRequires: SUNWgnome-spell-devel
10139N/ABuildRequires: SUNWgnome-doc-utils
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: editor/gedit/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
11933N/A%include gnome-consolidation.inc
11933N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10658N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A#Requires: %{name} = %{version}
11933N/ARequires: %{name}
11933N/A%include default-depend.inc
11933N/A%include gnome-consolidation.inc
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
11091N/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"
16307N/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
16307N/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}
14293N/A
14293N/A%if %build_l10n
14293N/A%else
14293N/A# REMOVE l10n FILES
14293N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z]*.omf
10139N/A%endif
10139N/A
10139N/Afind $RPM_BUILD_ROOT -name "*.a" -exec rm {} \;
10139N/A
10522N/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
16307N/A%defattr (-, root, bin)
16307N/A%dir %attr (0755, root, bin) %{_bindir}
14316N/A%{_bindir}/*
14316N/A%dir %attr (0755, root, bin) %{_libdir}
12750N/A%{_libdir}/gedit-2/gedit-bugreport.sh
12750N/A%{_libdir}/gedit-2/plugins/*.so*
12112N/A%{_libdir}/gedit-2/plugins/*.gedit-plugin
12112N/A%{_libdir}/gedit-2/plugins/snippets
11314N/A%{_libdir}/gedit-2/plugins/externaltools
11314N/A%{_libdir}/gedit-2/plugins/pythonconsole
11314N/A%{_libdir}/gedit-2/plugin-loaders
11091N/A%dir %attr (0755, root, sys) %{_datadir}
11091N/A%dir %attr (0755, root, other) %{_datadir}/applications
11091N/A%{_datadir}/applications/*
10658N/A%{_datadir}/gedit-2
10522N/A%{_datadir}/gtk-doc
10522N/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/*
10139N/A%doc -d gedit-%{gedit.version} AUTHORS ChangeLog MAINTAINERS NEWS README
10139N/A%doc(bzip2) -d gedit-%{gedit.version} COPYING
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%{_libdir}/gedit-2/plugins/quickopen/*
10139N/A
10139N/A%if %build_l10n
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%endif
10139N/A
10139N/A%files root
10139N/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
10139N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
16401N/A- 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.