Browse Source

create compat32 packages

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9301 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 9 years ago
parent
commit
64ba3020fb
1 changed files with 26 additions and 20 deletions
  1. 26 20
      lib/libu/libunistring/libunistring-vl.spec

+ 26 - 20
lib/libu/libunistring/libunistring-vl.spec

@@ -2,10 +2,12 @@
 
 # Basic Information
 Name:		libunistring
+Summary:	library for manipulating Unicode strings
+Summary(ja):	Unicode 文字列を処理するライブラリ
 Version:	0.9.4
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 License:	GPLv3+
-Group:		Development/Libraries
+Group:		System Environment/Libraries
 URL:		http://www.gnu.org/software/libunistring/
 Source0:	http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
@@ -14,9 +16,6 @@ Vendor:		Project Vine
 Distribution:	Vine Linux
 Packager:	yasumichi
 
-Summary:	library for manipulating Unicode strings
-Summary(ja):	Unicode 文字列を処理するライブラリ
-
 # Dependency
 BuildRequires:	texinfo
 BuildRequires:	texlive
@@ -47,10 +46,10 @@ Requires:	%{name} = %{version}-%{release}
 Development files and documentation for libunistring
 
 %package -n compat32-%{name}
-Summary:	library for manipulating Unicode strings
-Summary(ja):	Unicode 文字列を処理するライブラリ
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Summary:        library for manipulating Unicode strings
+Summary(ja):    Unicode 文字列を処理するライブラリ
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
 Text files are nowadays usually encoded in Unicode, and may consist of very
@@ -65,41 +64,44 @@ This library provides functions for manipulating Unicode strings and for
 manipulating C strings according to the Unicode standard.
 
 %package -n compat32-%{name}-devel
-Summary:	Development files and documentation for libunistring
-Summary(ja):	libunistring の開発用ファイルとドキュメント
-Group:		Development/Libraries
-Requires:	compat32-%{name} = %{version}-%{release}
-Requires:	%{name}-devel = %{version}-%{release}
+Summary:        Development files and documentation for libunistring
+Summary(ja):    libunistring の開発用ファイルとドキュメント
+Group:          Development/Libraries
+Requires:       compat32-%{name} = %{version}-%{release}
+Requires:       %{name}-devel = %{version}-%{release}
 
 %description -n compat32-%{name}-devel
 Development files and documentation for libunistring
 
+
 %prep
 %setup -q
 
 %build
-%configure
+%configure --disable-static
 %{__make} %{?_smp_mflags}
 
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__make} install DESTDIR=${RPM_BUILD_ROOT}
 
-%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.a
 %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la
 %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
 
 %files
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/uni*.h
 %{_includedir}/unistring
 %{_libdir}/libunistring.so
@@ -116,10 +118,14 @@ Development files and documentation for libunistring
 %endif
 
 %changelog
-* Mon Jan 26 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
-- update to 0.9.4
+* Tue Jan 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-2
 - create compat32 packages
 
+* Mon Oct  6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
+- updated to 0.9.4
+- moved libunistring to System Environment/Libraries
+- added %%post and %%postun
+
 * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
 - add Requires: %{name} (devel package)