mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
RPM: Add copyright files to rpms
Adds rule to package toplevel LICENSE and NOTICE files to the doc path. Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
This commit is contained in:
parent
f2e0fa230d
commit
fa63c30576
33
cloud.spec
33
cloud.spec
@ -430,11 +430,14 @@ fi
|
||||
%doc %{_docdir}/%{name}-%{version}/version-info
|
||||
%doc %{_docdir}/%{name}-%{version}/sccs-info
|
||||
%doc %{_docdir}/%{name}-%{version}/configure-info
|
||||
%doc debian/copyright
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files client-ui
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_datadir}/%{name}/management/webapps/client/*
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files server
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -452,6 +455,8 @@ fi
|
||||
%{_javadir}/%{name}-plugin-elb.jar
|
||||
%{_javadir}/%{name}-plugin-nicira-nvp.jar
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/server/*
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files scripts
|
||||
%defattr(-,root,root,-)
|
||||
@ -459,7 +464,8 @@ fi
|
||||
# maintain the following list in sync with files scripts
|
||||
%{_libdir}/%{name}/common/vms/systemvm.zip
|
||||
%{_libdir}/%{name}/common/vms/systemvm.iso
|
||||
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files deps
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -490,9 +496,14 @@ fi
|
||||
%{_javadir}/jstl-1.2.jar
|
||||
%{_javadir}/javax.persistence-2.0.0.jar
|
||||
%{_javadir}/bcprov-jdk16-1.45.jar
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files core
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-core.jar
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files python
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -500,6 +511,8 @@ fi
|
||||
%attr(0755,root,root) %{_bindir}/cloud-external-ipallocator.py
|
||||
%attr(0755,root,root) %{_initrddir}/cloud-ipallocator
|
||||
%dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/ipallocator
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files setup
|
||||
%attr(0755,root,root) %{_bindir}/%{name}-setup-databases
|
||||
@ -513,6 +526,8 @@ fi
|
||||
%{_datadir}/%{name}/setup/db/*.sql
|
||||
%{_datadir}/%{name}/setup/*.sh
|
||||
%{_datadir}/%{name}/setup/server-setup.xml
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files client
|
||||
%defattr(0644,root,root,0775)
|
||||
@ -536,12 +551,16 @@ fi
|
||||
%dir %attr(0770,root,%{name}) %{_localstatedir}/cache/%{name}/management/temp
|
||||
%dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/management
|
||||
%dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/agent
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files agent-libs
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-agent.jar
|
||||
%{_javadir}/%{name}-plugin-hypervisor-kvm.jar
|
||||
%{_javadir}/libvirt-0.4.9.jar
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files agent
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -552,6 +571,8 @@ fi
|
||||
%attr(0755,root,root) %{_initrddir}/%{name}-agent
|
||||
%attr(0755,root,root) %{_bindir}/%{name}-setup-agent
|
||||
%dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/agent
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files cli
|
||||
%{_bindir}/%{name}-tool
|
||||
@ -561,9 +582,13 @@ fi
|
||||
%dir %{_prefix}/lib*/python*/site-packages/%{name}tool
|
||||
%{_prefix}/lib*/python*/site-packages/%{name}tool/*
|
||||
%{_prefix}/lib*/python*/site-packages/%{name}apis.py
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files baremetal-agent
|
||||
%attr(0755,root,root) %{_bindir}/cloud-setup-baremetal
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files usage
|
||||
%defattr(0644,root,root,0775)
|
||||
@ -573,6 +598,8 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/usage/usage-components.xml
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/usage/log4j-%{name}_usage.xml
|
||||
%config(noreplace) %attr(0640,root,%{name}) %{_sysconfdir}/%{name}/usage/db.properties
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%files aws-api
|
||||
%defattr(0644,cloud,cloud,0755)
|
||||
@ -581,6 +608,8 @@ fi
|
||||
%attr(0644,root,root) %{_datadir}/cloud/setup/bridge/db/*
|
||||
%attr(0755,root,root) %{_bindir}/cloudstack-aws-api-register
|
||||
%attr(0755,root,root) %{_bindir}/cloud-setup-bridge
|
||||
%doc LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%changelog
|
||||
* Fri Sep 14 2012 Marcus Sorensen <shadowsor@gmail.com> 4.0.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user