Summary: Sticky notes is a free and open source paste-bin application Name: sticky-notes Version: 20120407git Release: 1%{?dist} License: BSD Group: Applications/Internet URL: http://gitorious.org/sticky-notes # The source was pulled from upstreams git scm. Use the following # commands to generate the tarball # git clone git://gitorious.org/sticky-notes/sticky-notes.git ; cd sticky-notes ; git archive 7aba9fe8262d7e62564e56bef491f188f900440c --format=tar --prefix=sticky-notes/ > sticky-notes-20120407git.tar Source0: sticky-notes-20120407git.tar Source1: sticky-notes-http-conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Requires: mysql-server Requires: httpd Requires: php Requires: php-mysql %description Sticky notes is a free and open source paste-bin application. %prep %setup -q -n sticky-notes %build %install mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name} install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/sticky-notes.conf #chmod -R -x * cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/%{name} %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(0644,root,root,-) %config(noreplace) %{_sysconfdir}/httpd/conf.d/sticky-notes.conf %dir %{_datadir}/%{name} %{_datadir}/%{name}/addons %{_datadir}/%{name}/admin %{_datadir}/%{name}/api %{_datadir}/%{name}/skins %{_datadir}/%{name}/classes %{_datadir}/%{name}/rss %{_datadir}/%{name}/lang %{_datadir}/%{name}/*.php %{_datadir}/%{name}/robots.txt %{_datadir}/%{name}/LICENSE %{_datadir}/%{name}/README %{_datadir}/%{name}/VERSION %doc LICENSE %doc README %doc VERSION %changelog * Sat Apr 07 2012 david - 20120407git-1 - First packaged