SUNWgnome-text-editor.spec revision 18662
10139N/A#
10139N/A# spec file for package SUNWgnome-text-editor
10139N/A#
16880N/A# includes module(s): gedit gtksourceview
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
10139N/A#
16880N/A%define owner jouby
17178N/A#
17178N/A%include Solaris.inc
10139N/A
16880N/A%use gedit = gedit.spec
10139N/A
17346N/AName: SUNWgnome-text-editor
12578N/ASummary: GNOME text editor
10139N/AVersion: %{default_pkg_version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
17346N/ASUNW_Copyright: %{name}.copyright
16880N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16880N/A
16880N/A%include default-depend.inc
16880N/ARequires: SUNWgtk2
17089N/ARequires: SUNWgnome-text-editor-root
17089N/ARequires: SUNWgnome-libs
16880N/ARequires: SUNWlibms
16880N/ARequires: SUNWgnome-config
16880N/ARequires: SUNWgnome-vfs
16880N/ARequires: SUNWgnome-component
16880N/ARequires: SUNWlibms
16880N/ARequires: SUNWlxml
16880N/ARequires: SUNWPython
16880N/ARequires: SUNWgnome-python-libs
16880N/ARequires: SUNWgnome-python-desktop
16880N/ARequires: SUNWdesktop-cache
16880N/ARequires: SUNWgnome-gtksourceview
17089N/ARequires: SUNWgnome-spell
17073N/ABuildRequires: SUNWgtk2-devel
17089N/ABuildRequires: SUNWxwinc
17074N/ABuildRequires: SUNWlxml-devel
17089N/ABuildRequires: SUNWgnome-config-devel
17233N/ABuildRequires: SUNWgnome-vfs-devel
17186N/ABuildRequires: SUNWgnome-libs-devel
17222N/ABuildRequires: SUNWgnome-component-devel
17346N/ABuildRequires: SUNWPython-devel
17247N/ABuildRequires: SUNWgnome-python-libs-devel
17346N/ABuildRequires: SUNWgnome-python-desktop-devel
17281N/ABuildRequires: SUNWgnome-gtksourceview-devel
17346N/ABuildRequires: SUNWgnome-spell-devel
17285N/A
17346N/A%if %build_l10n
17402N/A%package l10n
17402N/ASummary: %{summary} - l10n files
17402N/ASUNW_BaseDir: %{_basedir}
17402N/A%include default-depend.inc
17402N/ARequires: %{name}
17437N/A%endif
17437N/A
17535N/A%package root
17485N/ASummary: %{summary} - / filesystem
17535N/ASUNW_BaseDir: /
17535N/A%include default-depend.inc
17535N/A
17535N/A%package devel
17535N/ASummary: %{summary} - development files
17535N/ASUNW_BaseDir: %{_basedir}
17535N/ARequires: %{name} = %{version}
17546N/A%include default-depend.inc
17546N/A
16880N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%gedit.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
12274N/Agzcat %SOURCE0 | tar xf -
12274N/Acd %{_builddir}/%name-%version/gedit-%gedit.version
12274N/A
12274N/A%build
10139N/APKG_CONFIG_DISABLE_UNINSTALLED=
10139N/Aunset PKG_CONFIG_DISABLE_UNINSTALLED
10139N/Aexport LDFLAGS="%_ldflags -norunpath"
10139N/Aexport CFLAGS="%optflags"
11002N/Aexport LD_LIBRARY_PATH="/usr/sfw/lib:$LD_LIBRARY_PATH"
13025N/Aexport LDFLAGS="%_ldflags -L/usr/X11/lib -R /usr/X11/lib -lX11"
12830N/A%gedit.build -d %name-%version
13664N/A
16425N/A%install
15591N/Arm -rf $RPM_BUILD_ROOT
17073N/A%gedit.install -d %name-%version
17186N/A
17200N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
17209N/Acd %{_builddir}/%name-%version/sun-manpages
17222N/Amake install DESTDIR=$RPM_BUILD_ROOT
17245N/A
17402N/Achmod 0755 $RPM_BUILD_ROOT%{_datadir}/gnome/help/gedit/C/*.xml
17437N/A
17485N/Arm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
17535N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
17546N/A
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/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
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
16880N/Arm -rf $RPM_BUILD_ROOT
16880N/A
16880N/A%post
16880N/A%restart_fmri desktop-mime-cache gconf-cache
16880N/A
16880N/A%postun
10139N/A%restart_fmri desktop-mime-cache
16880N/A
16880N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
16880N/A%dir %attr (0755, root, bin) %{_libdir}
16880N/A%{_libdir}/gedit-2/gedit-bugreport.sh
10139N/A%{_libdir}/gedit-2/plugins/*.so*
10139N/A%{_libdir}/gedit-2/plugins/*.gedit-plugin
16880N/A%{_libdir}/gedit-2/plugins/snippets
11155N/A%{_libdir}/gedit-2/plugins/externaltools
16880N/A%{_libdir}/gedit-2/plugins/pythonconsole
16880N/A%{_libdir}/gedit-2/plugin-loaders
17249N/A%dir %attr (0755, root, sys) %{_datadir}
17249N/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
16880N/A%{_datadir}/gnome/help/gedit/C
16880N/A%{_datadir}/omf/gedit/*-C.omf
16880N/A%dir %attr(0755, root, bin) %{_mandir}
16880N/A%dir %attr(0755, root, bin) %{_mandir}/man1
10139N/A%{_mandir}/man1/*
17059N/A%doc -d gedit-%{gedit.version} AUTHORS ChangeLog MAINTAINERS NEWS README
17059N/A%doc(bzip2) -d gedit-%{gedit.version} COPYING
17059N/A%dir %attr (0755, root, other) %{_datadir}/doc
16880N/A%{_libdir}/gedit-2/plugins/quickopen/*
16880N/A
16880N/A%if %build_l10n
17059N/A%files l10n
17059N/A%defattr (-, root, bin)
11358N/A%dir %attr (0755, root, sys) %{_datadir}
16880N/A%attr (-, root, other) %{_datadir}/locale
16880N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10248N/A%{_datadir}/gnome/help/*/[a-z]*
16880N/A%{_datadir}/omf/*/*-[a-z]*.omf
16880N/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
16880N/A%{_sysconfdir}/gconf/schemas/gedit-file-browser.schemas
16880N/A
16880N/A%files devel
16880N/A%defattr (-, root, bin)
16880N/A%dir %attr (0755, root, bin) %{_libdir}
16880N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
16880N/A%{_libdir}/pkgconfig/*
16880N/A%dir %attr (0755, root, bin) %{_includedir}
16880N/A%{_includedir}/*
16880N/A
16880N/A%changelog
16880N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
16880N/A- Remove .a files.
16880N/A* Mon Jan 18 2010 - yuntong.jin@sun.com
16880N/A- Bump to 2.29.4
16880N/A* Mon Dec 21 2009 - ghee.teo@sun.com
16880N/A- Remove SUNWgnome-print dependency.
16880N/A* Sun Jul 26 2009 - christian.kelly@sun.com
16880N/A- Minor change to %files.
16880N/A* Fri Apr 3 2009 - laca@sun.com
16880N/A- use desktop-cache instead of postrun
16880N/A* Mon Mar 30 2009 - yuntong.jin@sun.com
16880N/A- change the owner to yuntong.jin
16880N/A* Fri Dec 26 2008 - dave.lin@sun.com
16880N/A- Add %{_libdir}/gedit-2/plugin-loaders in %file.
16880N/A* Sun Oct 07 2007 - damien.carbery@sun.com
16880N/A- Add BuildRequires SUNWwxinc for sm.pc and SUNWlxml-devel for libxml-2.0.pc
16880N/A (both referenced in configure.ac).
16880N/A* Thu Jan 3 2008 - laca@sun.com
16880N/A- use gconf-install.script instead of an inline script
16880N/A* Sun Oct 07 2007 - damien.carbery@sun.com
10139N/A- Add python plugin dirs, now installed because pygtksourceview is part of
16880N/A SUNWgnome-python-libs.
16880N/A* Fri Sep 28 2007 - laca@sun.com
16880N/A- delete unneeded env variables that break the indiana build
16880N/A- delete SUNWxwrtl dep -- already depend on SUNWgnome-base-libs
10139N/A* Tue Jul 03 2007 - damien.carbery@sun.com
10139N/A- Remove 3 plugins dirs from %files because they are no longer installed.
17546N/A* Tue Apr 24 2007 - laca@sun.com
17546N/A- s/0755/-/ in defattr so that files are not made all executable
17535N/A* Mon Mar 12 2007 - damien.carbery@sun.com
17546N/A- Add %{_libdir}/gedit-2/gedit-bugreport.sh, for 2.18.0 tarball.
17546N/A* Thu Mar 08 2007 - jeff.cai@sun.com
17485N/A- Remove the dependency on aspell.
17485N/A* Thu Jan 25 2007 - damien.carbery@sun.com
17437N/A- Remove plugins/*.py* from %files as none are installed.
17437N/A* Tue Sep 05 2006 - damien.carbery@sun.com
17437N/A- Fix root pkg (s/filebrowser.schemas/gedit-file-browser.schemas/).
17402N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
17402N/A- New Manpage tarball
17346N/A* Wed Aug 16 2006 - damien.carbery@sun.com
17346N/A- Add gtk-doc dir to %files.
17285N/A* Fri Jul 28 2006 - damien.carbery@sun.com
17285N/A- Update %files for new tarball.
17277N/A* Fri Jul 14 2006 - laca@sun.com
17277N/A- update %post/%postun/etc scripts to support diskless client setup,
17277N/A part of 6448317
17247N/A* Thu Jun 29 2006 - laca@sun.com
17277N/A- update postrun scripts
17246N/A* Thu Jun 29 2006 - laca@sun.com
17246N/A- update %post/%preun gconf scripts, add SUNWgnome-gtksourceview deps
17277N/A* Sun Jun 11 2006 - laca@sun.com
17245N/A- change group from other to bin/sys
17245N/A* Fri Jun 2 2006 - laca@sun.com
17245N/A- use post/preun scripts to install schemas into the merged gconf files
17222N/A* Sat May 13 2006 - laca@sun.com
17222N/A- Remove /usr/lib/jds-private from LDFLAGS
17222N/A* Wed May 10 2006 - laca@sun.com
17209N/A- merge -share pkg(s) into the base pkg(s)
17245N/A* Mon May 08 2006 - damien.carbery@sun.com
17200N/A- Add Build/Requires SUNWgnome-python-desktop/-devel to build python plugins.
17245N/A* Thu Mar 20 2006 - damien.carbery@sun.com
17186N/A- Add Build/Requires SUNWgnome-python-libs/-devel to build python plugins.
17245N/A* Wed Mar 15 2006 - damien.carbery@sun.com
17089N/A- Add to Build/Requires after running check-deps.pl.
17089N/A* Wed Mar 15 2006 - damien.carbery@sun.com
17552N/A- Add Build/Requires SUNWgnome-component/-devel for ORBit2.
17073N/A* Tue Mar 14 2006 - damien.carbery@sun.com
17059N/A- Add plugins files to %files and remove unneeded rmdir of /usr/var.
17059N/A* Mon Feb 20 2006 - damien.carbery@sun.com
17059N/A- Complete update of Build/Requires after running check-deps.pl script.
16880N/A* Fri Feb 17 2006 - damien.carbery@sun.com
16880N/A- Update Build/Requires after running check-deps.pl script.
16880N/A* Tue Jan 31 2006 - damien.carbery@sun.com
16623N/A- Remove application-registry and mime-info directories as no files installed
16623N/A there now.
16511N/A* Wed Jan 18 2006 - damien.carbery@sun.com
16511N/A- Remove scrollkeeper files under /usr/var and /var.
16395N/A* Sat Jan 07 2006 - damien.carbery@sun.com
16395N/A- Update %files for new tarball.
16193N/A* Sat Dec 3 2005 - laca@sun.com
16193N/A- add %post script that runs update-desktop-database
16190N/A* Tue Nov 29 2005 - laca@sun.com
16190N/A- remove javahelp stuff
16054N/A* Wed Sep 14 2005 - laca@sun.com
16054N/A- remove unpackaged files
16013N/A* Wed Aug 31 2005 - damien.carbery@sun.com
16013N/A- Set LD_LIBRARY_PATH so that libfreetype.so.6 can be found when a built
16013N/A binary is run during the build step.
16038N/A* Thu May 19 2005 - brian.cameron@sun.com
15968N/A- Updte to 2.10, fix LDFLAGS and packaging for Solaris.
15968N/A* Sat Jun 26 2004 shirley.woo@sun.com
15968N/A- move sman3 manpages to devel pkg per Solaris pkg requirement
15792N/A* Sat Oct 02 2004 - laca@sun.com
15792N/A- added %pkgbuild_postprocess
15591N/A* Thu Sep 09 2004 - matt.keenan@sun.com
15591N/A- Added gtksourceview manpage
15591N/A* Mon Aug 23 2004 - laca@sun.com
15543N/A- s/SUNWpl5u/SUNWperl584usr/
15543N/A* Wed Aug 18 2004 - damien.carbery@sun.com
15543N/A- Change manpage perms for Solaris integration.
15543N/A* Fri Jul 09 2004 - damien.carbery@sun.com
15503N/A- Return -R to LDFLAGS. I had incorrectly implemented the ARC decision.
15503N/A* Thu Jul 08 2004 - damien.carbery@sun.com
15460N/A- Remove -R from LDFLAGS because ARC said to use -norunpath.
15460N/A* Fri Jul 02 2004 - damien.carbery@sun.com
15389N/A- Add /usr/lib/jds-private to LDFLAGS.
15389N/A* Sat Jun 26 2004 shirley.woo@sun.com
15389N/A- Changed install location to /usr/...
15347N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
15347N/A- Added %{_datadir}/locale to install l10n messages
15347N/A* Mon May 03 2004 - <vijaykumar.patwari@wipro.com>
15347N/A- Added entry in spec for plugins files to get installed.
15247N/A* Fri Mar 26 2004 - <laca@sun.com>
15247N/A- add SUNWgnome-file-mgr dependency (for libeel)
15230N/A* Wed Mar 24 2004 - brian.cameron@sun.com
15230N/A- Added SGML man page integration
14468N/A* Thu Mar 04 2004 - <laca@sun.com>
14468N/A- fix build
14362N/A- fix files %share
14362N/A* Mon Mar 01 2004 - <laca@sun.com>
14133N/A- fix dependencies
14133N/A* Thu Feb 26 2004 - <laca@sun.com>
14126N/A- set PERL5LIB to make intltool happy
14126N/A* Mon Feb 23 2004 - <niall.power@sun.com>
14014N/A- install gconf schemas at end of install stage.
14014N/A
14014N/A