Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6867 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 12 years ago
parent
commit
9a7ac49468
3 changed files with 40 additions and 27 deletions
  1. 6 2
      p/python-boto/python-boto-vl.spec
  2. 27 21
      s/smillaenlarger/smillaenlarger-vl.spec
  3. 7 4
      u/uget/uget-vl.spec

+ 6 - 2
p/python-boto/python-boto-vl.spec

@@ -4,7 +4,7 @@
 Summary:	A simple lightweight interface to Amazon Web Services
 Summary(ja):	シンプル・軽量な Amazon Web サービスへのインターフェイス
 Name:		python-boto
-Version:	2.5.2
+Version:	2.6.0
 Release:	1%{?_dist_release}
 License:	MIT
 Group:		Development/Languages
@@ -40,10 +40,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-#%doc README
+%doc Changelog.rst README.rst
 %{python_sitelib}/*
 
 %changelog
+* Sat Sep 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.6.0-1
+- new upstream release
+- fixed %%files
+
 * Sun Jul 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5.2-1
 - new upstream release
 

+ 27 - 21
s/smillaenlarger/smillaenlarger-vl.spec

@@ -1,21 +1,23 @@
-Name:           smillaenlarger
-Version:        0.9.0
-Release:        2%{?_dist_release}
-Summary:        small graphical tool to resize based on Qt
-Summary(ja):    Qt ベースのリサイズのための小さなグラフィカルツール
+%define SE_Src SmillaEnlarger_0.9.0_source/SmillaEnlargerSrc/
 
-Group:          Applications/Graphics
-License:        GPLv3
-URL:            http://sourceforge.net/projects/imageenlarger/
-Source0:        SmillaEnlarger_%{version}_source.zip
-Source1:        %{name}.desktop
-Patch0:         apply_environment.patch
+Name: smillaenlarger
+Version: 0.9.0
+Release: 3%{?_dist_release}
+Summary: small graphical tool to resize based on Qt
+Summary(ja): Qt ベースのリサイズのための小さなグラフィカルツール
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+Group: Applications/Graphics
+License: GPLv3
+URL: http://sourceforge.net/projects/imageenlarger/
+Source0: SmillaEnlarger_%{version}_source.zip
+Source1: %{name}.desktop
+Patch0: apply_environment.patch
 
-BuildRequires:  unzip
-BuildRequires:  qt4-devel
-BuildRequires:  qt4-designer
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires: unzip
+BuildRequires: qt4-devel
+BuildRequires: qt4-designer
 
 Requires: qt4%{?_isa} >= %{_qt4_version}
 
@@ -29,26 +31,27 @@ SmillaEnlarger は、リサイズのための (Qtベースの) 小さなグラ
 
 %prep
 %setup -q -c -T
-
 %{_bindir}/unzip -oq %{SOURCE0}
 %patch0 -p1
-rm -rf __MACOSX/
-mv SmillaEnlarger_%{version}_source/SmillaEnlargerSrc/* .
 
 %build
-%{_libdir}/qt4/bin/qmake
+pushd %{SE_Src}
+%{_libdir}/qt4/bin/qmake ImageEnlarger.pro
 make %{?_smp_mflags}
+popd
 
 %install
+pushd %{SE_Src}
 %__install -dm 755 %{buildroot}%{_bindir}
 %__install -m 755 SmillaEnlarger %{buildroot}%{_bindir}
 %__install -dm 755 %{buildroot}%{_datadir}/pixmaps/
 %__install -m 644 smilla.png %{buildroot}%{_datadir}/pixmaps/smilla.png
 %__install -dm 755 %{buildroot}%{_datadir}/applications/
 %__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
+popd
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post
 update-desktop-database %{_datadir}/applications>& /dev/null ||:
@@ -58,12 +61,15 @@ update-desktop-database %{_datadir}/applications>& /dev/null ||:
 
 %files
 %defattr(-,root,root,-)
-%doc docs/*
+%doc %{SE_Src}docs/*
 %{_bindir}/SmillaEnlarger
 %{_datadir}/applications/*.desktop
 %{_datadir}/pixmaps/*
 
 %changelog
+* Sun Sep 30 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-3
+- improved spec
+
 * Sat Feb 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-2
 - included document files
 

+ 7 - 4
u/uget/uget-vl.spec

@@ -1,14 +1,14 @@
-%define _version 1.10
+%define _version 1.10.1
 Name:		uget
 Version:	%{_version}
 Release:	1%{?_dist_release}
 Summary:	Uget is a download manager that using gtk and curl
-Summary(ja):	Uget - gtk と curl を用いたダウンロードマネージャ
+Summary(ja):	Uget - gtk と curl を用いたダウンロードマネージャ
 
 Group:		Applications/Internet
 License:	LGPLv2+
 URL:		http://urlget.sourceforge.net/
-Source0:	http://downloads.sourceforge.net/urlget/%{name}-%{_version}-2.tar.gz
+Source0:	http://downloads.sourceforge.net/urlget/%{name}-%{_version}.tar.gz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
@@ -24,7 +24,7 @@ BuildRequires: gtk3-devel >= 3.4
 Uget is a download manager that using gtk+ and curl.
 
 %description -l ja
-Uget は gtk と curl を用いたダウンロードマネージャです。
+Uget は gtk と curl を用いたダウンロードマネージャです。
 
 %prep
 %setup -q -n %{name}-%{version}
@@ -69,6 +69,9 @@ update-desktop-database > /dev/null 2>&1 || :
 %{_datadir}/sounds/*
 
 %changelog
+* Sat Sep 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.1-1
+- new upstream release
+
 * Sat Sep 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10-1
 - new upstream release
 - changed BuildRequires: gtk3-devel to >= 3.4, glib2-devel => 2.22 to 2.32