Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=889167
--- Comment #3 from HAT hat@fa2.so-net.ne.jp --- (In reply to comment #0)
Since this is my first package, I need a sponsor. Any help in that regard would be much appreciated.
Hi, I made two SRPMs based on your SRPM. http://www003.upp.so-net.ne.jp/hat/files/netatalk-3.0.1-1.1.fc17.src.rpm http://www003.upp.so-net.ne.jp/hat/files/netatalk-3.0.1-2.1.fc18.src.rpm These differ in spec file.
1) Update "Summary", "%description" and "%description devel". AppleTalk is obsoleted.
2) BuildRequires libdb-devel. db4-devel is an old package for compatibility. See Bug 859118. https://bugzilla.redhat.com/show_bug.cgi?id=859118
3) Add netatalk-3.0.1-basedir.patch. In case of Fedora, basedir is /home.
4) Copy afp.conf, not afp.conf.tmpl. afp.conf.tmpl is a source file for generating afp.conf. Don't copy afp.conf.tmpl to /usr/share/doc because it may contain macro in the future.
5) merge netatalk-2.2.3-6 spec file.
http://pkgs.fedoraproject.org/cgit/netatalk.git/commit/?h=f18&id=39e3953...
6) Scriptlets differ in F17 and F18. https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
7) move afp_signature.conf and afp_voluuid.conf into /var/netatalk/ . http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html
TODO: netatalk 3.0.2 will have new conffile "/etc/extmap.conf"