|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
%global soversion_gobject 0
|
|
|
|
|
|
|
|
|
|
Name: liblangtag
|
|
|
|
|
Version: 0.6.3
|
|
|
|
|
Release: 8%{?dist}.1
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: An interface library to access tags for identifying languages
|
|
|
|
|
|
|
|
|
|
License: LGPLv3+ or MPLv2.0
|
|
|
|
@ -23,8 +23,6 @@ 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
|
|
|
|
@ -47,7 +45,7 @@ Features:
|
|
|
|
|
|
|
|
|
|
%package data
|
|
|
|
|
Summary: %{name} data files
|
|
|
|
|
License: Unicode
|
|
|
|
|
License: UCD
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description data
|
|
|
|
@ -83,27 +81,29 @@ The %{name}-doc package contains documentation files for %{name}.
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
|
%if 0%{?flatpak}
|
|
|
|
|
--disable-gtk-doc \
|
|
|
|
|
--disable-gtk-doc \
|
|
|
|
|
%endif
|
|
|
|
|
--disable-silent-rules --disable-static --enable-shared --enable-introspection
|
|
|
|
|
--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
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets gobject
|
|
|
|
|
%post gobject -p /sbin/ldconfig
|
|
|
|
|
%postun gobject -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
%make_build check
|
|
|
|
|
make %{?_smp_mflags} check
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
@ -134,47 +134,14 @@ export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD
|
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 29 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-8.1
|
|
|
|
|
- Add CI test.
|
|
|
|
|
Resolves: rhbz#2008783
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.6.2-8
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.3-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed May 19 2021 Timm Bäder <tbaeder@redhat.com> - 0.6.3-7
|
|
|
|
|
- Add gcc buildrequires
|
|
|
|
|
- Use make macros
|
|
|
|
|
|
|
|
|
|
* Wed May 19 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-6
|
|
|
|
|
- Update License field for liblangtag-data.
|
|
|
|
|
It is actually Unicode but not UCD.
|
|
|
|
|
|
|
|
|
|
* Wed Apr 21 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-5
|
|
|
|
|
* Wed Nov 18 2020 Akira TAGOH <tagoh@redhat.com> - 0.6.2-8
|
|
|
|
|
- Suppress documentation in Flatpak builds
|
|
|
|
|
Resolves: rhbz#1896257
|
|
|
|
|
- build gir with non-parallel to avoid strange behavior.
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Sep 26 2019 Caolán McNamara <caolanm@redhat.com> - 0.6.3-1
|
|
|
|
|
- Resolves: rhbz#1755875 latest available version
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|