Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7deb8d3e24 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libgsf-1.14.41.tar.xz
|
libgsf-1.14.53.tar.xz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
6a840cdbfea80138c81d3b885b69c842c4a2a189 SOURCES/libgsf-1.14.41.tar.xz
|
|
||||||
@ -1,30 +1,50 @@
|
|||||||
Summary: GNOME Structured File library
|
%global with_mingw 0
|
||||||
|
|
||||||
|
%if 0%{?fedora} && !0%{?flatpak}
|
||||||
|
%global with_mingw 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: libgsf
|
Name: libgsf
|
||||||
Version: 1.14.41
|
Version: 1.14.53
|
||||||
Release: 5%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: System Environment/Libraries
|
Summary: GNOME Structured File library
|
||||||
License: LGPLv2
|
|
||||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.14/%{name}-%{version}.tar.xz
|
License: LGPL-2.1-only
|
||||||
URL: http://www.gnome.org/projects/libgsf/
|
URL: https://gitlab.gnome.org/GNOME/libgsf/
|
||||||
|
Source: https://download.gnome.org/sources/%{name}/1.14/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: glib2-devel
|
|
||||||
BuildRequires: gobject-introspection-devel
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: make
|
||||||
BuildRequires: gdk-pixbuf2-devel
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
|
||||||
Obsoletes: libgsf-gnome < 1.14.22
|
Obsoletes: libgsf-gnome < 1.14.22
|
||||||
Obsoletes: libgsf-python < 1.14.26
|
Obsoletes: libgsf-python < 1.14.26
|
||||||
|
|
||||||
|
%if %{with_mingw}
|
||||||
|
BuildRequires: mingw32-filesystem >= 95
|
||||||
|
BuildRequires: mingw32-gcc-c++
|
||||||
|
BuildRequires: mingw64-filesystem >= 95
|
||||||
|
BuildRequires: mingw64-gcc-c++
|
||||||
|
|
||||||
|
BuildRequires: mingw64-bzip2
|
||||||
|
BuildRequires: mingw32-bzip2
|
||||||
|
BuildRequires: mingw64-glib2
|
||||||
|
BuildRequires: mingw32-glib2
|
||||||
|
BuildRequires: mingw64-libxml2
|
||||||
|
BuildRequires: mingw32-libxml2
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library for reading and writing structured files (e.g. MS OLE and Zip)
|
A library for reading and writing structured files (e.g. MS OLE and Zip)
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Support files necessary to compile applications with libgsf
|
Summary: Support files necessary to compile applications with libgsf
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: libgsf = %{version}-%{release}, glib2-devel, libxml2-devel
|
Requires: libgsf = %{version}-%{release}, glib2-devel, libxml2-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Obsoletes: libgsf-gnome-devel < 1.14.22
|
Obsoletes: libgsf-gnome-devel < 1.14.22
|
||||||
@ -33,36 +53,74 @@ Obsoletes: libgsf-gnome-devel < 1.14.22
|
|||||||
Libraries, headers, and support files necessary to compile applications using
|
Libraries, headers, and support files necessary to compile applications using
|
||||||
libgsf.
|
libgsf.
|
||||||
|
|
||||||
|
%if %{with_mingw}
|
||||||
|
%package -n mingw32-libgsf
|
||||||
|
Summary: MinGW GNOME Structured File library
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n mingw32-libgsf
|
||||||
|
A library for reading and writing structured files (e.g. MS OLE and Zip)
|
||||||
|
|
||||||
|
%package -n mingw64-libgsf
|
||||||
|
Summary: MinGW GNOME Structured File library
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n mingw64-libgsf
|
||||||
|
A library for reading and writing structured files (e.g. MS OLE and Zip)
|
||||||
|
|
||||||
|
%{?mingw_debug_package}
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-gtk-doc --disable-static --enable-introspection=yes
|
%global _configure ../configure
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
mkdir -p build/doc && pushd build
|
||||||
|
ln -s ../../doc/html doc # some day meson... libgsf!4
|
||||||
|
%configure --disable-gtk-doc --disable-static --enable-introspection=yes \
|
||||||
|
%if 0%{?flatpak}
|
||||||
|
--with-typelib_dir=%{_libdir}/girepository-1.0 --with-gir-dir=%{_datadir}/gir-1.0
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
|
%if %{with_mingw}
|
||||||
|
%mingw_configure --disable-static
|
||||||
|
%mingw_make_build
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||||
make DESTDIR=%{buildroot} install
|
pushd build
|
||||||
|
%make_install
|
||||||
|
popd
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%if %{with_mingw}
|
||||||
|
%mingw_make_install
|
||||||
|
%mingw_debug_install_post
|
||||||
|
%mingw_find_lang %{name} --all-name
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove lib rpaths
|
# Remove lib rpaths
|
||||||
chrpath --delete %{buildroot}%{_bindir}/gsf*
|
chrpath --delete %{buildroot}%{_bindir}/gsf*
|
||||||
|
|
||||||
# Remove .la files
|
# Remove .la files
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -delete -print
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -f libgsf.lang
|
%files -f libgsf.lang
|
||||||
%doc AUTHORS COPYING COPYING.LIB README
|
%doc AUTHORS README
|
||||||
|
%license COPYING
|
||||||
%{_libdir}/libgsf-1.so.*
|
%{_libdir}/libgsf-1.so.*
|
||||||
%{_libdir}/girepository-1.0/Gsf-1.typelib
|
%{_libdir}/girepository-1.0/Gsf-1.typelib
|
||||||
%{_bindir}/gsf-office-thumbnailer
|
%{_bindir}/gsf-office-thumbnailer
|
||||||
%{_mandir}/man1/gsf-office-thumbnailer.1.gz
|
%{_mandir}/man1/gsf-office-thumbnailer.1*
|
||||||
%dir %{_datadir}/thumbnailers
|
%dir %{_datadir}/thumbnailers
|
||||||
%{_datadir}/thumbnailers/gsf-office.thumbnailer
|
%{_datadir}/thumbnailers/gsf-office.thumbnailer
|
||||||
|
|
||||||
@ -75,10 +133,128 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_includedir}/libgsf-1/gsf
|
%{_includedir}/libgsf-1/gsf
|
||||||
%{_datadir}/gtk-doc/html/gsf
|
%{_datadir}/gtk-doc/html/gsf
|
||||||
%{_datadir}/gir-1.0/Gsf-1.gir
|
%{_datadir}/gir-1.0/Gsf-1.gir
|
||||||
%{_mandir}/man1/gsf.1.gz
|
%{_mandir}/man1/gsf.1*
|
||||||
%{_mandir}/man1/gsf-vba-dump.1.gz
|
%{_mandir}/man1/gsf-vba-dump.1*
|
||||||
|
|
||||||
|
%if %{with_mingw}
|
||||||
|
%files -n mingw32-libgsf -f mingw32-libgsf.lang
|
||||||
|
%license COPYING
|
||||||
|
%{mingw32_bindir}/gsf.exe
|
||||||
|
%{mingw32_bindir}/gsf-vba-dump.exe
|
||||||
|
%{mingw32_bindir}/gsf-office-thumbnailer.exe
|
||||||
|
%{mingw32_bindir}/libgsf-1-114.dll
|
||||||
|
%{mingw32_bindir}/libgsf-win32-1-114.dll
|
||||||
|
%{mingw32_libdir}/libgsf-1.dll.a
|
||||||
|
%{mingw32_libdir}/libgsf-win32-1.dll.a
|
||||||
|
%{mingw32_libdir}/pkgconfig/libgsf-1.pc
|
||||||
|
%{mingw32_libdir}/pkgconfig/libgsf-win32-1.pc
|
||||||
|
%{mingw32_includedir}/libgsf-1/
|
||||||
|
%{mingw32_mandir}/man1/gsf.1*
|
||||||
|
%{mingw32_mandir}/man1/gsf-vba-dump.1*
|
||||||
|
%{mingw32_mandir}/man1/gsf-office-thumbnailer.1*
|
||||||
|
%{mingw32_datadir}/thumbnailers/gsf-office.thumbnailer
|
||||||
|
|
||||||
|
%files -n mingw64-libgsf -f mingw64-libgsf.lang
|
||||||
|
%license COPYING
|
||||||
|
%{mingw64_bindir}/gsf.exe
|
||||||
|
%{mingw64_bindir}/gsf-vba-dump.exe
|
||||||
|
%{mingw64_bindir}/gsf-office-thumbnailer.exe
|
||||||
|
%{mingw64_bindir}/libgsf-1-114.dll
|
||||||
|
%{mingw64_bindir}/libgsf-win32-1-114.dll
|
||||||
|
%{mingw64_libdir}/libgsf-1.dll.a
|
||||||
|
%{mingw64_libdir}/libgsf-win32-1.dll.a
|
||||||
|
%{mingw64_libdir}/pkgconfig/libgsf-1.pc
|
||||||
|
%{mingw64_libdir}/pkgconfig/libgsf-win32-1.pc
|
||||||
|
%{mingw64_includedir}/libgsf-1/
|
||||||
|
%{mingw64_mandir}/man1/gsf.1*
|
||||||
|
%{mingw64_mandir}/man1/gsf-vba-dump.1*
|
||||||
|
%{mingw64_mandir}/man1/gsf-office-thumbnailer.1*
|
||||||
|
%{mingw64_datadir}/thumbnailers/gsf-office.thumbnailer
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 20 2024 Carlos Garnacho <cgarnach@redhat.com> - 1.14.53-2
|
||||||
|
- Synchronize to packaging changes in Fedora 40:
|
||||||
|
Resolves: RHEL-66920
|
||||||
|
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.14.51-6
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.14.51-5
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.51-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.51-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Nov 30 2023 David King <amigadave@amigadave.com> - 1.14.51-2
|
||||||
|
- Fix building against libxml 2.12.0
|
||||||
|
- Use pkgconfig for BuildRequires
|
||||||
|
|
||||||
|
* Thu Nov 16 2023 Dan Horák <dan[at]danny.cz> - 1.14.51-1
|
||||||
|
- New upstream release 1.14.51
|
||||||
|
- Resolves: rhbz#2214335 rhbz#2249742 rhbz#2249979
|
||||||
|
|
||||||
|
* Wed Aug 02 2023 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.14.50-4
|
||||||
|
- Add MinGW packages
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.50-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Apr 27 2023 Florian Weimer <fweimer@redhat.com> - 1.14.50-2
|
||||||
|
- Port configure script to C99
|
||||||
|
|
||||||
|
* Thu Mar 23 2023 Caolán McNamara <caolanm@redhat.com> 1.14.50-1
|
||||||
|
- latest version
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.47-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.47-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.47-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.47-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.47-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.47-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Mar 27 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.14.47-1
|
||||||
|
- New upstream release 1.14.47
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.43-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 7 2019 Jan Beran <jaberan@redhat.com> - 1.14.43-7
|
||||||
|
- Fixing previous commit (forgotten backlash and wrong date)
|
||||||
|
|
||||||
|
* Wed Aug 7 2019 Jan Beran <jaberan@redhat.com> - 1.14.43-6
|
||||||
|
- Add explicit path for girdir and typelib_dir when building flatpak
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.43-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 22 2019 Jan Beran <jaberan@redhat.com> - 1.14.43-4
|
||||||
|
-Avoid using .gz when listing manpages
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.43-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.43-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 08 2018 Caolán McNamara <caolanm@redhat.com> 1.14.43-1
|
||||||
|
- Resolves: rhbz#1575409 bump to 1.14.43
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.41-5
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.41-5
|
||||||
- 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