commit fd6fe5486ac8d313ac5821c58fe87e4b376fccb2 Author: CentOS Sources Date: Wed Nov 3 18:32:01 2021 -0400 import liblangtag-0.6.3-8.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4bb244 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/liblangtag-0.6.3.tar.bz2 diff --git a/.liblangtag.metadata b/.liblangtag.metadata new file mode 100644 index 0000000..d36485a --- /dev/null +++ b/.liblangtag.metadata @@ -0,0 +1 @@ +47041c94500c04c657b83cc2ff1a4343efc44b04 SOURCES/liblangtag-0.6.3.tar.bz2 diff --git a/SOURCES/liblangtag-noparallel-gir.patch b/SOURCES/liblangtag-noparallel-gir.patch new file mode 100644 index 0000000..d5b2bcf --- /dev/null +++ b/SOURCES/liblangtag-noparallel-gir.patch @@ -0,0 +1,8 @@ +diff -pruN liblangtag-0.6.2.orig/liblangtag-gobject/gendeps.sh liblangtag-0.6.2/liblangtag-gobject/gendeps.sh +--- liblangtag-0.6.2.orig/liblangtag-gobject/gendeps.sh 2012-12-13 17:59:17.000000000 +0900 ++++ liblangtag-0.6.2/liblangtag-gobject/gendeps.sh 2020-11-18 21:10:08.511540427 +0900 +@@ -11,3 +11,4 @@ while [ $# -ne 0 ]; do + echo " \$(AM_V_GEN) \$(srcdir)/gengir.sh \$(top_srcdir)/liblangtag \$@" + done + echo "\$(srcdir)/gendir.sh:" ++echo ".NOTPARALLEL:" diff --git a/SPECS/liblangtag.spec b/SPECS/liblangtag.spec new file mode 100644 index 0000000..264d11c --- /dev/null +++ b/SPECS/liblangtag.spec @@ -0,0 +1,265 @@ +%global girname LangTag +%global girapiversion 0.6 +%global soversion 1 +%global soversion_gobject 0 + +Name: liblangtag +Version: 0.6.3 +Release: 8%{?dist} +Summary: An interface library to access tags for identifying languages + +License: LGPLv3+ or MPLv2.0 +URL: http://tagoh.bitbucket.org/liblangtag/ +Source0: https://bitbucket.org/tagoh/%{name}/downloads/%{name}-%{version}.tar.bz2 +Patch0: liblangtag-noparallel-gir.patch + +Requires: %{name}-data = %{version}-%{release} + +BuildRequires: glibc-common +%if ! 0%{?flatpak} +BuildRequires: gtk-doc +%endif +BuildRequires: pkgconfig(check) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: make +BuildRequires: gcc + +%description +%{name} is an interface library to access tags for identifying +languages. + +Features: +* several subtag registry database supports: + - language + - extlang + - script + - region + - variant + - extension + - grandfathered + - redundant +* handling of the language tags + - parser + - matching + - canonicalizing + +%package data +Summary: %{name} data files +License: Unicode +BuildArch: noarch + +%description data +The %{name}-data package contains data files for %{name}. + +%package gobject +Summary: GObject introspection for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description gobject +The %{name}-gobject package contains files for GObject introspection for +%{name}. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-gobject%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package doc +Summary: Documentation of %{name} API +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + +%prep +%autosetup -p1 + +%build +%configure \ +%if 0%{?flatpak} + --disable-gtk-doc \ +%endif + --disable-silent-rules --disable-static --enable-shared --enable-introspection +sed -i \ + -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ + -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ + libtool +export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} +%make_build + +%install +%make_install +rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la + +%ldconfig_scriptlets + +%ldconfig_scriptlets gobject + +%check +export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} +%make_build check + +%files +%doc AUTHORS NEWS README +%{_libdir}/%{name}.so.%{soversion} +%{_libdir}/%{name}.so.%{soversion}.* +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/*.so + +%files data +%license COPYING +%{_datadir}/%{name} + +%files gobject +%{_libdir}/%{name}-gobject.so.%{soversion_gobject} +%{_libdir}/%{name}-gobject.so.%{soversion_gobject}.* +%{_libdir}/girepository-1.0/%{girname}-%{girapiversion}.typelib + +%files devel +%{_includedir}/%{name} +%{_libdir}/%{name}.so +%{_libdir}/%{name}-gobject.so +%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/pkgconfig/%{name}-gobject.pc +%{_datadir}/gir-1.0/%{girname}-%{girapiversion}.gir + +%files doc +%license COPYING +%{_datadir}/gtk-doc/html/%{name} + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.6.3-8 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Wed May 19 2021 Timm Bäder - 0.6.3-7 +- Add gcc buildrequires +- Use make macros + +* Wed May 19 2021 Akira TAGOH - 0.6.3-6 +- Update License field for liblangtag-data. + It is actually Unicode but not UCD. + +* Wed Apr 21 2021 Akira TAGOH - 0.6.3-5 +- Suppress documentation in Flatpak builds +- build gir with non-parallel to avoid strange behavior. + +* Tue Jan 26 2021 Fedora Release Engineering - 0.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Sep 26 2019 Caolán McNamara - 0.6.3-1 +- Resolves: rhbz#1755875 latest available version + +* Thu Jul 25 2019 Fedora Release Engineering - 0.6.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.6.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.6.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.6.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.6.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Sep 30 2016 David Tardon - 0.6.2-1 +- new upstream release + +* Thu Sep 22 2016 David Tardon - 0.6.1-1 +- new upstream release + +* Wed Mar 23 2016 David Tardon - 0.6.0-1 +- new upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 David Tardon - 0.5.8-1 +- new upstream release + +* Fri Jun 26 2015 David Tardon - 0.5.7-1 +- new upstream release + +* Wed Jun 17 2015 Fedora Release Engineering - 0.5.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Mar 31 2015 Caolán McNamara - 0.5.6-1 +- Resolves: rhbz#1207452 latest available version + +* Fri Mar 27 2015 David Tardon - 0.5.5-3 +- another header fix + +* Fri Mar 27 2015 David Tardon - 0.5.5-2 +- fix installation of headers + +* Fri Mar 20 2015 David Tardon - 0.5.5-1 +- new upstream release + +* Tue Jan 20 2015 Ralf Corsépius - 0.5.4-6 +- Let liblangtag package own %%{_libdir}/%%{name} (RHBZ#1183882). + +* Fri Sep 05 2014 David Tardon - 0.5.4-5 +- split GObject introspection files out of main package + +* Sun Aug 17 2014 Fedora Release Engineering - 0.5.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 0.5.4-3 +- Rebuilt for gobject-introspection 1.41.4 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 David Tardon - 0.5.4-1 +- new upstream release + +* Fri Apr 11 2014 David Tardon - 0.5.3-1 +- new upstream release + +* Mon Sep 02 2013 David Tardon - 0.5.2-1 +- new release + +* Sat Aug 03 2013 Fedora Release Engineering - 0.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu May 16 2013 Eike Rathke - 0.5.1-2-UNBUILT +- updated .spec with MPLv2.0 and UCD licenses + +* Tue Apr 30 2013 David Tardon - 0.5.1-1 +- fix ABI breakage + +* Mon Apr 29 2013 David Tardon - 0.5.0-1 +- new release + +* Thu Feb 14 2013 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Dec 01 2012 David Tardon - 0.4.0-2 +- fix build on ppc + +* Sun Nov 25 2012 David Tardon - 0.4.0-1 +- new upstream release + +* Sun Sep 09 2012 David Tardon - 0.3-1 +- initial import