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