Simple RSS Reader inspired by Gxxgle Reader
Revision | 29b0f0afab87ff564da4835fbdbaf86d6abb0fa9 (tree) |
---|---|
Zeit | 2013-07-16 01:35:17 |
Autor | hylom <hylom@hylo...> |
Commiter | hylom |
update grrreader.spec
@@ -7,7 +7,8 @@ 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" -bi $(SPEC) | |
10 | + rpmbuild --define "_topdir ${PWD}/rpmbuild" -ba $(SPEC) | |
11 | + cp rpmbuild/RPMS/noarch/grrreader-$(VERSION)-*.rpm . | |
11 | 12 | |
12 | 13 | rpmbuild/SPECS/$(SPEC): $(SPEC) rpmbuild/SPECS |
13 | 14 | cp $< $@ |
@@ -15,21 +15,27 @@ Requires: nodejs >= 0.10.0 | ||
15 | 15 | Requires: python >= 2.6.6 |
16 | 16 | Requires: python-dateutil >= 1.4.1 |
17 | 17 | Requires: python-feedparser >= 5.1.2 |
18 | +Requires: /usr/lib/node_modules/forever/bin/forever | |
19 | +Requires: bash | |
18 | 20 | |
19 | 21 | %description |
20 | 22 | Grrreader is HTML and Ajax based RSS Reader application based on Node.js and Python. |
21 | 23 | |
22 | 24 | %prep |
23 | 25 | %setup |
26 | +sed -i -e 's/\/var\/grrreader\/app.js/\/usr\/share\/grrreader\/app.js/' initscript | |
24 | 27 | |
25 | 28 | %build |
26 | 29 | cd client; npm install |
27 | 30 | |
28 | 31 | %install |
29 | 32 | mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/grrreader |
30 | -cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/grrreader | |
33 | +cp -pr backend ${RPM_BUILD_ROOT}%{_datadir}/grrreader/ | |
34 | +cp -pr client ${RPM_BUILD_ROOT}%{_datadir}/grrreader/ | |
35 | +mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d | |
31 | 36 | install -m 755 initscript ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/grrreader |
32 | 37 | |
38 | + | |
33 | 39 | %clean |
34 | 40 | rm -rf ${RPM_BUILD_ROOT} |
35 | 41 |
@@ -42,6 +48,6 @@ rm -rf ${RPM_BUILD_ROOT} | ||
42 | 48 | %{_sysconfdir}/init.d/grrreader |
43 | 49 | |
44 | 50 | %changelog |
45 | -* Tue 16 Jul 2013 Hiromichi Matsushima <hylom at hylom.net> - 0.0.5-1 | |
51 | +* Tue Jul 16 2013 Hiromichi Matsushima <hylom at hylom.net> - 0.0.5-1 | |
46 | 52 | - Create RPM package |
47 | 53 |