commit 3a48cfdaae7f8ae7e45a705b04dc1365bf99a0f9
Author: Jakub Bogusz <[email protected]>
Date:   Sat Sep 15 10:30:06 2012 +0200

    - updated to 0.1.0
    - pl

 libhangul.spec | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/libhangul.spec b/libhangul.spec
index 57a4da6..602bcd2 100644
--- a/libhangul.spec
+++ b/libhangul.spec
@@ -1,21 +1,31 @@
 #
 # Conditional build:
 %bcond_without static_libs     # don't build static libraries
+%bcond_without tests           # don't perform "make check"
 #
 Summary:       Hangul input library
+Summary(pl.UTF-8):     Biblioteka wprowadzania znaków Hangul
 Name:          libhangul
-Version:       0.0.12
+Version:       0.1.0
 Release:       1
-License:       LGPLv2+
+License:       LGPL v2+
 Group:         Libraries
-Source0:       http://kldp.net/frs/download.php/5855/%{name}-%{version}.tar.gz
-# Source0-md5: ef3941f5f0f3e83b1de699f2d46a1c92
+#Source0Download: http://code.google.com/p/libhangul/downloads/list
+Source0:       http://libhangul.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: e9cf109772cc5fbc79f5de503ea7550a
 URL:           http://kldp.net/projects/hangul/
+BuildRequires: check-devel
+BuildRequires: gettext-devel >= 0.18
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 libhangul provides common features for Hangul input method programs.
 
+%description -l pl.UTF-8
+libhangul udostępnia ogólne funkcje dla programów wykorzystujących
+metodę wprowadzania znaków Hangul
+
 %package devel
 Summary:       Header files for libhangul library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libhangul
@@ -59,12 +69,17 @@ Dokumentacja API biblioteki libhangul.
        %{!?with_static_libs:--disable-static}
 %{__make}
 
+%if %{with tests}
+%{__make} -C test check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %find_lang %{name}
@@ -80,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/hangul
 %attr(755,root,root) %{_libdir}/libhangul.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhangul.so.[0-9]
+%attr(755,root,root) %ghost %{_libdir}/libhangul.so.1
 %{_datadir}/%{name}
 
 %files devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libhangul.git/commitdiff/3a48cfdaae7f8ae7e45a705b04dc1365bf99a0f9

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to