本文介绍了deb 包中的版权文件 - 如何的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I'm trying to create a deb package from binaries but I have a problem with copyright file.If I place a file named copyright inside DEBIAN folder it complains of two things:

  • Missing copyright
  • Unknown control file copyright

If I place it under /usr/share/doc or /usr/share/doc/mypackage it does not complain at all but, in any case, when I open generated debian package, Ubuntu Software Center states License: Unknown

Using: ubuntu raring

Executing fakeroot dpkg-deb -z8 -Zgzip --build myproj

Copyright file looks as follows:

Format: http://dep.debian.net/deps/dep5
Upstream-Name: myproj
Source:


Files: *
Copyright: 2013 myproj. All rights reserved.
License: Limited Use Software License Agreement
 License Text Here
解决方案

Apparently the "Unknown" issue in Ubuntu Software Center is not an issue and cannot be solved for the moment.From ubuntu lists, Feb'13 thread:

They started working in the issue in July

这篇关于deb 包中的版权文件 - 如何的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-20 19:29