libgnome.spec
author erwannc
Wed, 03 Sep 2003 11:53:05 +0000
changeset 1116 234a4cdec668
parent 1115 d2c062bf5cb6
child 1119 3efad2671fd8
permissions -rw-r--r--
2003-09-03 Erwann Chenede - <[email protected]> *libgnome.spec: bumped release. patches/libgnome-01-default-background.diff: ext-sources/Sun-Default.png: new background image again. *sun-gdm-themes.spec: new version. *gnome-panel.spec: bumped release. *ext-sources/gnome-panel-menu-stripe.png: new menu stripe image. *gdm.spec: bumped release. *patches/gdm-01-sun-branded-greeter.diff: changed default theme. *gnome-session.spec: bumped release. *ext-sources/gnome-splash.png: new splash screen.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     1
Name:         libgnome
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     2
License:      LGPL
150
gman
parents: 132
diff changeset
     3
Group:        System/Libraries/GNOME
1003
a3e112c39abc 2003-08-07 Glynn Foster <[email protected]>
gman
parents: 1001
diff changeset
     4
Version:      2.2.3
1116
234a4cdec668 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents: 1115
diff changeset
     5
Release:      11
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
     6
Distribution: Mercury
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 569
diff changeset
     7
Vendor:       Sun Microsystems, Inc.
150
gman
parents: 132
diff changeset
     8
Summary:      GNOME Base Library
1001
ddcdc50c16ca 2003-08-07 Glynn Foster <[email protected]>
gman
parents: 831
diff changeset
     9
Source:       http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.2/libgnome-%{version}.tar.bz2
792
4e77e3975c51 changing backgrounds to jpg
lk86177
parents: 759
diff changeset
    10
Source1:      backgrounds.tar.bz2
523
d6c177eb8313 Added more .po tarballs
mick
parents: 424
diff changeset
    11
Source2:      libgnome-l10n-po.tar.bz2
1116
234a4cdec668 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents: 1115
diff changeset
    12
Source3:      Sun-Default.png
420
1ee3d8df2590 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 376
diff changeset
    13
Patch0:       libgnome-01-default-background.diff
424
8e07d4107d8e 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 422
diff changeset
    14
Patch1:       libgnome-02-default-theme.diff
569
b63182ee420f updating the POTFILES.in so intltool-update can be run.
mick
parents: 552
diff changeset
    15
Patch2:       libgnome-03-potfiles_in.diff
150
gman
parents: 132
diff changeset
    16
URL:          http://www.gnome.org
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    17
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
150
gman
parents: 132
diff changeset
    18
Docdir:	      %{_defaultdocdir}/doc
gman
parents: 132
diff changeset
    19
Autoreqprov:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1076
diff changeset
    20
Prereq:       /sbin/ldconfig
150
gman
parents: 132
diff changeset
    21
195
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    22
%define GConf_version 2.2.0
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    23
%define gnome_vfs_version 2.2.3
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    24
%define libbonobo_version 2.2.1
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    25
%define libxslt_version 1.0.19
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    26
%define audiofile_version 0.2.3
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    27
%define esound_version 0.2.28
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    28
%define gtk_doc_version 1.0
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    29
%define popt_version 1.6.4
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    30
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    31
BuildRequires: GConf-devel >= %{GConf_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    32
BuildRequires: libbonobo-devel >= %{libbonobo_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    33
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    34
BuildRequires: libxslt-devel >= %{libxslt_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    35
BuildRequires: esound-devel >= %{esound_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    36
BuildRequires: audiofile-devel >= %{audiofile_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    37
BuildRequires: gtk-doc >= %{gtk_doc_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    38
BuildRequires: popt-devel >= %{popt_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    39
Requires:      GConf >= %{GConf_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    40
Requires:      libbonobo >= %{libbonobo_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    41
Requires:      esound >= %{esound_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    42
Requires:      audiofile >= %{audiofile_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    43
Requires:      libxslt >= %{libxslt_version}
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    44
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    45
%description
150
gman
parents: 132
diff changeset
    46
libgnome is one of the base GNOME libraries, containing convenient API for
gman
parents: 132
diff changeset
    47
configuration, help, initialization and web links, all specific to the 
gman
parents: 132
diff changeset
    48
GNOME desktop.
gman
parents: 132
diff changeset
    49
gman
parents: 132
diff changeset
    50
%package devel
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 150
diff changeset
    51
Summary:      GNOME Base Development Library
150
gman
parents: 132
diff changeset
    52
Group:        Development/Libraries/GNOME
gman
parents: 132
diff changeset
    53
Requires:     %name = %version-%release
195
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    54
Requires:     popt-devel >= %{popt_version}
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    55
Requires:     libbonobo-devel >= %{libbonobo_version}
150
gman
parents: 132
diff changeset
    56
gman
parents: 132
diff changeset
    57
%description devel
gman
parents: 132
diff changeset
    58
libgnome is one of the base GNOME libraries, containing convenient API for
gman
parents: 132
diff changeset
    59
configuration, help, initialization and web links, all specific to the 
gman
parents: 132
diff changeset
    60
GNOME desktop.
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    61
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    62
%prep
150
gman
parents: 132
diff changeset
    63
%setup
421
c6c7f2fb7d65 forgot to bump, changelog
gman
parents: 420
diff changeset
    64
%patch0
424
8e07d4107d8e 2003-07-03 Glynn Foster <[email protected]>
gman
parents: 422
diff changeset
    65
%patch1 -p1
759
f3e8f566f49b libgnome-04-background.diff added
lk86177
parents: 605
diff changeset
    66
tar -jxf %SOURCE1
523
d6c177eb8313 Added more .po tarballs
mick
parents: 424
diff changeset
    67
tar -jxf %SOURCE2
569
b63182ee420f updating the POTFILES.in so intltool-update can be run.
mick
parents: 552
diff changeset
    68
%patch2 -p1
128
4b599d7bc9b5 2003-05-15 Glynn Foster <[email protected]>
gman
parents: 37
diff changeset
    69
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    70
%build
605
0ec3409e6414 2003-07-16 Mark McLoughlin <[email protected]>
markmc
parents: 575
diff changeset
    71
CFLAGS="$RPM_OPT_FLAGS"		\
152
8f0ff1910505 2003-05-26 Glynn Foster <[email protected]>
gman
parents: 150
diff changeset
    72
./configure --prefix=%{_prefix}		\
195
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    73
            --sysconfdir=%{_sysconfdir} \
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
    74
            --disable-gtk-doc
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    75
make
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    76
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    77
%install
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    78
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1   
150
gman
parents: 132
diff changeset
    79
make DESTDIR=$RPM_BUILD_ROOT install
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    80
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL  
150
gman
parents: 132
diff changeset
    81
376
1790730b2ddc 2003-07-01 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    82
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/backgrounds
759
f3e8f566f49b libgnome-04-background.diff added
lk86177
parents: 605
diff changeset
    83
cp $RPM_BUILD_DIR/%{name}-%{version}/backgrounds/* $RPM_BUILD_ROOT/usr/share/pixmaps/backgrounds
1103
e18261d382b6 2003-08-20 Erwann Chenede - <[email protected]>
erwannc
parents: 1080
diff changeset
    84
cp %SOURCE3 $RPM_BUILD_ROOT/usr/share/pixmaps/backgrounds
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    85
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    86
%clean 
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    87
rm -rf $RPM_BUILD_ROOT
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
    88
150
gman
parents: 132
diff changeset
    89
%post
gman
parents: 132
diff changeset
    90
/sbin/ldconfig
gman
parents: 132
diff changeset
    91
SCHEMAS="desktop_gnome_accessibility_keyboard.schemas		\
gman
parents: 132
diff changeset
    92
	 desktop_gnome_applications_browser.schemas		\
gman
parents: 132
diff changeset
    93
	 desktop_gnome_applications_help_viewer.schemas		\
gman
parents: 132
diff changeset
    94
	 desktop_gnome_applications_terminal.schemas		\
gman
parents: 132
diff changeset
    95
	 desktop_gnome_applications_window_manager.schemas	\
gman
parents: 132
diff changeset
    96
	 desktop_gnome_background.schemas			\
gman
parents: 132
diff changeset
    97
	 desktop_gnome_file_views.schemas			\
gman
parents: 132
diff changeset
    98
	 desktop_gnome_interface.schemas			\
gman
parents: 132
diff changeset
    99
	 desktop_gnome_peripherals_keyboard.schemas		\
gman
parents: 132
diff changeset
   100
	 desktop_gnome_peripherals_mouse.schemas		\
gman
parents: 132
diff changeset
   101
	 desktop_gnome_sound.schemas				\
gman
parents: 132
diff changeset
   102
	 desktop_gnome_thumbnailers.schemas			\
gman
parents: 132
diff changeset
   103
	 desktop_gnome_url_handlers.schemas"
gman
parents: 132
diff changeset
   104
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gman
parents: 132
diff changeset
   105
for S in $SCHEMAS; do
gman
parents: 132
diff changeset
   106
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
gman
parents: 132
diff changeset
   107
done
gman
parents: 132
diff changeset
   108
gman
parents: 132
diff changeset
   109
%postun
gman
parents: 132
diff changeset
   110
/sbin/ldconfig
gman
parents: 132
diff changeset
   111
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   112
%files 
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   113
%defattr(-, root, root)
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   114
%{_datadir}/locale/*/LC_MESSAGES/*.mo
195
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   115
%{_libdir}/gnome-vfs-2.0/modules/*.so
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   116
%{_sysconfdir}/sound/events/*.soundlist
150
gman
parents: 132
diff changeset
   117
%{_sysconfdir}/gconf/schemas/*
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   118
%{_libdir}/libgnome*so.*
195
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   119
%{_libdir}/bonobo/monikers/*so*
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   120
%{_libexecdir}/*
422
6eb423fdb5b5 doh, fix compilation
gman
parents: 421
diff changeset
   121
%{_datadir}/pixmaps/backgrounds/*
132
057e217c765a fix background
stephen
parents: 131
diff changeset
   122
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   123
%files devel
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   124
%defattr(-, root, root)
195
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   125
%{_libdir}/pkgconfig/libgnome-2.0.pc
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   126
%{_includedir}/libgnome-2.0/libgnome/*.h
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   127
%{_datadir}/gtk-doc/*
9acd33cca7a9 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 152
diff changeset
   128
%{_datadir}/sgml/*
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   129
%{_libdir}/libgnome*so
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   130
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   131
%changelog -n libgnome
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   132
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   133
- move lib*.so to -devel, remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   134
1003
a3e112c39abc 2003-08-07 Glynn Foster <[email protected]>
gman
parents: 1001
diff changeset
   135
* Thu Aug 07 2003 - [email protected]
a3e112c39abc 2003-08-07 Glynn Foster <[email protected]>
gman
parents: 1001
diff changeset
   136
- Update tarball, reset release, bump version.
a3e112c39abc 2003-08-07 Glynn Foster <[email protected]>
gman
parents: 1001
diff changeset
   137
759
f3e8f566f49b libgnome-04-background.diff added
lk86177
parents: 605
diff changeset
   138
* Thu Jul 24 2003 - [email protected]
f3e8f566f49b libgnome-04-background.diff added
lk86177
parents: 605
diff changeset
   139
- added libgnome-04-background.diff
1003
a3e112c39abc 2003-08-07 Glynn Foster <[email protected]>
gman
parents: 1001
diff changeset
   140
523
d6c177eb8313 Added more .po tarballs
mick
parents: 424
diff changeset
   141
* Thu Jul 10 2003 - [email protected]
d6c177eb8313 Added more .po tarballs
mick
parents: 424
diff changeset
   142
- Added .po tarball
d6c177eb8313 Added more .po tarballs
mick
parents: 424
diff changeset
   143
421
c6c7f2fb7d65 forgot to bump, changelog
gman
parents: 420
diff changeset
   144
* Thu Jul 03 2003 - [email protected]
c6c7f2fb7d65 forgot to bump, changelog
gman
parents: 420
diff changeset
   145
- Remove the joint theme/background patch and separate them
c6c7f2fb7d65 forgot to bump, changelog
gman
parents: 420
diff changeset
   146
  out
c6c7f2fb7d65 forgot to bump, changelog
gman
parents: 420
diff changeset
   147
37
03143f5d1d25 2003-05-13 Niall Power <[email protected]>
niall
parents:
diff changeset
   148
* Wed Apr 30 2003 - [email protected]
150
gman
parents: 132
diff changeset
   149
- Create new spec file for libgnome