18326N/A#
18326N/A# spec file for package: gedit-plugins
18326N/A#
18326N/A# Copyright (c) 2010 Sun Microsystems, Inc.
18326N/A# This file and all modifications and additions to the pristine
18326N/A# package are under the same license as the package itself.
18326N/A#
18326N/A%define owner jouby
18326N/A
18644N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
18326N/A
18326N/AName: gedit-plugins
18326N/ASummary: Plugins for gedit
18615N/AVendor: Gnome Community
18665N/AVersion: 2.30.0
18326N/ARelease: 1
18326N/ALicense: GPLv2
18467N/AUrl: http://live.gnome.org/GeditPlugins
18665N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
18337N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18326N/A
18326N/A
18326N/A%description
18326N/APlugins for gedit including: bracketcompletion charmap codecomment colorpicker
18326N/Adrawspaces joinlines sessionsaver showtabbar smartspaces terminal
18326N/A
18326N/A%prep
18326N/Arm -rf %name-%version
18326N/A%setup -q -n %name-%version
18326N/A
18326N/A%build
18326N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
18326N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18326N/A CPUS=1
18326N/Afi
18326N/A
18326N/A
18326N/Aexport CFLAGS="%optflags"
18326N/Aexport LDFLAGS="%{_ldflags}"
18326N/A./configure --prefix=%{_prefix} \
18326N/A --bindir=%{_bindir} \
18326N/A --mandir=%{_mandir} \
18326N/A --infodir=%{_infodir} \
18326N/A --sysconfdir=%{_sysconfdir} \
18326N/A --disable-scrollkeeper
18326N/A
18326N/Amake -j$CPUS
18326N/A
18326N/A%install
18326N/Arm -rf $RPM_BUILD_ROOT
18326N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
18326N/Amake install DESTDIR=$RPM_BUILD_ROOT
18326N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
18326N/A
18344N/Arm $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.la
18344N/Arm $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.pyo
18344N/Arm $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*/*.pyo
18326N/A
18326N/A%clean
18326N/Arm -rf $RPM_BUILD_ROOT
18326N/A
18326N/A%changelog
18665N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
18665N/A- Bump to 2.30.0.
18326N/A* Tue Feb 23 2010 - yuntong.jin@sun.com
18337N/A- Initial base spec
18326N/A
18326N/A