[packages/m17n-im-config] - pl, general cleanup

qboosh qboosh at pld-linux.org
Sat Sep 15 21:31:30 CEST 2012


commit 20024bd66b44103b4ed76a20d97037587aa06002
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 15 21:32:14 2012 +0200

    - pl, general cleanup

 m17n-im-config.spec | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/m17n-im-config.spec b/m17n-im-config.spec
index 3d23f00..ee93c3c 100644
--- a/m17n-im-config.spec
+++ b/m17n-im-config.spec
@@ -3,18 +3,19 @@
 %bcond_without	static_libs	# don't build static libraries
 #
 Summary:	Input method configuration library for m17n-lib
-#Summary(pl.UTF-8):	-
+Summary(pl.UTF-8):	Biblioteka konfiguracyjna metody wprowadzania znaków dla m17n-lib
 Name:		m17n-im-config
 Version:	0.9.0
 Release:	1
-License:	GPL
+License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.m17n.org/m17n-lib-download/%{name}-%{version}.tar.gz
 # Source0-md5:	dfb1812d604c5b2392ebb7e47034c3f9
 Source1:	m17n-im-config.1
 URL:		http://www.m17n.org/
-BuildRequires:	gtk+2-devel
-BuildRequires:	m17n-lib-devel
+BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	m17n-db >= 1.3.4
+BuildRequires:	m17n-lib-devel >= 1.3.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,7 +23,11 @@ m17n-im-config is a library to create a GTK+ widget for per-user
 configuration of input methods provided by the m17n library, and a
 standalone GUI program which demonstrates the library.
 
-#%description -l pl.UTF-8
+%description -l pl.UTF-8
+m17n-im-config to biblioteka tworząca widget GTK+ do konfiguracji
+dla konkretnego użytkownika metod wprowadzania znaków udostępnianych
+przez bibliotekę m17n oraz samodzielny program z graficznym
+interfejsem demonstrujący możliwości biblioteki.
 
 %package devel
 Summary:	Header files for m17n-im-config library
@@ -58,13 +63,16 @@ Statyczna biblioteka m17n-im-config.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1/m17n-im-config.1
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/m17n-im-config.1
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libm17n-im-config.la
+
 %find_lang m17n-im-config
 
 %clean
@@ -75,15 +83,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f m17n-im-config.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/m17n-im-config
 %attr(755,root,root) %{_libdir}/libm17n-im-config.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libm17n-im-config.so.0
 %{_mandir}/man1/m17n-im-config.1*
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/libm17n-im-config.so
+%attr(755,root,root) %{_libdir}/libm17n-im-config.so
 %{_includedir}/m17n-im-config.h
 %{_pkgconfigdir}/m17n-im-config.pc
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/m17n-im-config.git/commitdiff/20024bd66b44103b4ed76a20d97037587aa06002



More information about the pld-cvs-commit mailing list