Spec clean up, remove Group tag, add gcc requirement
This commit is contained in:
parent
515283323e
commit
694616c63e
29
jasper.spec
29
jasper.spec
@ -5,19 +5,12 @@
|
|||||||
|
|
||||||
Summary: Implementation of the JPEG-2000 standard, Part 1
|
Summary: Implementation of the JPEG-2000 standard, Part 1
|
||||||
Name: jasper
|
Name: jasper
|
||||||
Group: System Environment/Libraries
|
|
||||||
Version: 2.0.14
|
Version: 2.0.14
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
%if "%{version}" > "1.900.1"
|
|
||||||
%define ext .tar.gz
|
|
||||||
%else
|
|
||||||
%define ext .zip
|
|
||||||
%endif
|
|
||||||
|
|
||||||
License: JasPer
|
License: JasPer
|
||||||
URL: http://www.ece.uvic.ca/~frodo/jasper/
|
URL: http://www.ece.uvic.ca/~frodo/jasper/
|
||||||
Source0: http://www.ece.uvic.ca/~frodo/jasper/software/jasper-%{version}%{ext}
|
Source0: http://www.ece.uvic.ca/~frodo/jasper/software/jasper-%{version}.tar.gz
|
||||||
|
|
||||||
|
|
||||||
# architecture related patches
|
# architecture related patches
|
||||||
@ -34,6 +27,7 @@ BuildRequires: pkgconfig doxygen
|
|||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: mesa-libGL-devel
|
||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains an implementation of the image compression
|
This package contains an implementation of the image compression
|
||||||
@ -42,7 +36,6 @@ from the JP2 and JPC formats.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files, libraries and developer documentation
|
Summary: Header files, libraries and developer documentation
|
||||||
Group: Development/Libraries
|
|
||||||
Provides: libjasper-devel = %{version}-%{release}
|
Provides: libjasper-devel = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: libjpeg-devel
|
Requires: libjpeg-devel
|
||||||
@ -52,14 +45,12 @@ Requires: pkgconfig
|
|||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: Runtime libraries for %{name}
|
Summary: Runtime libraries for %{name}
|
||||||
Group: System Environment/Libraries
|
|
||||||
Conflicts: jasper < 1.900.1-4
|
Conflicts: jasper < 1.900.1-4
|
||||||
%description libs
|
%description libs
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: Nonessential utilities for %{name}
|
Summary: Nonessential utilities for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
%description utils
|
%description utils
|
||||||
@ -99,7 +90,7 @@ popd
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
pushd builder
|
pushd builder
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
#%if "%{_arch}" != "arm" && "%{_arch}" != "i386"
|
#%if "%{_arch}" != "arm" && "%{_arch}" != "i386"
|
||||||
# mv %{buildroot}/usr/lib %{buildroot}/usr/lib64
|
# mv %{buildroot}/usr/lib %{buildroot}/usr/lib64
|
||||||
@ -107,7 +98,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
# Unpackaged files
|
# Unpackaged files
|
||||||
rm -f doc/README
|
rm -f doc/README
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
rm -f %{buildroot}%{_libdir}/lib*.la
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -116,9 +107,7 @@ make test
|
|||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -145,6 +134,12 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 26 2018 Josef Ridky <jridky@redhat.com> - 2.0.14-3
|
||||||
|
- Clean spec file
|
||||||
|
- Remove unused Group tag
|
||||||
|
- Add gcc requirement
|
||||||
|
- Use ldconfig scriptlet
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-2
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.14-2
|
||||||
- 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