[521] | 1 | %define origversion 20050712 |
---|
| 2 | |
---|
| 3 | Summary: Library of Unicode annotation data |
---|
| 4 | Summary(ja): ユニコード注釈データライブラリ |
---|
| 5 | Name: libuninameslist |
---|
| 6 | Version: 0.0.%{origversion} |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: BSD |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://libuninameslist.sf.net/ |
---|
| 11 | Source: http://dl.sf.net/libuninameslist/%{name}_src-%{origversion}.tgz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | Packager: Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | The Unicode consortium provides a file containing annotations |
---|
| 21 | on many unicode characters. |
---|
| 22 | This library contains a compiled version of this file so that |
---|
| 23 | programs can access these data easily. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Header files, libraries and development documentation for %{name} |
---|
| 27 | Summary(ja): libuninameslist 用のヘッダ、ライブラリおよび開発用ドキュメント |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | This package contains the header files, static libraries and development |
---|
| 33 | documentation for %{name}. If you like to develop programs using %{name}, |
---|
| 34 | you will need to install %{name}-devel. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -n %{name} |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | %configure |
---|
| 41 | %{__make} %{?_smp_mflags} LIBTOOL=/usr/bin/libtool |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | %{__rm} -rf %{buildroot} |
---|
| 45 | %makeinstall LIBTOOL=/usr/bin/libtool \ |
---|
| 46 | incdir="%{buildroot}%{_includedir}" |
---|
| 47 | |
---|
| 48 | ### Clean up buildroot |
---|
| 49 | %{__rm} -f %{buildroot}%{_libdir}/*.la |
---|
| 50 | |
---|
| 51 | %post |
---|
| 52 | /sbin/ldconfig 2>/dev/null |
---|
| 53 | |
---|
| 54 | %postun |
---|
| 55 | /sbin/ldconfig 2>/dev/null |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | %{__rm} -rf %{buildroot} |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-, root, root, 0755) |
---|
| 62 | %doc COPYING LICENSE |
---|
| 63 | %_libdir/*.so.* |
---|
| 64 | |
---|
| 65 | %files devel |
---|
| 66 | %defattr(-, root, root, 0755) |
---|
| 67 | %{_includedir}/*.h |
---|
| 68 | %{_libdir}/*.so |
---|
| 69 | |
---|
| 70 | %changelog |
---|
| 71 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.20050712-1vl5 |
---|
| 72 | - applied new versioning policy, spec in utf-8 |
---|
| 73 | |
---|
| 74 | * Mon Oct 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20050712-0vl1 |
---|
| 75 | - initial build for Vine Linux |
---|
| 76 | |
---|