source: projects/specs/trunk/n/nautilus-mount-image/nautilus-mount-image-vl.spec @ 3140

Revision 3140, 1.3 KB checked in by iwaim, 13 years ago (diff)

nautilus-mount-image 0.2.0-1

Line 
1%define origbasever 0.2.0
2%define origrev     1
3%define rel         1
4
5%define jaPOdir     po/ja_JP/LC_MESSAGES
6
7Name: nautilus-mount-image
8Version: %{origbasever}
9Release: %{rel}%{?_dist_release}
10Summary: mounting ISO image extensions for Nautilus
11Summary(ja): NautilusのISOイメージマウント 拡張
12Group: User Interface/Desktops
13License: GPLv2+
14URL: http://mundogeek.net/nautilus-scripts/
15Source0: https://edge.launchpad.net/%7Ezootropo/+archive/+files/%{name}_%{origbasever}-%{origrev}.tar.gz
16Source1: nautilus-mount-image-ja.po
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildArch: noarch
19BuildRequires: gettext
20Requires: python, nautilus-python
21
22%description
23This program adds a new entry to the contextual menu which allows us to
24mount and unmount the selected CD or DVD image.
25
26%prep
27%setup -q -n %{name}-%{version}
28# ja.po
29%{__mkdir_p} %{jaPOdir}
30%{__cp} %{SOURCE1} %{jaPOdir}/%{name}.po
31pushd %{jaPOdir}
32msgfmt %{name}.po -o %{name}.mo
33popd
34
35%install
36rm -rf %{buildroot}
37%makeinstall DESTDIR=%{buildroot}
38
39%{find_lang} %{name}
40
41%clean
42rm -rf %{buildroot}
43
44%files -f %{name}.lang
45%defattr(-,root,root,-)
46%doc COPYING changelog
47%{_libdir}/nautilus/extensions-2.0/python/nautilus-mount-image.py
48%{_datadir}/pixmaps/nautilus-mount-image.png
49
50%changelog
51* Mon Nov 30 2009 IWAI, Masaharu <iwai@alib.jp> 0.2.0-1
52- initial release
Note: See TracBrowser for help on using the repository browser.