dropbox / lepton

Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
https://blogs.dropbox.com/tech/2016/07/lepton-image-compression-saving-22-losslessly-from-images-at-15mbs/
Apache License 2.0
5.01k stars 355 forks source link

Add a spec-file for CentOS / RHEL / Scientific Linux 7.x. #14

Closed gongled closed 7 years ago

gongled commented 8 years ago

I suppose that would be nice to have a spec-file to be able to build RPM packages for CentOS, RHEL and Scientific Linux 7.x.

UnitedMarsupials-zz commented 8 years ago

All of the distributions listed already contain OpenSSL and ZLib. A build of lepton on those systems should use <openssl/md5.h> and -lcrypto for MD5-functionality and the base zlib for compression -- the contents of dependencies/ folder ought to be ignored completely, in my not so humble opinion.

You are welcome to FreeBSD-patches for this. The other change you may wish to incorporate is the removal of the SSE4-requirement.