libgnome.spec
author niall
Tue, 13 May 2003 15:22:37 +0000
changeset 37 03143f5d1d25
child 128 4b599d7bc9b5
permissions -rw-r--r--
2003-05-13 Niall Power <[email protected]> * lignome.spec: new file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     1
#
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     2
# spec file for package libgnome (Version 2.2.0.1)
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     3
#
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     4
# Copyright (c) 2003 Sun Microsystems Inc.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     6
# package are under the same license as the package itself.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     7
#
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     8
# This header file needs to be a Sun standard one that will
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     9
# have to contain all that boring legal stuff.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    10
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    11
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    12
Name:         libgnome
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    13
License:      LGPL
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    14
Group:        Development/Libraries/GNOME
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    15
Autoreqprov:  on
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    16
Version:      2.2.0.1
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    17
Release:      1
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    18
Distribution: Mercury
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    19
Vendor:       Sun Microsystems Inc.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    20
Summary:      The GNOME 2.2 base libraries
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    21
URL:          http://www.gnome.org/
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    22
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    23
Source:       ftp://ftp.gnome.org/pub/gnome/sources/libgnome/libgnome-%{version}.tar.bz2
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    24
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    25
%description
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    26
This package contains the basic libraries for the GNOME 2.2 platform.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    27
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    28
%prep
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    29
%setup -q
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    30
libtoolize --force
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    31
aclocal -I . -I /usr/share/aclocal/gnome2-macros
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    32
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    33
# automake -a -f
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    34
autoconf
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    35
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    36
%build
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    37
CFLAGS="$RPM_OPT_FLAGS" \
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    38
%configure \
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    39
	--disable-gtk-doc
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    40
make
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    41
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    42
%install
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    43
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1   
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    44
make -i install DESTDIR=$RPM_BUILD_ROOT
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    45
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL  
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    46
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    47
%post
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    48
scrollkeeper-update
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    49
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    50
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas desktop_gnome_applications_browser.schemas desktop_gnome_applications_help_viewer.schemas desktop_gnome_applications_terminal.schemas desktop_gnome_applications_window_manager.schemas desktop_gnome_background.schemas desktop_gnome_file_views.schemas desktop_gnome_interface.schemas desktop_gnome_peripherals_keyboard.schemas desktop_gnome_peripherals_mouse.schemas desktop_gnome_sound.schemas desktop_gnome_thumbnailers.schemas desktop_gnome_url_handlers.schemas"
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    51
for S in $SCHEMAS; do
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    52
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    53
done
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    54
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    55
%clean 
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    57
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    58
%files 
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    59
%defattr(-, root, root)
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    60
%doc AUTHORS COPYING ChangeLog NEWS README
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    61
%{_datadir}/locale/*/LC_MESSAGES/*.mo
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    62
%{_sysconfdir}/gnome-vfs-2.0/modules/*
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    63
%{_sysconfdir}/sound/events/*.soundlist
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    64
%{_libexecdir}/*
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    65
%config %{_sysconfdir}/gconf/schemas/*
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    66
%{_libdir}/*so*
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    67
%package devel
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    68
Summary:      Libraries, etc. to develop GNOME 2.2 applications
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    69
Group:        Development/Libraries/GNOME
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    70
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    71
%description devel
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    72
Libraries, Includes, etc. to develop own GNOME 2.2 based applications or to
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    73
compile other GNOME 2.2 packages.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    74
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    75
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    76
%files devel
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    77
%defattr(-, root, root)
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    78
%{_libdir}/pkgconfig/libgnome-2.0.pc
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    79
%{_includedir}/libgnome-2.0
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    80
%{_libdir}/*a
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    81
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    82
%package doc
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    83
Summary:      Documentation for the GNOME 2.2 base libraries
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    84
Group:        Development/Libraries/GNOME
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    85
Requires:     %{name} = %{version}-%{release}
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    86
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    87
%description doc
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    88
This package contains the documentation for the basic libraries for the GNOME 2.0 platform.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    89
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    90
%files doc
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    91
%{_datadir}/gtk-doc/html/libgnome
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    92
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    93
%changelog -n libgnome
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    94
* Wed Apr 30 2003 - [email protected]
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    95
- Changed to use standard prefixes.
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    96
* Wed Apr 30 2003 - [email protected]
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    97
- updated to version 2.2.0.1