- install .pc file under %{_datadir}/pkgconfig and include it in a new
devel subpackage
This commit is contained in:
parent
236cab2c67
commit
084d930dcf
21
m17n-db.spec
21
m17n-db.spec
@ -33,6 +33,16 @@ Group: System Environment/Libraries
|
||||
m17n-db datafiles not needed for using the input maps.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for m17n-db
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
m17n-db development files
|
||||
|
||||
|
||||
%package common-cjk
|
||||
Summary: m17n-db common files for CJK input
|
||||
Group: System Environment/Libraries
|
||||
@ -405,7 +415,8 @@ rm $RPM_BUILD_ROOT%{_datadir}/m17n/{bn-unijoy.mim,icons/bn-unijoy.png}
|
||||
rm $RPM_BUILD_ROOT%{_datadir}/m17n/si-wijesekera.mim
|
||||
|
||||
# drop pkgconfig file for now
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/m17n-db.pc
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig/
|
||||
mv $RPM_BUILD_ROOT{%{_libdir},%{_datadir}}/pkgconfig/m17n-db.pc
|
||||
|
||||
# For installing the translation files
|
||||
%find_lang %name
|
||||
@ -435,6 +446,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/m17n/*.tab
|
||||
%{_datadir}/m17n/LOCALE.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/pkgconfig/m17n-db.pc
|
||||
|
||||
%files common-cjk
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/m17n
|
||||
@ -735,6 +750,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 18 2007 Jens Petersen <petersen@redhat.com>
|
||||
- install .pc file under %{_datadir}/pkgconfig
|
||||
and include it in a new devel subpackage
|
||||
|
||||
* Mon Jun 18 2007 Jens Petersen <petersen@redhat.com> - 1.3.4-10
|
||||
- name Uyghur subpackage consistently
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user