From ae5007464c40c9f359c278c788be0bfdd8ebdcbe Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 17 Dec 2015 09:02:46 +0900 Subject: [PATCH] Create devel package not to install header and .pc file in binary Change-Id: I0595b6863e6367366b376bda2050a72194cc3896 --- packaging/anthy.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/packaging/anthy.spec b/packaging/anthy.spec index 0b57dc3..837a6e1 100644 --- a/packaging/anthy.spec +++ b/packaging/anthy.spec @@ -18,6 +18,15 @@ BuildRoot: %{_tmppath}/%{name}-root %description A Japanese character input system library. +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: System/Utilities +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + %prep %setup -q cp %{SOURCE1001} . @@ -56,11 +65,14 @@ rm -rf ${RPM_BUILD_ROOT} %{_sysconfdir}/* %{_datadir}/anthy #%{_datadir}/emacs/site-lisp/* -%{_libdir}/pkgconfig/* %{_libdir}/libanthy* -%{_includedir}/* #%doc README doc +%files devel +%defattr(-,root,root) +%{_libdir}/pkgconfig/* +%{_includedir}/* + %changelog * Thu Jan 3 2002 Yusuke Tabata - changed my mail address and URL of web page -- 2.7.4