gedit-plugins.spec revision 18467
10139N/A#
10139N/A# spec file for package: gedit-plugins
10139N/A#
12189N/A# Copyright (c) 2010 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#
11377N/A
18602N/A
17177N/AName: gedit-plugins
10139N/ASummary: Plugins for gedit
15311N/AVersion: 2.28.0
10139N/ARelease: 1
18685N/ALicense: GPLv2
10139N/AUrl: http://live.gnome.org/GeditPlugins
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
18602N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
18532N/A
12773N/A%description
12773N/APlugins for gedit including: bracketcompletion charmap codecomment colorpicker
12773N/Adrawspaces joinlines sessionsaver showtabbar smartspaces terminal
17717N/A
17717N/A%prep
18119N/Arm -rf %name-%version
18119N/A%setup -q -n %name-%version
18566N/A
18566N/A%build
18820N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
18797N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/A
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport LDFLAGS="%{_ldflags}"
10139N/A./configure --prefix=%{_prefix} \
10139N/A --bindir=%{_bindir} \
10139N/A --mandir=%{_mandir} \
10139N/A --infodir=%{_infodir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --disable-scrollkeeper
10139N/A
10139N/Amake -j$CPUS
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
17664N/Amake install DESTDIR=$RPM_BUILD_ROOT
16008N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10139N/A
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.la
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.pyo
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*/*.pyo
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%changelog
10139N/A* Tue Feb 23 2010 - yuntong.jin@sun.com
10139N/A- Initial base spec
10139N/A
10139N/A
10139N/A