瀏覽代碼

new: lepton 1.0

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10635 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 8 年之前
父節點
當前提交
9ce958895c
共有 1 個文件被更改,包括 44 次插入0 次删除
  1. 44 0
      l/lepton/lepton-vl.spec

+ 44 - 0
l/lepton/lepton-vl.spec

@@ -0,0 +1,44 @@
+%define ver 1.0
+%define rel 1
+
+Summary: a tool and file format for losslessly compressing JPEGs
+Name: lepton
+Version: %{ver}
+Release: %{rel}%{_dist_release}
+License: ASL 2.0
+Group: Applications/Graphics
+URL: https://github.com/dropbox/lepton/
+Source0: https://github.com/dropbox/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
+Distribution: Vine Linux
+Vendor:       Project Vine
+Packager:     iwaim
+
+%description
+Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
+This can be used to archive large photo collections, or to serve images live and save 22% banwdith.
+
+%prep
+%setup -q
+./autogen.sh
+%configure
+
+%build
+%{__make} %{?_smp_mflags}
+
+%install
+%makeinstall
+
+%check
+make check
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS README.md license.txt
+%{_bindir}/lepton
+%{_bindir}/test_invariants
+
+%changelog
+* Sun Jul 17 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0-1
+- initial relase