base-specs/libglade.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 17865 b7ff02e93f66
child 18269 5218a1567988
child 20368 486a51627a23
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package libglade
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16430
diff changeset
     8
%define owner erwannc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15424
diff changeset
    10
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15424
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         libglade
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
License:      LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Group:        System/Libraries/GNOME
15424
ebdd5add8836 * base-specs/libglade.spec: Bump to 2.6.4.
davelam
parents: 13228
diff changeset
    16
Version:      2.6.4
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Distribution: Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    19
Vendor:       Gnome Community
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:      Library for loading GLADE interfaces at runtime
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Source:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
URL:          http://www.daa.com.au/~james/gnome/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Docdir:       %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Prereq:       /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%define gtk2_version 2.5.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%define libxml2_version 2.6.7
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%define python_xml_version 2.3.3 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires: gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires: libxml2 >= %{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRequires: gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRequires: libxml2-devel >= %{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires: python-xml >= %{python_xml_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
This library allows you to load glade interface files in a program at runtime.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Summary:      Development library for loading GLADE interfaces at runtime
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Group:        Development/Libraries/GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires:     %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires:     gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires:     libxml2-devel >= %{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires:     python-xml >= %{python_xml_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
This library allows you to load glade interface files in a program at runtime.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
CONFLAGS="--prefix=%{_prefix}"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
gtkdocize
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
aclocal $ACLOCAL_FLAGS -I ./m4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
autoheader
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
autoconf
9576
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    76
export CFLAGS="%{optflags}"
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    77
export LDFLAGS="%{_ldflags}"
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    78
./configure --prefix=%{_prefix}		\
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
            --sysconfdir=%{_sysconfdir} \
9576
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    80
            --libdir=%{_libdir}         \
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    81
            --bindir=%{_bindir}         \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
            %{gtk_doc_option}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
rm $RPM_BUILD_ROOT%{_libdir}/*.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
rm $RPM_BUILD_ROOT%{_libdir}/*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%files 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_libdir}/lib*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%{_libdir}/lib*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{_includedir}/libglade-2.0/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%{_libdir}/pkgconfig/*.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%{_datadir}/gtk-doc/html/libglade
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%{_datadir}/xml/libglade
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%{_mandir}/man3/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%changelog
15424
ebdd5add8836 * base-specs/libglade.spec: Bump to 2.6.4.
davelam
parents: 13228
diff changeset
   113
* Wed Mar 18 2009 - [email protected]
ebdd5add8836 * base-specs/libglade.spec: Bump to 2.6.4.
davelam
parents: 13228
diff changeset
   114
- Bump to 2.6.4
13228
0dddaa3cbdf5 2008-08-21 Dave Lin <[email protected]>
davelam
parents: 12094
diff changeset
   115
* Tue Aug 19 2008 - [email protected]
0dddaa3cbdf5 2008-08-21 Dave Lin <[email protected]>
davelam
parents: 12094
diff changeset
   116
- Bump to 2.6.3
10238
56fbd3bc2aae 2007-07-31 Damien Carbery <[email protected]>
dcarbery
parents: 10209
diff changeset
   117
* Tue Jul 31 2007 - [email protected]
56fbd3bc2aae 2007-07-31 Damien Carbery <[email protected]>
dcarbery
parents: 10209
diff changeset
   118
- Bump to 2.6.2. Remove upstream patch, 01-gtk-tooltips.
10209
280bfdaa4526 2007-07-24 Damien Carbery <[email protected]>
dcarbery
parents: 10076
diff changeset
   119
* Tue Jul 24 2007 - [email protected]
280bfdaa4526 2007-07-24 Damien Carbery <[email protected]>
dcarbery
parents: 10076
diff changeset
   120
- Add upstream patch, 01-gtk-tooltips, to fix build failure. Bugzilla: 455566.
10076
106c07853b64 2007-06-19 Damien Carbery <[email protected]>
dcarbery
parents: 9576
diff changeset
   121
* Tue Jun 19 2007 - [email protected]
106c07853b64 2007-06-19 Damien Carbery <[email protected]>
dcarbery
parents: 9576
diff changeset
   122
- Bump to 2.6.1.
9576
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
   123
* Thu Mar 15 2007 - [email protected]
8b6438adb524 2007-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
   124
- convert to new style of building multiple ISAs as per docs/multi-ISA.txt
9565
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9400
diff changeset
   125
* Wed Mar 15 2007 - [email protected]
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9400
diff changeset
   126
- Removed adding ccdir to PATH
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Fri Nov  3 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- use %gtk_doc_option in configure so that it can be disabled using
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
  --without-gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Thu Jul 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Bump to 2.6.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Wed Aug 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Add _bindir to %files devel to pick up libglade-convert.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Fri May 06 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- Add "-I ./m4" to the ACLOCAL_FLAGS since it is needed to build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
  on Solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Fri May 05 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- Bump to 2.5.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Fri Oct 29 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- use $CC64 for the 64-bit build if defined
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
- Create 64bit libraries for Solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- added --enable-gtk-doc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
* Wed Jul 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
- Ported to rpm4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
* Wed Jul 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
- added "-j $CPUS" to make to speed up builds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
* Tue Mar 16 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
- Bump to 2.3.6
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
* Wed Feb 25 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
- use the jds versions of the autotools
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
* Wed Feb 25 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
- autotoolize
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
* Wed Feb 18 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
- Bump to 2.3.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
* Mon Dec 15 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
- Bump to 2.3.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
* Mon Oct 6 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
- upped some dep version numbers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
* Thu Aug 14 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
- move lib*.so to -devel, remove *.a, *.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
* Tue May 13 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
- Initial Sun Spec File