[config] Added rpm spec file

Build/dist rpm spec file, include -with/without options for all
supported features (defaults same as configure).
This commit is contained in:
Scott Shambarger
2016-12-27 15:57:41 -08:00
parent 17d3058147
commit a1498fbe4f
4 changed files with 182 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
RPM_SPEC_FILE = forked-daapd.spec
CONF_FILE = forked-daapd.conf
SYSTEMD_SERVICE_FILE = forked-daapd.service
@@ -23,7 +24,8 @@ nobase_dist_doc_DATA = \
EXTRA_DIST = \
$(CONF_FILE).in \
$(SYSTEMD_SERVICE_FILE).in
$(SYSTEMD_SERVICE_FILE).in \
$(RPM_SPEC_FILE)
install-data-hook:
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/libspotify"