base-specs/libgdata.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 17954 5840d6651599
child 20250 e14e98f5fb38
permissions -rwxr-xr-x
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6

#
# spec file for package libgdata
#
# includes module(s): libgdata
#
%define owner jouby 

%define OSR LFI#105446 (gnome Exec. summary):n/a

%include Solaris.inc

Name:                libgdata
Summary:             libgdata is a collection library providing GObject-based interfaces and classes for commonly used data structures
Version:             0.6.4
License:             LGPL v2
Vendor:              Gnome Community
Source:              http://download.gnome.org/sources/libgdata/0.6/libgdata-%{version}.tar.bz2

BuildRoot:           %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc


%package devel
Summary:                 %{summary} - development files
SUNW_BaseDir:            %{_prefix}
%include default-depend.inc
Requires: %name


%prep
rm -rf libgdata-%version
%setup -q -n  libgdata-%version

%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
     CPUS=1
fi

#aclocal $ACLOCAL_FLAGS 
#libtoolize --copy --force
#autoheader
#autoconf
#automake -a -f -c

export CFLAGS="%optflags"
export LDFLAGS="%_ldflags"
./configure --prefix=%{_prefix}			\
            --bindir=%{_bindir}			\
            --libdir=%{_libdir}			\
            --sysconfdir=%{_sysconfdir}		\
            --includedir=%{_includedir} 	\
            --mandir=%{_mandir}			

make -j$CPUS

%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "lib*.*a" -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%changelog
* Fri Apr 30 2010 - [email protected]
- Change ownership to jouby
* Wed Jan 13 2010 - [email protected]
- Fix %files.
* Tus Oct 20 2009 - [email protected]
- import to solaris
* Fri Jul 27 2007 - [email protected]
- Initial spec