[521] | 1 | Summary: A volume manager daemon |
---|
| 2 | Summary(ja): ボリュームマネージャデーモン |
---|
| 3 | Name: ivman |
---|
| 4 | Version: 0.6.14 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | License: GPL2,QPL |
---|
| 7 | URL: http://ivman.sourceforge.net/ |
---|
| 8 | Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2 |
---|
| 9 | Source1: ivman-media-checker |
---|
| 10 | Source2: ivman-umount |
---|
| 11 | Source3: ivman-umount.svg |
---|
| 12 | Source3: ivman-umount-48.png |
---|
| 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | Group: Applications/System |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: libxml2-devel |
---|
| 18 | BuildRequires: glib-devel |
---|
| 19 | BuildRequires: glib2-devel |
---|
| 20 | BuildRequires: dbus-devel |
---|
| 21 | BuildRequires: dbus-glib-devel |
---|
| 22 | BuildRequires: hal-devel |
---|
| 23 | Requires: pmount |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | Ivman is a generic handler for HAL events. Originally for automounting, |
---|
| 27 | it can now be used to run arbitrary commands when events or conditions |
---|
| 28 | occur or properties are modified on your hardware (e.g., run a command |
---|
| 29 | when you close your laptop lid, run a command when a particular device is |
---|
| 30 | attached or a particular CD is inserted, etc). |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | ivman は HAL イベントのハンドラのひとつで、自動マウントを行なうデーモン |
---|
| 34 | プログラムです。 |
---|
| 35 | ・外付けデバイスが接続された |
---|
| 36 | ・CD が挿入された |
---|
| 37 | ・ノート PC が閉じられた |
---|
| 38 | などのイベントに対して任意のコマンドを実行することもできます。 |
---|
| 39 | 起動は各ユーザごとに行う必要があります(ログインセッションや、スタートアッ |
---|
| 40 | プの最後尾が推奨)。 |
---|
| 41 | この Vine パッケージには ivman がデバイスをマウントしたときに、ファイル |
---|
| 42 | マネージャで /media ディレクトリを開くスクリプト ivman-media-checker と |
---|
| 43 | アンマウント用スクリプト ivman-umount が同梱されています。 |
---|
| 44 | ivman-media-checker は ivman デーモンの起動も行います。 |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | |
---|
| 48 | %setup -q |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | %configure |
---|
| 52 | %__make |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | %__make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 57 | %__install -m 755 %{SOURCE1} %{SOURCE2} %{buildroot}%{_bindir} |
---|
| 58 | |
---|
| 59 | # icons |
---|
| 60 | %__mkdir_p %{buildroot}%{_datadir}/pixmaps |
---|
| 61 | %__cp -a %{_sourcedir}/ivman-umount.svg %{_sourcedir}/ivman-umount-48.png %{buildroot}%{_datadir}/pixmaps |
---|
| 62 | |
---|
| 63 | # desktop menu entry |
---|
| 64 | %__mkdir -p %{buildroot}%{_datadir}/applications |
---|
| 65 | %__cat > %{buildroot}%{_datadir}/applications/ivman-umount.desktop <<EOF |
---|
| 66 | [Desktop Entry] |
---|
| 67 | Name=ivman-umount |
---|
| 68 | Name[ja]=ivman-umount |
---|
| 69 | Comment=ivman-umount |
---|
| 70 | Comment[ja]=/media 以下のアンマウントユーティリティ |
---|
| 71 | Exec=ivman-umount |
---|
| 72 | Icon=/usr/share/pixmaps/ivman-umount.svg |
---|
| 73 | Terminal=false |
---|
| 74 | MultipleArgs=false |
---|
| 75 | Type=Application |
---|
| 76 | Categories=Applications;Utility; |
---|
| 77 | EOF |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 81 | |
---|
| 82 | %files |
---|
| 83 | %defattr(-,root,root) |
---|
| 84 | %doc README COPYING TODO ChangeLog |
---|
| 85 | %{_sysconfdir}/* |
---|
| 86 | %{_bindir}/* |
---|
| 87 | %{_datadir}/man/* |
---|
| 88 | %{_datadir}/locale/* |
---|
| 89 | %{_datadir}/pixmaps/* |
---|
| 90 | %{_datadir}/applications/ivman-umount.desktop |
---|
| 91 | |
---|
| 92 | %changelog |
---|
| 93 | * Sat Sep 12 2009 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 0.6.14-2 |
---|
| 94 | - rebuild by genuine Vine Linux 6.0 (+VineSeed) (Haut Brion) |
---|
| 95 | |
---|
| 96 | * Wed Aug 19 2009 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 0.6.14-1 |
---|
| 97 | - initial build for Vine Linux |
---|