Browse Source

fribidi-1.0.12-1

Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
6eae714554
1 changed files with 23 additions and 21 deletions
  1. 23 21
      f/fribidi/fribidi-vl.spec

+ 23 - 21
f/fribidi/fribidi-vl.spec

@@ -1,15 +1,18 @@
 Name: fribidi
-Version: 1.0.9
+Summary: Library implementing the Unicode Bidirectional Algorithm
+Version: 1.0.12
 Release: 1%{?_dist_release}
+Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
 License: LGPL
 URL: https://github.com/fribidi/fribidi
 Source: https://github.com/fribidi/fribidi/releases/download/v%{version}/%{name}-%{version}.tar.xz
-Summary: Library implementing the Unicode Bidirectional Algorithm
-Group: System Environment/Libraries
+Patch0: fribidi-drop-bundled-gnulib.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: meson
 
 %description
 A library to handle bidirectional scripts (eg. hebrew, arabic), so that
@@ -28,33 +31,30 @@ for the fribidi package.
 Install if you want to develop programs which will use fribidi.
 
 
+%debug_package
+
+
 %prep
-%setup -q
+%autosetup -p1
 
 
 %build
-%configure --disable-static
- 
-make
+%meson -Ddocs=false
+%meson_build
 
 
-%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+%check
+%meson_test
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-# remove empty (compressed) man pages
-find $RPM_BUILD_ROOT%{_mandir}/man3 -type f -empty -exec rm {} \;
+%install
+rm -rf %{buildroot}
+%meson_install
+rm -f %{buildroot}%{_libdir}/*.la
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+rm -rf %{buildroot}
 
 
 %files
@@ -68,11 +68,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-, root, root)
 %{_libdir}/*.so
 %{_includedir}/*
-%{_libdir}/pkgconfig/%{name}.pc
-%{_mandir}/man3/%{name}_*.gz
+%{_libdir}/pkgconfig/*.pc
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.12-1
+- new upstream release.
+
 * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
 - new upstream release.