Revision 3140,
1.3 KB
checked in by iwaim, 13 years ago
(diff) |
nautilus-mount-image 0.2.0-1
|
Rev | Line | |
---|
[3140] | 1 | %define origbasever 0.2.0 |
---|
| 2 | %define origrev 1 |
---|
| 3 | %define rel 1 |
---|
| 4 | |
---|
| 5 | %define jaPOdir po/ja_JP/LC_MESSAGES |
---|
| 6 | |
---|
| 7 | Name: nautilus-mount-image |
---|
| 8 | Version: %{origbasever} |
---|
| 9 | Release: %{rel}%{?_dist_release} |
---|
| 10 | Summary: mounting ISO image extensions for Nautilus |
---|
| 11 | Summary(ja): NautilusのISOイメージマウント 拡張 |
---|
| 12 | Group: User Interface/Desktops |
---|
| 13 | License: GPLv2+ |
---|
| 14 | URL: http://mundogeek.net/nautilus-scripts/ |
---|
| 15 | Source0: https://edge.launchpad.net/%7Ezootropo/+archive/+files/%{name}_%{origbasever}-%{origrev}.tar.gz |
---|
| 16 | Source1: nautilus-mount-image-ja.po |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildArch: noarch |
---|
| 19 | BuildRequires: gettext |
---|
| 20 | Requires: python, nautilus-python |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | This program adds a new entry to the contextual menu which allows us to |
---|
| 24 | mount 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 |
---|
| 31 | pushd %{jaPOdir} |
---|
| 32 | msgfmt %{name}.po -o %{name}.mo |
---|
| 33 | popd |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | rm -rf %{buildroot} |
---|
| 37 | %makeinstall DESTDIR=%{buildroot} |
---|
| 38 | |
---|
| 39 | %{find_lang} %{name} |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | rm -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.