|
@@ -5,12 +5,14 @@ Summary: Handler of the Nautilus Python Extensions
|
|
|
Summary(ja): Nautilus Python Extensions のハンドラ
|
|
|
Name: %{name}
|
|
|
Version: %{version}
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Group: Applications/Accessories
|
|
|
License: GPLv2+
|
|
|
-URL: http://open.vitaminap.it/en/nautilus_pyextensions.htm
|
|
|
-Source: http://open.vitaminap.it/software/%{name}-%{version}.tar.gz
|
|
|
-Patch0: fixed_icon.patch
|
|
|
+URL: http://www.giuspen.com/nautilus-pyextensions/
|
|
|
+Source: http://www.giuspen.com/software/nautilus-pyextensions/%{name}-%{version}.tar.gz
|
|
|
+Source1: nautilus-pyextensions_ja.po
|
|
|
+Patch0: apply_environment.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
@@ -36,36 +38,31 @@ Python Extensions のグラフィカルハンドラ。
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
%patch0 -p1
|
|
|
+%{__cp} -f %{SOURCE1} locale/ja.po
|
|
|
+
|
|
|
+pushd .
|
|
|
+cd locale/
|
|
|
+chmod +x i18n_po_to_mo.py
|
|
|
+./i18n_po_to_mo.py
|
|
|
+popd
|
|
|
|
|
|
%build
|
|
|
-chmod +x setup.py
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
-#mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
|
-#install -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir}
|
|
|
-
|
|
|
-#mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
|
|
|
-#cp -af default-pyextensions $RPM_BUILD_ROOT/%{_datadir}/%{name}
|
|
|
-#cp -af glade $RPM_BUILD_ROOT/%{_datadir}/%{name}
|
|
|
-#cp -af modules $RPM_BUILD_ROOT/%{_datadir}/%{name}
|
|
|
-
|
|
|
-#mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/scalable/apps
|
|
|
-#install -m 644 glade/%{name}.svg $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/scalable/apps
|
|
|
-
|
|
|
-#mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
|
|
-#install -m 755 linux/%{name}.desktop $RPM_BUILD_ROOT/%{_datadir}/applications
|
|
|
-
|
|
|
%{__python} setup.py install --skip-build --prefix $RPM_BUILD_ROOT%{_prefix}
|
|
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
+cp -af default-pyextensions $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
+
|
|
|
desktop-file-install --vendor="" \
|
|
|
--add-category="Utility" \
|
|
|
--dir %{buildroot}%_datadir/applications \
|
|
|
%{buildroot}%_datadir/applications/%{name}.desktop
|
|
|
|
|
|
#remove
|
|
|
-rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/glade/%{name}.desktop
|
|
|
+#rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/glade/%{name}.desktop
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
@@ -93,6 +90,15 @@ update-desktop-database > /dev/null 2>&1 || :
|
|
|
%{_libdir}/python2.?/site-packages/
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jul 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1-2
|
|
|
+- changed URL and Source tag
|
|
|
+- fixed include python script
|
|
|
+- updated and renamed patch0
|
|
|
+ - fixed icon in open-as-root.py
|
|
|
+ - added Japanese translation
|
|
|
+- added source1 to translate Japanese
|
|
|
+- cleaned up spec
|
|
|
+
|
|
|
* Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1-1
|
|
|
- new upstream release
|
|
|
- modified install process
|
|
@@ -111,7 +117,7 @@ update-desktop-database > /dev/null 2>&1 || :
|
|
|
|
|
|
* Wed Dec 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.4-1
|
|
|
- new upstream release
|
|
|
-- changed name and updated source1
|
|
|
+- changed name and updated source1
|
|
|
|
|
|
* Thu Nov 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.3-1
|
|
|
- initial build for VineSeed
|