Package init
This commit is contained in:
commit
1ffd033a83
BIN
fribidi-1.0.5.tar.bz2
Normal file
BIN
fribidi-1.0.5.tar.bz2
Normal file
Binary file not shown.
1852
fribidi-drop-bundled-gnulib.patch
Normal file
1852
fribidi-drop-bundled-gnulib.patch
Normal file
File diff suppressed because it is too large
Load Diff
60
fribidi.spec
Normal file
60
fribidi.spec
Normal file
@ -0,0 +1,60 @@
|
||||
Name: fribidi
|
||||
Version: 1.0.5
|
||||
Release: 2
|
||||
Summary: Library implementing the Unicode Bidirectional Algorithm
|
||||
License: LGPLv2+ and UCD
|
||||
URL: https://github.com/fribidi/fribidi/
|
||||
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: gcc automake autoconf libtool
|
||||
|
||||
#PATCH-FIX-https://bugzilla.redhat.com/
|
||||
Patch0: %{name}-drop-bundled-gnulib.patch
|
||||
|
||||
%description
|
||||
A library to handle bidirectional scripts (for example Hebrew, Arabic),
|
||||
so that the display is done in the proper way; while the text data itself
|
||||
is always written in logical order and display in a different direction .
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and include files for FriBidi
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Include files and libraries needed for developing applications which use FriBidi under some area
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
autoreconf -i
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-docs
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README AUTHORS ChangeLog THANKS NEWS TODO
|
||||
%license COPYING
|
||||
%{_bindir}/fribidi
|
||||
%{_libdir}/libfribidi.so.0*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/fribidi
|
||||
%{_libdir}/libfribidi.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_mandir}/man3/*.gz
|
||||
|
||||
%changelog
|
||||
* Wed Sep 11 2019 openEuler jimmy<dukaitian@huawei.com> - 1.0.5-2
|
||||
- Package init jimmy
|
||||
Loading…
x
Reference in New Issue
Block a user