...
Code Block |
---|
Name: sipxconfig-acme Version: 1.0 Release: 1 # java, no debug rpm nec. %define debug_package %{nil} # disable JAR repacking %define __jar_repack %{nil} Summary: Acme phone support for sipXconfig License: LGPL?? Group: Telcommunications Vendor: Example Corp. Packager: First Last <first.last@example.com> %define sipxpbxconf %{_sysconfdir}/sipxpbx %define sipxconfiglib %{_datadir}/java/sipXecs/sipXconfig Requires: sipxconfig Source: %name-%version.tar.gz BuildRoot: %{_tmppath}/%name-%version-root %description This package adds support for the Acme phones. %prep %setup -q %build %configure make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT # build should install one or more jars in sipxconfiglib directory... %files %defattr(644,root,root,755) %{sipxconfiglib}/sipxconfig-acme.jar %config(noreplace) %{sipxpbxconf}/acme/* %post %preun |
}}