source: projects/specs/trunk/i/ivman/ivman-vl.spec @ 521

Revision 521, 3.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        A volume manager daemon
2Summary(ja):    ボリュームマネージャデーモン
3Name:           ivman
4Version:        0.6.14
5Release:        2%{?_dist_release}
6License:        GPL2,QPL
7URL:            http://ivman.sourceforge.net/
8Source0:        http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
9Source1:        ivman-media-checker
10Source2:        ivman-umount
11Source3:        ivman-umount.svg
12Source3:        ivman-umount-48.png
13Vendor:         Project Vine
14Distribution:   Vine Linux
15Group:          Applications/System
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  libxml2-devel
18BuildRequires:  glib-devel
19BuildRequires:  glib2-devel
20BuildRequires:  dbus-devel
21BuildRequires:  dbus-glib-devel
22BuildRequires:  hal-devel
23Requires:       pmount
24
25%description
26Ivman is a generic handler for HAL events. Originally for automounting,
27it can now be used to run arbitrary commands when events or conditions
28occur or properties are modified on your hardware (e.g., run a command
29when you close your laptop lid, run a command when a particular device is
30attached or a particular CD is inserted, etc).
31
32%description -l ja
33ivman は HAL イベントのハンドラのひとつで、自動マウントを行なうデーモン
34プログラムです。
35 ・外付けデバイスが接続された
36 ・CD が挿入された
37 ・ノート PC が閉じられた
38などのイベントに対して任意のコマンドを実行することもできます。
39起動は各ユーザごとに行う必要があります(ログインセッションや、スタートアッ
40プの最後尾が推奨)。
41この Vine パッケージには ivman がデバイスをマウントしたときに、ファイル
42マネージャで /media ディレクトリを開くスクリプト ivman-media-checker と
43アンマウント用スクリプト ivman-umount が同梱されています。
44ivman-media-checker  は ivman デーモンの起動も行います。
45
46%prep
47
48%setup -q
49
50%build
51%configure
52%__make
53
54%install
55rm -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]
67Name=ivman-umount
68Name[ja]=ivman-umount
69Comment=ivman-umount
70Comment[ja]=/media 以下のアンマウントユーティリティ
71Exec=ivman-umount
72Icon=/usr/share/pixmaps/ivman-umount.svg
73Terminal=false
74MultipleArgs=false
75Type=Application
76Categories=Applications;Utility;
77EOF
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
Note: See TracBrowser for help on using the repository browser.