Simple RSS Reader inspired by Gxxgle Reader
Revisión | f4478505030fea547b5bb75f4e3f97f95deb1739 (tree) |
---|---|
Tiempo | 2013-07-16 01:03:22 |
Autor | hylom <hylom@hylo...> |
Commiter | hylom |
dist: update spec and Makefile
@@ -7,7 +7,7 @@ all: rpm | ||
7 | 7 | tarball: $(TGZ_NAME) |
8 | 8 | |
9 | 9 | rpm: rpmbuild/SPECS/$(SPEC) rpmbuild/SOURCES/$(TGZ_NAME) |
10 | - rpmbuild --define "_topdir ${PWD}/rpmbuild" -bp $(SPEC) | |
10 | + rpmbuild --define "_topdir ${PWD}/rpmbuild" -bi $(SPEC) | |
11 | 11 | |
12 | 12 | rpmbuild/SPECS/$(SPEC): $(SPEC) rpmbuild/SPECS |
13 | 13 | cp $< $@ |
@@ -23,7 +23,25 @@ Grrreader is HTML and Ajax based RSS Reader application based on Node.js and Pyt | ||
23 | 23 | %setup |
24 | 24 | |
25 | 25 | %build |
26 | +cd client; npm install | |
26 | 27 | |
27 | 28 | %install |
28 | 29 | mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/grrreader |
30 | +cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/grrreader | |
31 | +install -m 755 initscript ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/grrreader | |
32 | + | |
33 | +%clean | |
34 | +rm -rf ${RPM_BUILD_ROOT} | |
35 | + | |
36 | +%files | |
37 | +%defattr(-, root, root, -) | |
38 | +%doc README.md | |
39 | +%doc license.txt | |
40 | +%{_datadir}/grrreader/backend | |
41 | +%{_datadir}/grrreader/client | |
42 | +%{_sysconfdir}/init.d/grrreader | |
43 | + | |
44 | +%changelog | |
45 | +* Tue 16 Jul 2013 Hiromichi Matsushima <hylom at hylom.net> - 0.0.5-1 | |
46 | +- Create RPM package | |
29 | 47 |