author | dc144907 |
Mon, 16 Aug 2004 14:32:59 +0000 | |
changeset 3577 | 310050b35732 |
parent 3348 | 26eb685038fa |
child 3678 | be7c99a8e39f |
permissions | -rw-r--r-- |
2762 | 1 |
# |
2 |
# spec file for package SUNWgnome-rmm-utils |
|
3 |
# |
|
4 |
# includes module(s): gnome-volcheck |
|
5 |
# |
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
||
11 |
%include Solaris.inc |
|
12 |
Name: SUNWgnome-rmm-utils |
|
13 |
Summary: GNOME removable media utility |
|
14 |
Version: 2.6.0 |
|
15 |
%define tarball_version 0.1 |
|
16 |
Release: 1 |
|
17 |
Source: gnome-rmm-utils-%{tarball_version}.tar.bz2 |
|
2998 | 18 |
Source1: gnome-volcheck.1 |
2762 | 19 |
SUNW_BaseDir: %{_prefix} |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
2998 | 21 |
|
22 |
%package share |
|
23 |
Summary: GNOME removable media utility |
|
24 |
SUNW_BaseDir: %{_basedir} |
|
25 |
%include default-depend.inc |
|
26 |
||
2762 | 27 |
%include default-depend.inc |
28 |
Requires: SUNWgnome-base-libs |
|
29 |
||
30 |
%description |
|
31 |
The rmm-utils is a set of media utilities. Currently, it contains only |
|
32 |
gnome-volcheck, which is an application in Solaris, which checks for any |
|
33 |
removable media insertion and by default, opens it in an application. |
|
34 |
It is started from the GNOME Xinitrc file under /usr/dt/config. It watches |
|
35 |
continuously for the media inserted by monitoring the NOTIFY_PIPE, i.e. |
|
36 |
/tmp/.removable/notifyXXXX, created by itself. When a new media is |
|
37 |
inserted into a drive, Volume Management will inform GNOME about this |
|
38 |
event by creating a notification file under NOTIFY_DIR, /tmp/.removable, |
|
39 |
and by writing a single letter corresponding to the event into the |
|
40 |
NOTIFY_PIPE. Then gnome-volcheck, which is continously polling on the |
|
41 |
NOTIFY_PIPE, executes the corresponding action based on the type and |
|
42 |
state of the media inserted. |
|
43 |
||
44 |
%prep |
|
45 |
%setup -c -n %name-%tarball_version |
|
46 |
||
47 |
%build |
|
48 |
cd gnome-rmm-utils-%{tarball_version} |
|
3184 | 49 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
2762 | 50 |
export CFLAGS="%optflags" |
51 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
52 |
./configure --prefix=%{_prefix} |
|
53 |
||
54 |
%install |
|
55 |
cd gnome-rmm-utils-%{tarball_version} |
|
56 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
2998 | 57 |
|
58 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
|
59 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
60 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
2762 | 61 |
|
62 |
%clean |
|
63 |
rm -rf $RPM_BUILD_ROOT |
|
64 |
||
65 |
%files |
|
66 |
%defattr (-, root, other) |
|
67 |
%dir %attr (0755, root, bin) %{_bindir} |
|
68 |
%{_bindir}/* |
|
69 |
||
2998 | 70 |
%files share |
71 |
%defattr (-, root, other) |
|
72 |
%dir %attr (0755, root, sys) %{_datadir} |
|
73 |
%dir %attr(0755, root, bin) %{_mandir} |
|
74 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
75 |
%{_mandir}/*/* |
|
76 |
||
2762 | 77 |
%changelog |
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
78 |
* Mon Aug 16 2004 - [email protected] |
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
79 |
- Changed SOURCE1 mode to 0755 for Solaris integration. |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
80 |
* Tue Jun 22 2004 - [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
81 |
- changed install location to /usr/lib and /usr/bin |
2998 | 82 |
* Wed Jun 02 2004 - [email protected] |
83 |
- Added gnome-volcheck man page. |
|
2762 | 84 |
* Fri May 14 2004 - <[email protected]> |
85 |
- initial version of spec file |