2008-08-05 Laszlo (Laca) Peter <
[email protected]>
* indiana/SUNWgetting-started-guide.spec: bump to 0.7.0; delete patches
* patches/getting-started-guide-01-refresh-0.diff: delete
* patches/getting-started-guide-02-po.diff: delete
* indiana/SUNWopensolaris-welcome.spec: bump to 0.0.6
for bts release
#
# spec file for package SUNWgnome-gtksourceview
#
# includes module(s): gtksourceview
#
# Copyright (c) 2003 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: hawklu
#
%include Solaris.inc
%use gtksourceview = gtksourceview.spec
%use gsv2 = gtksourceview2.spec
Name: SUNWgnome-gtksourceview
Summary: GNOME syntax highlighting text widget
Version: %{default_pkg_version}
Source: %{name}-manpages-0.1.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_Copyright: %{name}.copyright
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWgnome-base-libs
Requires: SUNWgnome-print
BuildRequires: SUNWgnome-base-libs-devel
BuildRequires: SUNWgnome-print-devel
%package devel
Summary: %{summary} - development files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %name
%if %build_l10n
%package l10n
Summary: %{summary} - l10n files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %{name}
%endif
%prep
rm -rf %name-%version
mkdir %name-%version
%gtksourceview.prep -d %name-%version
%gsv2.prep -d %name-%version
cd %{_builddir}/%name-%version
gzcat %SOURCE0 | tar xf -
%build
%gtksourceview.build -d %name-%version
%gsv2.build -d %name-%version
%install
rm -rf $RPM_BUILD_ROOT
%gtksourceview.install -d %name-%version
%gsv2.install -d %name-%version
rm -rf $RPM_BUILD_ROOT%{_mandir}
cd %{_builddir}/%name-%version/sun-manpages
make install DESTDIR=$RPM_BUILD_ROOT
chmod 755 $RPM_BUILD_ROOT%{_mandir}/man3/*.3
%if %build_l10n
%else
# REMOVE l10n FILES
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
%endif
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gtksourceview-1.0
%{_datadir}/gtksourceview-2.0
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gtk-doc/*
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/man3
%{_mandir}/man3/*
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%endif
%changelog
* Thu Apr 03 2008 - [email protected]
- Add file SUNWgnome-gtksourceview.copyright.
* Wed May 30 2007 - [email protected]
- Add gtksourceview2.spec to support version 2.x of gtksourceview which is not
ABI/API compatible with version 1.x.
* Wed May 30 2007 - [email protected]
- Revert dir name in %files, s/2.0/1.0/ as gtksourceview has been reverted from
1.90.0 to 1.8.5 so that gedit and gnome-python-desktop can build.
* Mon May 28 2007 - [email protected]
- Update dir name in %files, s/1.0/2.0/.
* Tue Apr 24 2007 - [email protected]
- s/0755/-/ in defattr so that files are not made all executable
* Mon Sep 04 2006 - [email protected]
- New Manpage tarball
* Thu Jun 29 2006 - [email protected]
- move gtksourceview into its own pkg due to dependency issues.