All of lore.kernel.org
 help / color / mirror / Atom feed
* RPM spec file for libaal
@ 2003-08-28 16:55 David T Hollis
  2003-08-28 17:01 ` David T Hollis
  0 siblings, 1 reply; 2+ messages in thread
From: David T Hollis @ 2003-08-28 16:55 UTC (permalink / raw)
  To: Reiserfs List

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

This can be included in the libaal package to allow users to build it 
with rpmbuild -ta libaal-XXXXX.tar.gz.  If there is desire, I could 
produce a patch that would allow configure to embed the proper version 
in the spec file to help automate future releases.

[-- Attachment #2: libaal.spec --]
[-- Type: text/plain, Size: 1482 bytes --]

%define file_version 20030826
%define enable_debug 1

Name: libaal
Version: 0.4.9
Release: 1
Epoch:   1
Summary: Abstraction library for ReiserFS utilities
License: GPL
Group: Development/Libraries
URL: http://www.namesys.com/
Source: libaal-%{file_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
This is a library that provides application abstraction mechanism.
It include device abstraction, libc independence code, etc.

%package devel
Summary: Headers and static libraries for developing with libaal.
Group: Development/Libraries

%description devel
This package includes the headers and static libraries for developing
with the libaal library.

%prep
%setup -q

%build
BUILD_OPTS="--enable-stand-alone"
%if %{enable_debug}
BUILD_OPTS="$BUILD_OPTS	--enable-debug"
%endif

%configure \
%if %{enable_debug}
	--enable-debug \
%endif
	--enable-stand-alone
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING CREDITS INSTALL NEWS README THANKS TODO
%{_libdir}/libaal-0.4.so.*
%{_libdir}/libaal-alone.so.*

%files devel
%defattr(-,root,root)
%{_libdir}/libaal.so
%{_libdir}/libaal.*a
%{_libdir}/libaal-alone.so
%{_libdir}/libaal-alone.*a
%dir %{_includedir}/aal
%{_includedir}/aal/*
%{_datadir}/aclocal/libaal.m4

%changelog
* Wed Aug 27 2003 David T Hollis <dhollis@davehollis.com>
- RPM package created

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RPM spec file for libaal
  2003-08-28 16:55 RPM spec file for libaal David T Hollis
@ 2003-08-28 17:01 ` David T Hollis
  0 siblings, 0 replies; 2+ messages in thread
From: David T Hollis @ 2003-08-28 17:01 UTC (permalink / raw)
  To: Reiserfs List

David T Hollis wrote:

> This can be included in the libaal package to allow users to build it 
> with rpmbuild -ta libaal-XXXXX.tar.gz.  If there is desire, I could 
> produce a patch that would allow configure to embed the proper version 
> in the spec file to help automate future releases.
>
>BUILD_OPTS="--enable-stand-alone"
>%if %{enable_debug}
>BUILD_OPTS="$BUILD_OPTS	--enable-debug"
>%endif
>

Shoot, you can scratch these lines.  No longer needed.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-28 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28 16:55 RPM spec file for libaal David T Hollis
2003-08-28 17:01 ` David T Hollis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.