1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
Summary: Xbae Widget Set
Name: Xbae
Version: @XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@
Release: 1
Copyright: Free to use but copyrighted
Packager: dannybackx@users.sourceforge.net
Group: System Environment/Libraries
Prefixes: /usr/X11R6 /usr/doc
Source: ftp://ftp.hungry.com/pub/hungry/lesstif/Xbae-@XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@.tar.gz
BuildRoot: /tmp/@PACKAGE@_@VERSION@-root
%description
XBae
%prep
%setup -n Xbae-@XBAE_MAJOR@.@XBAE_MINOR@.@XBAE_PICO@
LESSTIFTOP=$PWD
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/X11R6 --enable-shared --disable-static --disable-debug
%build
make -j2
%install
make install DESTDIR=$RPM_BUILD_ROOT
# cleanup in a preparation for an installation - unify layout
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
#do this manually; it's a better idea
#rm -rf $RPM_BUILD_ROOT
%files
# %attr(644, root, root) /usr/X11R6/LessTif/AUTHORS
# %attr(644, root, root) /usr/X11R6/LessTif/BUG-REPORTING
# %attr(644, root, root) /usr/X11R6/LessTif/COPYING
%attr(755, root, root) /usr/X11R6/lib/libXbae.la
%attr(755, root, root) /usr/X11R6/lib/libXbae.so*
#%attr(755, root, root) %dir /usr/X11R6/LessTif/doc
#%attr(-, root, root) /usr/X11R6/LessTif/doc/*
#%attr(644, root, root) /usr/X11R6/man/man1/lesstif.1*
%attr(644, root, root) /usr/X11R6/include/Xbae/*
%changelog
* Fri Jul 20 2001 Danny Backx <danny.backx@skynet.be>
- Initial spec file.
|