Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/libiptcdata-1.0.4.tar.gz
|
SOURCES/libiptcdata-1.0.5.tar.gz
|
||||||
/libiptcdata-1.0.4.tar.gz
|
|
||||||
|
1
.libiptcdata.metadata
Normal file
1
.libiptcdata.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
1b774f21921877d835b7c1b40bb69d7adb22a518 SOURCES/libiptcdata-1.0.5.tar.gz
|
@ -1,23 +1,21 @@
|
|||||||
%if 0%{?rhel} <= 5
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libiptcdata
|
Name: libiptcdata
|
||||||
Version: 1.0.4
|
Version: 1.0.5
|
||||||
Release: 21%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: IPTC tag library
|
Summary: IPTC tag library
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libiptcdata.sourceforge.net/
|
URL: https://github.com/ianw/%{name}
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/ianw/%{name}/releases/download/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gettext
|
BuildRequires: gcc
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext
|
||||||
BuildRequires: libtool
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: libtool
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libiptcdata is a library for parsing, editing, and saving IPTC data
|
libiptcdata is a library for parsing, editing, and saving IPTC data
|
||||||
@ -26,93 +24,112 @@ as captions, titles, locations, etc. in the headers of an image file.
|
|||||||
libiptcdata also includes a command-line utility for modifying the
|
libiptcdata also includes a command-line utility for modifying the
|
||||||
metadata.
|
metadata.
|
||||||
|
|
||||||
|
%package -n python3-%{name}
|
||||||
|
Summary: Python bindings for libiptcdata
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
%description -n python3-%{name}
|
||||||
|
The libiptcdata-python package contains a Python module that allows Python
|
||||||
|
applications to use the libiptcdata API for reading and writing IPTC
|
||||||
|
metadata in images.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Headers and libraries for libiptcdata application development
|
Summary: Headers and libraries for libiptcdata application development
|
||||||
Group: Development/Libraries
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: pkgconfig
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libiptcdata-devel package contains the libraries and include files
|
The libiptcdata-devel package contains the libraries and include files
|
||||||
that you can use to develop libiptcdata applications.
|
that you can use to develop libiptcdata applications.
|
||||||
|
|
||||||
%if 0%{?rhel} <= 7
|
|
||||||
%package -n python2-libiptcdata
|
|
||||||
%{?python_provide:%python_provide python2-libiptcdata}
|
|
||||||
# Remove before F30
|
|
||||||
Provides: %{name}-python = %{version}-%{release}
|
|
||||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-python < %{version}-%{release}
|
|
||||||
Summary: Python bindings for libiptcdata
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
BuildRequires: python-devel
|
|
||||||
|
|
||||||
%description -n python2-libiptcdata
|
|
||||||
The libiptcdata-python package contains a Python module that allows Python
|
|
||||||
applications to use the libiptcdata API for reading and writing IPTC
|
|
||||||
metadata in images.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
# fix compatibility with gtk-doc 1.26
|
# fix compatibility with gtk-doc 1.26
|
||||||
for f in libiptcdata/*.{c,h} ; do
|
|
||||||
iconv -f ISO-8859-1 -t utf8 -o $f.utf8 $f && mv $f.utf8 $f
|
|
||||||
done
|
|
||||||
gtkdocize
|
gtkdocize
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-gtk-doc --disable-static \
|
#configure --enable-gtk-doc --disable-python --disable-static
|
||||||
%if 0%{?rhel} <= 7
|
export PYTHON_VERSION=%python3_version
|
||||||
--enable-python
|
%configure --enable-gtk-doc --enable-python --disable-static
|
||||||
%else
|
%make_build
|
||||||
--disable-python
|
|
||||||
%endif
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%make_install
|
||||||
make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
|
find %{buildroot} -name "*.la" -exec rm -f {} \;
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
|
||||||
%if 0%{?rhel} <= 7
|
|
||||||
rm -f $RPM_BUILD_ROOT%{python_sitearch}/iptcdata.la
|
|
||||||
%endif
|
|
||||||
%find_lang %{name} --all-name
|
%find_lang %{name} --all-name
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
%license COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files -n python3-%{name}
|
||||||
|
%doc python/README
|
||||||
|
%doc python/examples/*
|
||||||
|
%{python3_sitearch}/*.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_includedir}/libiptcdata
|
%{_includedir}/libiptcdata
|
||||||
%{_datadir}/gtk-doc/html/libiptcdata
|
%{_datadir}/gtk-doc/html/libiptcdata
|
||||||
|
|
||||||
%if 0%{?rhel} <= 7
|
|
||||||
%files -n python2-libiptcdata
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc python/README
|
|
||||||
%doc python/examples/*
|
|
||||||
%{python_sitearch}/*.so
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jun 14 2018 Troy Dawson <tdawson@redhat.com> - 1.0.4-21
|
* Tue Jul 09 2024 Wim Taymans <wtaymans@redhat.com> - 1.0.5-10
|
||||||
- No python2 in RHEL > 7 (#1580764)
|
- Rebuild to get -devel in compose
|
||||||
- fix compatibility with gtk-doc 1.26 (#1580764)
|
- Resolves: RHEL-45353
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.5-9
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.5-8
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-5
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-3
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Apr 16 2019 Richard Shaw <hobbes1069@gmail.com> - 1.0.5-1
|
||||||
|
- Update to 1.0.5.
|
||||||
|
- Modernize spec file.
|
||||||
|
- Enable python3 package.
|
||||||
|
|
||||||
|
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-24
|
||||||
|
- Remove the Python 2 subpackage (#1628188)
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.4-22
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-20
|
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-20
|
||||||
- Add Provides for the old name without %%_isa
|
- Add Provides for the old name without %%_isa
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
|
Loading…
Reference in New Issue
Block a user