magicdev.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 5518 235b0b4aa324
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     2
# spec file for package magicdev
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     5
# This file and all modifications and additions to the pristine
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     6
# package are under the same license as the package itself.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     7
#
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
     8
Name:         magicdev
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
     9
License:      GPL
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    10
Group:        Applications/System
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    11
Version:      1.1.7
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    12
Release:      1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    13
Distribution: Java Desktop System
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
    14
Vendor:       Sun Microsystems, Inc.
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    15
Summary:      A GNOME daemon for automatically mounting/playing CDs.
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    16
Source:       magicdev-%{version}.tar.bz2
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    17
Patch1:       magicdev-01-autorun-and-subfs.diff
4539
89edb28409b0 2004-11-12 Takao Fujiwara <[email protected]>
fujiwara
parents: 4455
diff changeset
    18
Patch2:       magicdev-02-disable-CDR-DVD.diff
89edb28409b0 2004-11-12 Takao Fujiwara <[email protected]>
fujiwara
parents: 4455
diff changeset
    19
Patch3:	      magicdev-03-window-icon.diff
89edb28409b0 2004-11-12 Takao Fujiwara <[email protected]>
fujiwara
parents: 4455
diff changeset
    20
Patch4:	      magicdev-04-settings-menu-reorder.diff
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    21
Patch5:       magicdev-05-no-mount.diff
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    22
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    23
AutoReqProv:  on
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    24
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    25
%define gnome_mime_data_version 2.2.0
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    26
%define libgnomeui_version 2.2.0.1
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    27
%define libglade_version 2.0.1
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    28
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    29
Requires:      gnome-mime-data >= %{gnome_mime_data_version}
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    30
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    31
BuildRequires: libglade-devel >= %{libglade_version}
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    32
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    33
%description
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    34
Magicdev is a daemon that runs within the GNOME environment and
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    35
detects when a CD is removed or inserted. Magicdev handles running
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    36
autorun programs on the CD, updating the File Manager, and playing
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    37
audio CDs.
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    38
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    39
%prep
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    40
%setup -q
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    41
%patch1 -p1
319
cd65f3d79776 2003-06-27 Glynn Foster <[email protected]>
gman
parents: 290
diff changeset
    42
%patch2 -p1
676
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
    43
%patch3 -p1
2132
b4ced0ef78ef 2004-03-03 Balamurali Viswanathan <[email protected]>
bviswa
parents: 1876
diff changeset
    44
%patch4 -p1
4185
590dfb2c6dff Updating spec-files to include All Linguas patches
cm152228
parents: 4133
diff changeset
    45
%patch5 -p1
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    46
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    47
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    48
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    49
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    52
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    54
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    56
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    58
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    60
%configure
676
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
    61
libtoolize --force
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    62
aclocal
676
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
    63
automake -a -c -f
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
    64
autoconf
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
    65
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    66
CFLAGS="$RPM_OPT_FLAGS" \
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    67
  ./configure --prefix=%{_prefix} \
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    68
	--sysconfdir=%{_sysconfdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    69
make -j $CPUS
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    70
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    71
%install
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    72
rm -rf $RPM_BUILD_ROOT
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    73
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    74
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    75
make install DESTDIR=$RPM_BUILD_ROOT
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    76
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    77
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    78
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    79
%clean
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    81
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    82
%post
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    83
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    84
SCHEMAS="magicdev.schemas"
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    85
for S in $SCHEMAS; do
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    86
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    87
done
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    88
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    89
%files
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    90
%defattr(-,root,root)
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    91
%{_bindir}/*
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    92
%{_datadir}/control-center-2.0/capplets
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    93
%{_datadir}/magicdev
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    94
%{_datadir}/locale/*/LC_MESSAGES/*.mo
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    95
%{_sysconfdir}/gconf/schemas/*.schemas
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    96
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
    97
%changelog
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    98
* Wed Jun 15 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    99
- Bumped to 1.1.7
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   100
- Remove/Re-Apply/Merge patches
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   101
5102
722b1b4c634c 2005-02-16 Alvaro Lopez Ortega <[email protected]>
alo
parents: 5082
diff changeset
   102
* Tue Feb 15 2005 - [email protected]
722b1b4c634c 2005-02-16 Alvaro Lopez Ortega <[email protected]>
alo
parents: 5082
diff changeset
   103
- Added magicdev-10-autorun.diff for Cinnabar to fix 6227215.
722b1b4c634c 2005-02-16 Alvaro Lopez Ortega <[email protected]>
alo
parents: 5082
diff changeset
   104
  Approved by Niall.
722b1b4c634c 2005-02-16 Alvaro Lopez Ortega <[email protected]>
alo
parents: 5082
diff changeset
   105
4920
0cbc4ee6ba0a 2005-01-24 Ghee Teo <[email protected]>
gheet
parents: 4906
diff changeset
   106
* Tue Jan 24 2005 - [email protected]
0cbc4ee6ba0a 2005-01-24 Ghee Teo <[email protected]>
gheet
parents: 4906
diff changeset
   107
- Added magicdev-09-handle-subfs.diff for Cinnabar to fix 6199800.
0cbc4ee6ba0a 2005-01-24 Ghee Teo <[email protected]>
gheet
parents: 4906
diff changeset
   108
  Patch produced by Alo and tested by me.
0cbc4ee6ba0a 2005-01-24 Ghee Teo <[email protected]>
gheet
parents: 4906
diff changeset
   109
4906
c17dece4e7f6 * magicdev.spec: Fix typo in %changelog date.
dc144907
parents: 4892
diff changeset
   110
* Fri Jan 21 2005 - [email protected]
4892
3468317ceb5e 2005-01-21 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4867
diff changeset
   111
- Added magicdev-08-no-mount.diff to fix bug #6219527
3468317ceb5e 2005-01-21 Alvaro Lopez Ortega <[email protected]>
alo
parents: 4867
diff changeset
   112
4539
89edb28409b0 2004-11-12 Takao Fujiwara <[email protected]>
fujiwara
parents: 4455
diff changeset
   113
* Fri Nov 05 2004 - [email protected]
89edb28409b0 2004-11-12 Takao Fujiwara <[email protected]>
fujiwara
parents: 4455
diff changeset
   114
- Added magicdev-07-g11n-autorun.diff to fix autorun.
89edb28409b0 2004-11-12 Takao Fujiwara <[email protected]>
fujiwara
parents: 4455
diff changeset
   115
4185
590dfb2c6dff Updating spec-files to include All Linguas patches
cm152228
parents: 4133
diff changeset
   116
* Thu Oct 07 2004 - [email protected]
590dfb2c6dff Updating spec-files to include All Linguas patches
cm152228
parents: 4133
diff changeset
   117
- Added magicdev-06-g11n_alllinguas.diff to add ko locale
590dfb2c6dff Updating spec-files to include All Linguas patches
cm152228
parents: 4133
diff changeset
   118
3279
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   119
* Thu Jul 08 2004 - [email protected]
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   120
- Updated l10n content to magicdev-l10n-po-1.2.tar.bz2
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   121
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   122
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   123
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   124
3021
01706d0ffae2 2004-06-07 Kaushal Kumar <[email protected]>
kaushal
parents: 2958
diff changeset
   125
* Mon Jun 07 2004 - [email protected]
01706d0ffae2 2004-06-07 Kaushal Kumar <[email protected]>
kaushal
parents: 2958
diff changeset
   126
- Updated patch magicdev-05-help.diff with 
01706d0ffae2 2004-06-07 Kaushal Kumar <[email protected]>
kaushal
parents: 2958
diff changeset
   127
  the correct xml filename.
01706d0ffae2 2004-06-07 Kaushal Kumar <[email protected]>
kaushal
parents: 2958
diff changeset
   128
2736
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   129
* Wed May 12 2004 - [email protected]
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   130
- Updated l10n content to magicdev-l10n-po-1.1.tar.bz2
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   131
2355
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   132
* Wed Mar 31 2004 - [email protected]
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   133
- replace tar jxf with the more solaris friendly
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   134
  bzcat piped through tar
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   135
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   136
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   137
- Updated l10n content to magicdev-l10n-po-1.0.tar.bz2
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   138
2133
e4183e095b36 Corrected the date in the changelog entry
bviswa
parents: 2132
diff changeset
   139
* Wed Mar 03 2004  <[email protected]>
2132
b4ced0ef78ef 2004-03-03 Balamurali Viswanathan <[email protected]>
bviswa
parents: 1876
diff changeset
   140
- Added a help button to the cd device options capplet
b4ced0ef78ef 2004-03-03 Balamurali Viswanathan <[email protected]>
bviswa
parents: 1876
diff changeset
   141
1625
e6b6ed8e16c3 Bump to 1.1.5, reapply patches, l10n 0.7 tarball
mattk
parents: 1609
diff changeset
   142
* Wed Feb 11 2004 Matt Keenan <[email protected]>
e6b6ed8e16c3 Bump to 1.1.5, reapply patches, l10n 0.7 tarball
mattk
parents: 1609
diff changeset
   143
- Bump to 1.1.5, re-apply patches 3 & 4. Add l10n 0.7
e6b6ed8e16c3 Bump to 1.1.5, reapply patches, l10n 0.7 tarball
mattk
parents: 1609
diff changeset
   144
676
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
   145
* Mon Jul 21 2003 Glynn Foster <[email protected]>
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
   146
- Add patch for settings menu reordering
0081c50111a6 2003-07-21 Glynn Foster <[email protected]>
gman
parents: 575
diff changeset
   147
321
29c4819cb054 gar, forgot to bump
gman
parents: 319
diff changeset
   148
* Fri Jun 27 2003 Glynn Foster <[email protected]>
29c4819cb054 gar, forgot to bump
gman
parents: 319
diff changeset
   149
- Add patch for a nice little window icon
29c4819cb054 gar, forgot to bump
gman
parents: 319
diff changeset
   150
244
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
   151
* Fri May 30 2003 Niall Power <[email protected]>
f396ce6db66d 2003-05-29 Niall Power <[email protected]>
niall
parents:
diff changeset
   152
- Initial Sun release.