Re: Non-stable?



Heh. Funny you mention this - if somebody still needs a working spec.in I've 
attached one here; I just made it yesterday. You can drop that in and autogen 
to get a real .spec, or just replace @VERSION  

--Kenny

On Wednesday 23 May 2001 02:29 pm, Alex wrote:
> I had to modify the spec from libole2-0.2.3 to get it to build are we
> masintaining non-stable specs as well or should i just send the changes to
> the project maintainer?
>
> --Alex
>
>
> _______________________________________________
> Gnome-packaging-list mailing list
> Gnome-packaging-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-packaging-list
Name:		libole2
Version:	@VERSION@
Release:	1
Summary:	Structured Storage OLE2 library
Copyright:	GPL
Group:		System Environment/Libraries
Source:		ftp://ftp.gnome.org/pub/GNOME/unstable/sources/%{name}/%{name}-%{version}.tar.gz
URL:		http://www.gnome.org/
BuildRoot:	/%{_tmppath}/%{name}-root

%description
A library containing functionality to manipulate OLE2 Structured Storage files. It is used by Gnumeric (the GNOME spreadsheet program), the AbiWord word
processor, and by other programs.

%package devel
Summary: Libraries, includes, etc to develop libole2 applications
Group: Development/Libraries
Requires: libole2

%description devel
Libraries, include files, etc you can use to develop libole2 applications.

%prep

%setup

%build
%ifarch alpha
  MYARCH_FLAGS="--host=alpha-redhat-linux"
%endif

CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
    --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --bindir=%{_bindir} \
    --datadir=%{_datadir} --includedir=%{_includedir} --sbindir=%{_sbindir}

make

%install
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{_prefix} \
    sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
    libdir=$RPM_BUILD_ROOT%{_libdir} bindir=$RPM_BUILD_ROOT%{_bindir} \
    datadir=$RPM_BUILD_ROOT%{_datadir} \
    includedir=$RPM_BUILD_ROOT%{_includedir} \
    sbindir=$RPM_BUILD_ROOT%{_sbindir} install

%clean
rm -rf $RPM_BUILD_ROOT

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)

%doc AUTHORS COPYING README
%docdir %{_datadir}/libole2/html
%{_datadir}/libole2/html/libole2/*.html
%{_datadir}/libole2/html/*.html
%{_datadir}/libole2/html/*.txt

%{_libdir}/lib*.so.*
%{_datadir}/aclocal/*.m4

%files devel
%defattr(-,root,root)

%{_bindir}/libole2-config
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/*.sh
%{_includedir}/libole2/*

%changelog
* Thu May 31 2001 Kenny Graunke <kenny whitecape org>
- Cleanups.
* Sun Oct 22 2000 John Gotts <jgotts linuxsavvy com>
- Minor updates.
* Wed Jun 28 2000 Arturo Tena <arturo directmail org>
- Updated summary and description.
* Sun May 23 2000 John Gotts <jgotts linuxsavvy com>
- New SPEC file.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]