Now have a buildable package.

This commit is contained in:
Jason Tibbitts 2017-05-22 16:14:19 -05:00
parent 176b9d0495
commit 1f8c1109f3

View File

@ -8,14 +8,12 @@ Release: 1%{?dist}
%define ssl_pem_file /etc/pki/%name/%name.pem %define ssl_pem_file /etc/pki/%name/%name.pem
# uid/gid reserved, see setup:/usr/share/doc/setup*/uidgid # UID/GID 76 have long been reserved for Cyrus
%define uid 76 %define uid 76
%define gid 76 %define gid 76
%define cyrususer cyrus %define cyrususer cyrus
%define cyrusgroup mail %define cyrusgroup mail
# RF hardcoded-library-path in %%_prefix/lib/%%name
#define cyrexecdir %%_prefix/lib/%name
%define cyrexecdir %_libexecdir/%name %define cyrexecdir %_libexecdir/%name
Summary: A high-performance email, contacts and calendar server Summary: A high-performance email, contacts and calendar server
@ -29,6 +27,7 @@ Source13: cyrus-imapd.pam-config
Source17: cyrus-imapd.sysconfig Source17: cyrus-imapd.sysconfig
Source18: cyrus-imapd.cvt_cyrusdb_all Source18: cyrus-imapd.cvt_cyrusdb_all
Source19: cyrus-imapd.magic Source19: cyrus-imapd.magic
# XXX A systemd timer would probably be better
Source20: cyrus-imapd.cron-daily Source20: cyrus-imapd.cron-daily
Source21: README.rpm Source21: README.rpm
Source22: cyrus-imapd.service Source22: cyrus-imapd.service
@ -365,7 +364,7 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%files %files
%license COPYING %license COPYING
%doc README doc/* %doc README.md doc/*
%_datadir/cyrus-imapd %_datadir/cyrus-imapd
%_libdir/libcyrus*.so.* %_libdir/libcyrus*.so.*
@ -421,6 +420,7 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%doc perl/imap/Changes %doc perl/imap/Changes
%doc perl/imap/examples %doc perl/imap/examples
%{_bindir}/* %{_bindir}/*
%{_sbindir}/*
%{perl_vendorarch}/auto/Cyrus %{perl_vendorarch}/auto/Cyrus
%{perl_vendorarch}/Cyrus %{perl_vendorarch}/Cyrus
%{perl_vendorlib}/Cyrus %{perl_vendorlib}/Cyrus