a few updated spec's



okay, I'm in a merge of my own semi-updated and macrofied spec's and the "official" ones, going to post more once I'm done making/installing them all.

Wont promise all theese works, especially not since i have ".bz2" as favoured compression. (modems, you know the drill)

//Spider
%define name		ammonite
%define ver		1.0.2
%define RELEASE		0.1
%define rel		%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}

Name:		%name
Summary:	Ammonite is a portion of the Eazel Services authentication framework.
Version: 	%ver
Release: 	%rel
Copyright: 	GPL
Group:		User Interface/Desktop
Source: 	%{name}-%{version}.tar.bz2
URL:		http://nautilus.eazel.com/
Packager:	GNOME Packaging Project <http://bugzilla.gnome.org/>
BuildRoot:	/var/tmp/%{name}-%{ver}-root
Requires:	gnome-vfs >= 0.3.1
BuildRequires:  libxml-devel, oaf >= 0.6.0, gnome-libs-devel >= 1.2.0
BuildRequires:  glib-devel >= 1.2.8, GConf >= 0.11.0, ORBit >= 0.5.1

#Requires:	openssl
# Requires:	openssl >= 0.9.5
# it really does require that version, but we would rather have
# ammonite break than break a users ssh so we are putting no version
# requirement in so we can distribute and rsa free version

%description 
Ammonite is a non-caching client-side HTTP proxy with a
set of special features required by Eazel to communicate with Eazel
Services.  Ammonite provides the user authentication and encryption
features used by Eazel Services.  It is part of the GNOME project, and
its source code can be found in the GNOME CVS repository.

You will need to install Ammonite if you intend to use Eazel Services.

Ammonite links statically with OpenSSL, which is (C) Eric Young.

Ammonite was originally based on TinyProxy v1.3, written by by Steven Young 
<sdyoung well com> and Robert James Kaes <rjkaes flarenet com>.

%package devel
Summary:	Libraries and include files for developing Ammonite clients
Group:		Development/Libraries
Requires:	%name = %{PACKAGE_VERSION}

%description devel
This package provides the necessary development libraries and include
files to allow you to develop components that make use of the Ammonite authentication
services.  You will need to install this package if you intend to build Nautilus
from source code.

%prep
%setup

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

LC_ALL=""
LINGUAS=""
LANG=""
export LC_ALL LINGUAS LANG

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

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
make    prefix=%{buildroot}%{_prefix} \
        exec_prefix=%{buildroot}%{_exec_prefix} \
        bindir=%{buildroot}%{_bindir} \
        sbindir=%{buildroot}%{_sbindir} \
        sysconfdir=%{buildroot}%{_sysconfdir} \
        datadir=%{buildroot}%{_datadir} \
        includedir=%{buildroot}%{_includedir} \
        libdir=%{buildroot}%{_libdir} \
        libexecdir=%{buildroot}%{_libexecdir} \
        localstatedir=%{buildroot}%{_localstatedir} \
        sharedstatedir=%{buildroot}%{_sharedstatedir} \
        mandir=%{buildroot}%{_mandir} \
        infodir=%{buildroot}%{_infodir} \
  install
%find_lang %{name}

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post
if ! grep %{_libdir} /etc/ld.so.conf > /dev/null ; then
  echo "%{_libdir}" >> /etc/ld.so.conf
fi
  
/sbin/ldconfig
  
%postun -p /sbin/ldconfig

%files -f %{name}.lang

%defattr(0555, bin, bin)

%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_libdir}/*.sh

%defattr (0444, bin, bin)
%config %{_sysconfdir}/vfs/modules/*.conf
%{_datadir}/oaf/*.oaf
%{_datadir}/nautilus/certs/*.pem
%{_datadir}/idl/*.idl
%{_datadir}/pixmaps/nautilus/*.png

%files devel

%defattr(0555, bin, bin)
%{_libdir}/*.a
%{_libdir}/*.la

%defattr(0444, bin, bin)
%{_includedir}/libtrilobite/*.h


%changelog
* Fri May 18 2001 Spider <spider darkmere wanfear com>
- Updated a few files, lang, recompress, version up

* Mon Feb 19 2001 Gregory Leblanc <gleblanc cu-portland edu>
- updates and fixes for bad macros, and hard-coded paths

* Wed Apr 26 2000 Robin * Slomkowski <rsllomkow eazel com>
- created this thing

* Wed Apr 26 2000 Mike Fleming <mfleming eazel com>
- Small edits of description fields
%define  ver     0.2.1
%define  RELEASE 0.2
%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}

Summary:	Library to handle various audio file formats
Name:		audiofile
Version:	%ver
Release:	%rel
Copyright:	LGPL
Group:		Libraries/Sound
Source:		audiofile-%{version}.tar.bz2
URL:		http://www.68k.org/~michael/audiofile/
BuildRoot:	/var/tmp/audiofile-%{version}-root
Obsoletes:	libaudiofile

%description
Library to handle various audio file formats.
Used by the esound daemon.

%package devel
Summary: Libraries, includes, etc to develop audiofile applications
Group: Libraries

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

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
    --bindir=%{_bindir} --includedir=%{_includedir} \
    --datadir=%{_datadir} --libdir=%{_libdir} 
make $MAKE_FLAGS

%install

rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT

#
# makefile is broken, sets exec_prefix explicitely.
#
make exec_prefix=$RPM_BUILD_ROOT/%{_prefix} \
    prefix=$RPM_BUILD_ROOT/%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
    includedir=$RPM_BUILD_ROOT%{_includedir} \
    datadir=$RPM_BUILD_ROOT%{_datadir} \
    libdir=$RPM_BUILD_ROOT%{_libdir} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYING TODO README ChangeLog docs
%{_bindir}/*
%{_libdir}/lib*.so.*

%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_libdir}/*.*a
%{_includedir}/*
%{_datadir}/aclocal/*


%changelog
* Fri May 18 2001 Spider <spider darkmere wanfear com>
- recompress, tabstops

* Mon Feb 19 2001 Gregory Leblanc <gleblanc cu-portland edu>
- Updated and fixed macros

* Fri Nov 20 1998 Michael Fulbright <drmike redhat com>
- First try at a spec file
%define name		bonobo
%define ver		0.37
%define RELEASE		0.2
%define rel		%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}

Name:		 %name
Summary:	 Library for compound documents in GNOME
Version: 	 %ver
Release: 	 %rel
Copyright: 	 GPL
Group:		 System Environment/Libraries
Source: 	 %{name}-%{ver}.tar.bz2
URL: 		 http://www.gnome.org/
BuildRoot:	 /var/tmp/%{name}-%{ver}-root
Requires:	 gnome-libs >= 1.2.7
Requires:	 ORBit >= 0.5.7
Requires:	 oaf >= 0.6.2
Requires:	 libxml >= 1.8.10
BuildRequires:   gdk-pixbuf-devel >= 0.6.0, ORBit-devel >= 0.5.7
BuildRequires:   gtk+-devel >= 1.2.0, gnome-libs-devel >= 1.2.7, oaf >= 0.6.2
BuildRequires:   libxml-devel >= 1.8.10, gnome-print >= 0.16

%description
Bonobo is a library that provides the necessary framework for GNOME
applications to deal with compound documents, i.e. those with a
spreadsheet and graphic embedded in a word-processing document.

%package devel
Summary:	Libraries and include files for the Bonobo document model
Group:		Development/Libraries
Requires:	%name = %{PACKAGE_VERSION}

%description devel
This package provides the necessary development libraries and include
files to allow you to develop programs using the Bonobo document model.

%prep
%setup

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

LC_ALL=""
LINGUAS=""
LANG=""
export LC_ALL LINGUAS LANG

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

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make -k
fi

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

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

%find_lang %{name}

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post
if ! grep %{_libdir} /etc/ld.so.conf > /dev/null ; then
  echo "%{_libdir}" >> /etc/ld.so.conf
fi
  
/sbin/ldconfig
  
%postun -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(0555, bin, bin)
%{_bindir}/*
%{_libdir}/pkgconfig/libefs.pc
%{_libdir}/bonobo/plugin/*
%{_libdir}/bonobo/monikers/*
%{_libdir}/*.0
%{_libdir}/*.1
%{_libdir}/*.2
%{_libdir}/*.sh
%{_libdir}/*.so


%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README

%defattr (0444, bin, bin)
# %{_datadir}/bonobo/html/bonobo/*.html
# %{_datadir}/bonobo/html/bonobo/*.sgml
# %{_datadir}/bonobo/html/*.html
# %config %{_sysconfdir}/CORBA/servers/*.gnorba
%{_datadir}/bonobo
%{_datadir}/gnome/ui/*
%{_datadir}/idl/*
%{_datadir}/mime-info/*.keys
%{_datadir}/oaf/*

%files devel

%defattr(0555, bin, bin)
%dir %{_includedir}/bonobo
%{_libdir}/*.a
%{_libdir}/*.la

%defattr(0444, bin, bin)
%{_includedir}/*.h
%{_includedir}/bonobo/*.h


%changelog
* Fri May 18 2001 Spider <spider darkmere wanfear com>
- langify, add a few missing files, recompress

* Wed Feb 21 2001 Gregory Leblanc <gleblanc cu-portland edu>
- fixed macros and hard-coded paths.  Should be very portable now.

* Wed Oct 18 2000 Eskil Heyn Olsen <eskil eazel com>
- Added requirements to the base package
- Added bonobo-ui-extract to the file list of the base pacakge

* Tue Feb 22 2000 Jens Finke <jens finke informatik uni-oldenburg de>
- Added bonobo.h to the file list of devel package.

* Wed Nov 10 1999 Alexander Skwar <ASkwar DigitalProjects com>
- Updated to version 0.5
- fixed spec file
- Un-quiet things
- stripped binaries
- unsetted language environment variables

* Sat Oct 2 1999 Gregory McLean <gregm comstar net>
- Updated the spec for version 0.4
- Updated the files section.

* Sun Aug 1 1999 Gregory McLean <gregm comstar net>
- Some updates. sysconfdir stuff, quiet down the prep/configure stage.

* Sat May 1 1999 Erik Walthinsen <omega cse ogi edu>
- created spec file
%define  ver     0.5.7 
%define  RELEASE 0.2
%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}

Summary: High-performance CORBA Object Request Broker.
Name: ORBit
Version: %ver
Release: %rel
Source: %{name}-%{PACKAGE_VERSION}.tar.bz2
Group: System Environment/Libraries
Copyright: LGPL/GPL
BuildRoot: /var/tmp/orbit-%{PACKAGE_VERSION}-root
Prereq: /sbin/install-info
URL: http://www.labs.redhat.com/orbit/

%description
ORBit is a high-performance CORBA (Common Object Request Broker 
Architecture) ORB (object request broker). It allows programs to 
send requests and receive replies from other programs, regardless 
of the locations of the two programs. CORBA is an architecture that 
enables communication between program objects, regardless of the 
programming language they're written in or the operating system they
run on.

You will need to install this package if you want to run programs that use
the ORBit implementation of CORBA technology.

%package devel
Summary: Development libraries, header files and utilities for ORBit.
Group: Development/Libraries
Requires: indent
Requires: glib-devel
Requires: ORBit = %{ver}

%description devel
This package contains the header files, libraries and utilities 
necessary to write programs that use CORBA technology. If you want to
write such programs, you'll also need to install the ORBit package.

%prep
%setup

%build
# Needed for snapshot releases.
#MYCFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS $RPM_OPT_FLAGS"
MYCFLAGS="$RPM_OPT_FLAGS"
if [ ! -f configure ]; then
    CFLAGS="$MYCFLAGS" ./autogen.sh --prefix=%{_prefix} \
	--infodir=%{_infodir} --libdir=%{_libdir} \
	--datadir=%{_datadir} --includedir=%{_includedir} \
	--sysconfdir=%{_sysconfdir} 
fi

CFLAGS="$MYCFLAGS" ./configure --prefix=%{_prefix} \
	--infodir=%{_infodir} --libdir=%{_libdir} \
	--datadir=%{_datadir} --includedir=%{_includedir} \
        --sysconfdir=%{_sysconfdir} --enable-static --enable-shared
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}

make prefix=$RPM_BUILD_ROOT%{_prefix} \
    infodir=$RPM_BUILD_ROOT%{_infodir} \
    libdir=$RPM_BUILD_ROOT%{_libdir} \
    datadir=$RPM_BUILD_ROOT%{_datadir} \
    includedir=$RPM_BUILD_ROOT%{_includedir} install 

%find_lang %{name}

/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post devel
# to do install libIDL.info* is tempting, but only install the .* files
# to "dir" the rest are linked from there
/sbin/install-info %{_infodir}/libIDL.info.* %{_infodir}/dir

%preun devel
if [ $1 = 0 ]; then
   /sbin/install-info --delete %{_infodir}/libIDL.info.* %{_infodir}/dir
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)

%doc AUTHORS COPYING ChangeLog NEWS README TODO
%doc -P libIDL/COPYING libIDL/ChangeLog libIDL/AUTHORS
%doc -P libIDL/README* libIDL/NEWS libIDL/BUGS libIDL/tstidl.c

%{_libdir}/lib*.so.*
%{_bindir}/orbit-event-server
%{_bindir}/orbit-name-server
#don't install old-name-server
#{_bindir}/old-name-server
%{_bindir}/name-client
%{_bindir}/orbit-ird
%{_bindir}/ior-decode


%files devel
%{_bindir}/orbit-idl
%{_bindir}/orbit-config
%{_bindir}/libIDL-config
%{_includedir}/*
%{_libdir}/*.sh
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_infodir}/libIDL.info*
%{_datadir}/aclocal/*

%changelog
* Fri May 18 2001 Spider <spider darkmere wanfear com>
- Updated a few files, lang, recompress

* Sun Feb 18 2001 Gregory Leblanc <gleblanc cu-portland edu>
- many fixes, should work properly now.  Mostly macro cleanups, and
  removing any hard-coded paths.

* Mon Aug 30 1999 Elliot Lee <sopwith redhat com> 0.4.94-1
- Spec file fixes from RHL 6.0.

* Wed Jun 2 1999  Jose Mercado <jmercado mit edu>
- Fixed configure.in so spec.in could be used.

* Mon Nov 23 1998 Pablo Saratxaga <srtxg chanae alphanet ch>

- improved %files section, and added use of %{prefix} and install-info
  (well,... no. The info file has not dir info inside, commented out)


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