update spec file
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 9 Jan 2013 06:48:17 +0000 (15:48 +0900)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 20 Aug 2014 08:14:30 +0000 (10:14 +0200)
Change-Id: Ibca53d0e018bcf7c684797c5267a8c0fd3862208

packaging/libhangul.spec

index 8670628..2d29594 100644 (file)
@@ -1,18 +1,13 @@
 Name:           libhangul
-#%define libname libhangul
-#BuildRequires:  libtool pkg-config
-#BuildRequires:  python python-devel
 Version:        0.1.0
 Release:        1
-License:        LGPL-2.1+
+License:        LGPLv2.1
 Group:          System/I18n/Korean
 AutoReqProv:    on
 Url:            http://kldp.net/projects/hangul/
 Source0:        %{name}-%{version}.tar.gz
 Summary:        Hangul input library used by scim-hangul and ibus-hangul
 BuildRequires:  gettext-tools
-#Requires(post): /sbin/ldconfig
-#Requires(postrun): /sbin/ldconfig
 
 
 %description
@@ -28,10 +23,9 @@ Hangul input library used by scim-hangul and ibus-hangul
 
 
 %package devel
-License:        GPL-2.0+
 Summary:        Include Files and Libraries mandatory for Development
 Group:          System/I18n/Korean
-Requires:       %{libname} = %{version} glibc-devel
+Requires:       %{name} = %{version}-%{release}
 
 %description devel
 This package contains all necessary include files and libraries needed
@@ -42,21 +36,12 @@ to develop applications that require these.
 %setup -q
 
 %build
-#autoreconf --force --install --verbose
-#export CFLAGS="$RPM_OPT_FLAGS"
-#export CXXFLAGS="$RPM_OPT_FLAGS"
 %autogen
 %configure --disable-static --with-pic
 %{__make} %{?jobs:-j%jobs}
-#pushd bindings/python
-#    make
-#popd
 
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install
-#pushd bindings/python
-#    make DESTDIR=${RPM_BUILD_ROOT} install
-#popd
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
 %clean