base-specs/dbus-glib.spec
author yippi
Fri, 03 Sep 2010 15:17:49 +0000
branchgnome-2-30
changeset 20073 2e9acc8b32fa
parent 17864 337913e88a9d
child 21576 4d0f67f4a1db
permissions -rw-r--r--
2010-09-03 Brian Cameron <[email protected]> * base-specs/dbus-glib.spec: Update to 0.88 to fix CR #6981995.
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 dbus-glib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
17462
c85a23872109 2010-01-27 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
     4
# Copyright 2010 Sun Microsystems, Inc.
9397
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: 16045
diff changeset
     8
%define owner yippi
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
# bugdb: bugzilla.freedesktop.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
17842
1cc615f41f16 2010-04-15 Christian Kelly <[email protected]>
chrisk
parents: 17753
diff changeset
    11
1cc615f41f16 2010-04-15 Christian Kelly <[email protected]>
chrisk
parents: 17753
diff changeset
    12
%define OSR 4092:0.60
1cc615f41f16 2010-04-15 Christian Kelly <[email protected]>
chrisk
parents: 17753
diff changeset
    13
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Name:         dbus-glib
14571
a943a025a41e 2008-11-06 Brian Cameron <[email protected]>
yippi
parents: 12918
diff changeset
    15
License:      GPL v2, AFL v2.1
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17842
diff changeset
    16
Vendor:       freedesktop.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Group:        System/Libraries
20073
2e9acc8b32fa 2010-09-03 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    18
Version:      0.88
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:      Glib bindings for D-Bus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source:       http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
URL:          http://www.freedesktop.org/wiki/Software_2fdbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Docdir:	      %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Prereq:       /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%define glib2_version 2.6.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%define libxml2_version 2.6.19
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildRequires: glib2-devel >= %glib2_version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires: libxml2-devel >= %libxml2_version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
# FIXME: get python rpm: BuildRequires: python >= %python_version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires: glib2 >= %glib2_version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires: libxml2 >= %libxml2_version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Glib bindings for D-Bus.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Summary:      Simple IPC library based on messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Group:        Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires:     %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Glib bindings for D-Bus.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
  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
    58
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
16045
64e880f3bb90 2009-07-17 Brian Cameron <[email protected]>
yippi
parents: 15007
diff changeset
    63
libtoolize --force
9650
4d1a83cf35ef 2007-04-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    64
aclocal $ACLOCAL_FLAGS
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
automake -a -c -f
11139
da1e04fe9b25 2007-11-07 Padraig O'Briain <[email protected]>
padraig
parents: 10572
diff changeset
    67
export CFLAGS="%optflags -D_REENTRANT -I/usr/sfw/include"
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10278
diff changeset
    68
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
./configure --prefix=%{_prefix}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
            --includedir=%{_includedir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
            --sysconfdir=%{_sysconfdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
            --libdir=%{_libdir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
            --bindir=%{_bindir}			\
14752
a0f9e72f1b28 2008-12-11 Brian Cameron <[email protected]>
yippi
parents: 14571
diff changeset
    74
            --libexecdir=%{_libexecdir}		\
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
            --localstatedir=%{_localstatedir}	\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
            --with-dbus-user=root		\
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10278
diff changeset
    77
            --with-dbus-daemondir=%{_basedir}/lib	\
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
            --mandir=%{_mandir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
            --datadir=%{_datadir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
            --disable-static
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
make -j $CPUS \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
make DESTDIR=$RPM_BUILD_ROOT install \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
mkdir -p $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.pyo" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%clean 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%files 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%config %{_sysconfdir}/dbus-1/session.conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%config %{_sysconfdir}/dbus-1/system.conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{_libdir}/libdbus*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%{_datadir}/man/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%{_datadir}/dbus-1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%{_libdir}/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%{_includedir}/dbus-1.0/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%{_libdir}/dbus-1.0/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%{_libdir}/python?.?/vendor-packages/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%changelog
20073
2e9acc8b32fa 2010-09-03 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   119
* Fri Aug 13 2010 - [email protected]
2e9acc8b32fa 2010-09-03 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   120
- Bump to 0.88.
17753
feaad3372c8b 2010-03-23 Brian Cameron <[email protected]>
yippi
parents: 17462
diff changeset
   121
* Thu Mar 25 2010 - [email protected]
feaad3372c8b 2010-03-23 Brian Cameron <[email protected]>
yippi
parents: 17462
diff changeset
   122
- Bump to 0.86.
17462
c85a23872109 2010-01-27 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   123
* Wed Jan 27 2010 - [email protected]
c85a23872109 2010-01-27 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   124
- Bump to 0.84.
16045
64e880f3bb90 2009-07-17 Brian Cameron <[email protected]>
yippi
parents: 15007
diff changeset
   125
* Fri Jul 17 2009 - [email protected]
64e880f3bb90 2009-07-17 Brian Cameron <[email protected]>
yippi
parents: 15007
diff changeset
   126
- Bump to 0.82.
15007
9c7428a610c5 2009-02-03 Brian Cameron <[email protected]>
yippi
parents: 14752
diff changeset
   127
* Tue Feb 03 2009 - [email protected]
9c7428a610c5 2009-02-03 Brian Cameron <[email protected]>
yippi
parents: 14752
diff changeset
   128
- Bump to 0.80.
14752
a0f9e72f1b28 2008-12-11 Brian Cameron <[email protected]>
yippi
parents: 14571
diff changeset
   129
* Wed Dec 10 2008 - [email protected]
a0f9e72f1b28 2008-12-11 Brian Cameron <[email protected]>
yippi
parents: 14571
diff changeset
   130
- Bump to 0.78.
12918
a4594ae4d17c 2008-07-24 Brian Cameron - <[email protected]>
yippi
parents: 11139
diff changeset
   131
* Thu Jul 24 2008 - [email protected]
a4594ae4d17c 2008-07-24 Brian Cameron - <[email protected]>
yippi
parents: 11139
diff changeset
   132
- Bump to 0.76.  Remove upstream patch dbus-glib-01-findlaunch.diff.
a4594ae4d17c 2008-07-24 Brian Cameron - <[email protected]>
yippi
parents: 11139
diff changeset
   133
* Wed Nov 07 2007 - [email protected]
11139
da1e04fe9b25 2007-11-07 Padraig O'Briain <[email protected]>
padraig
parents: 10572
diff changeset
   134
- Add -D_REENTRANT. It was removed from SUNW spec file on Sep 28.
da1e04fe9b25 2007-11-07 Padraig O'Briain <[email protected]>
padraig
parents: 10572
diff changeset
   135
  See bugster 6615221
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10278
diff changeset
   136
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10278
diff changeset
   137
- convert to new style multi-ISA build
10278
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 10132
diff changeset
   138
* Mon Aug 06 2007 - [email protected]
f4767566e7d2 2007-08-07 Brian Cameron <[email protected]>
yippi
parents: 10132
diff changeset
   139
- Bump to 0.74.
9650
4d1a83cf35ef 2007-04-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
   140
* Sun Apr  1 2007 - [email protected]
4d1a83cf35ef 2007-04-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
   141
- add missing aclocal calls
9565
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9416
diff changeset
   142
* Wed Mar 15 2007 - [email protected]
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9416
diff changeset
   143
- Removed CC64 and CC32. They are not needed anymore
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
* Sun Feb 25 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
- updated to include 64-bit build RFE: #6480511
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Wed Feb 14 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- Bump to 0.73. Remove upstream patch 01-uninstalled-pc. Rename remainder.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Thu Nov 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- Created.