package created using the webbuild interface [release 1.9.2-1mamba;Tue Dec 01 2020]
This commit is contained in:
parent
a870a626e3
commit
621a545d79
@ -1,2 +1,4 @@
|
|||||||
# hargyllcms
|
# hargyllcms
|
||||||
|
|
||||||
|
An ICC compatible color management system with support for different colorimeter hardware.
|
||||||
|
|
||||||
|
125
hargyllcms.spec
Normal file
125
hargyllcms.spec
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
Name: hargyllcms
|
||||||
|
Version: 1.9.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: An ICC compatible color management system with support for different colorimeter hardware
|
||||||
|
Group: Applications/Graphics
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/hughsie/hargyllcms
|
||||||
|
Source: http://people.freedesktop.org/~hughsient/releases/hargyllcms-%{version}.tar.xz
|
||||||
|
License: GPL, Affero GNU Public License, MPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXau-devel
|
||||||
|
BuildRequires: libXdmcp-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libXinerama-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: libXxf86vm-devel
|
||||||
|
BuildRequires: libjbig-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libwebp-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: libzstd-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Provides: argyllcms
|
||||||
|
Obsoletes: argyllcms
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
An ICC compatible color management system with support for different colorimeter hardware.
|
||||||
|
|
||||||
|
%package docs
|
||||||
|
Group: Documentation
|
||||||
|
Summary: Documentation for %{name} tools
|
||||||
|
|
||||||
|
%description docs
|
||||||
|
Documentation for %{name} tools.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
# we're not allowed to refer to acquisition devices as scanners
|
||||||
|
./legal.sh
|
||||||
|
autoreconf --force --install
|
||||||
|
chmod -x {ChangeLog,README,Readme.txt,COPYING}
|
||||||
|
find doc -type f -exec chmod -x '{}' \;
|
||||||
|
find doc -type f -name '*.htm*' -exec sed -ie 's,\r,,' '{}' \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
CFLAGS="%{optflags} -fcommon"
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
# rely on colord to provide ENV{COLOR_MEASUREMENT_DEVICE}="1"
|
||||||
|
rm -f %{buildroot}/lib/udev/rules.d/55-Argyll.rules
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/*
|
||||||
|
%dir %{_datadir}/color/argyll
|
||||||
|
%dir %{_datadir}/color/argyll/ref
|
||||||
|
%{_datadir}/color/argyll/ref/*
|
||||||
|
|
||||||
|
%files docs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/doc/argyll
|
||||||
|
%{_datadir}/doc/argyll/*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libargyll.so.*
|
||||||
|
%{_libdir}/libargyllicc.so.*
|
||||||
|
%{_libdir}/libimdi.so.*
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libargyll.la
|
||||||
|
%{_libdir}/libargyll.so
|
||||||
|
%{_libdir}/libargyllicc.la
|
||||||
|
%{_libdir}/libargyllicc.so
|
||||||
|
%{_libdir}/libimdi.la
|
||||||
|
%{_libdir}/libimdi.so
|
||||||
|
%doc ChangeLog README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Dec 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user