Browse Source

2015-01-30 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* Field3D, uhttpmock: fixed Group
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9309 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
68221b245b
2 changed files with 25 additions and 6 deletions
  1. 15 4
      F/Field3D/Field3D-vl.spec
  2. 10 2
      u/uhttpmock/uhttpmock-vl.spec

+ 15 - 4
F/Field3D/Field3D-vl.spec

@@ -1,15 +1,18 @@
 Name:           Field3D
 Version:        1.4.3
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        Library for storing voxel data
+Summary(ja):    ボクセルデータを蓄積するためのライブラリ
 
 License:        BSD
+Group:          System Environment/Libraries
 URL:            https://sites.google.com/site/field3d/
 
 # The source archive is created on the fly at github.com:
 # https://github.com/imageworks/Field3D/archive/v1.4.0.tar.gz
 Source0:        %{name}-%{version}.tar.gz
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  cmake doxygen
 BuildRequires:  qt4-devel
 BuildRequires:  hdf5-devel
@@ -31,6 +34,8 @@ allows the C++ objects to be written to and read from disk.
 
 %package devel
 Summary:        Development files for %{name}
+Summary(ja):    %{name} の開発用ファイル
+Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 
 %description devel
@@ -52,11 +57,12 @@ popd
 
 
 %install
+rm -rf $RPM_BUILD_ROOT
 pushd build
-make install DESTDIR=%{buildroot}
+make install DESTDIR=$RPM_BUILD_ROOT
 popd
 
-install -D -m 0644 man/f3dinfo.1 %{buildroot}%{_mandir}/man1/f3dinfo.1
+install -D -m 0644 man/f3dinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/f3dinfo.1
 
 
 %check
@@ -64,6 +70,8 @@ pushd build
 LD_LIBRARY_PATH=`pwd` ./unitTest
 popd
 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post -p /sbin/ldconfig
 
@@ -83,10 +91,13 @@ popd
 
 
 %changelog
+* Fri Jan 30 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.3-2
+- added Group tag
+- added %%clean section
+
 * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4.3-1
 - initial build for Vine Linux
 
-
 * Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 1.4.3-3
 - Rebuild for hdf5 1.8.4
 

+ 10 - 2
u/uhttpmock/uhttpmock-vl.spec

@@ -8,7 +8,7 @@
 
 Name:           uhttpmock
 Version:        0.3.1
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        HTTP web service mocking library
 Summary(ja):    HTTP Web サービス模擬ライブラリ
 License:        LGPLv2
@@ -39,7 +39,7 @@ playback of HTTP request–response traces.
 %package	devel
 Summary:        Development files for %{name}
 Summary(ja):    %{name} の開発用ファイル
-Group:          System Environment/Libraries
+Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 
 %description devel
@@ -84,6 +84,7 @@ make %{?_smp_mflags}
 make check
 
 %install
+rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -92,6 +93,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %postun -p /sbin/ldconfig
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
 %defattr(-,root,root,-)
 %doc README COPYING NEWS AUTHORS
@@ -115,6 +119,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_datadir}/vala/vapi/libuhttpmock-%{uhm_api_version}.vapi
 
 %changelog
+* Fri Jan 30 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-3
+- added %%clean section
+- moved devel subpackage to Development/Libraries Group
+
 * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-2
 - added Group tag to main and devel packages