Spec clean up
This commit is contained in:
parent
b0676f0e6b
commit
09425a56b7
23
sombok.spec
23
sombok.spec
@ -1,18 +1,12 @@
|
|||||||
Name: sombok
|
Name: sombok
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Unicode Text Segmentation Package
|
Summary: Unicode Text Segmentation Package
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv2+ or Artistic clarified
|
License: GPLv2+ or Artistic clarified
|
||||||
URL: http://sf.net/projects/linefold/
|
URL: http://sf.net/projects/linefold/
|
||||||
Source0: https://github.com/hatukanezumi/sombok/archive/%{name}-%{version}.tar.gz
|
Source0: https://github.com/hatukanezumi/sombok/archive/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# libthai is available only in Fedora and EL6
|
|
||||||
%if 0%{?rhel} > 5 || 0%{?fedora}
|
|
||||||
BuildRequires: libthai-devel
|
BuildRequires: libthai-devel
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -28,7 +22,6 @@ Annex #29 (UAX #29).
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -48,31 +41,29 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog ChangeLog.REL1 COPYING NEWS README README.ja_JP
|
%doc AUTHORS ChangeLog ChangeLog.REL1 NEWS README README.ja_JP
|
||||||
%{_libdir}/libsombok.so.*
|
%{_libdir}/libsombok.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_includedir}/sombok*.h
|
%{_includedir}/sombok*.h
|
||||||
%{_libdir}/libsombok.so
|
%{_libdir}/libsombok.so
|
||||||
%{_libdir}/pkgconfig/sombok.pc
|
%{_libdir}/pkgconfig/sombok.pc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 19 2018 Xavier Bachelot <xavier@bachelot.org> 2.4.0-7
|
||||||
|
- Spec clean up.
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-6
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user