• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple RSS Reader inspired by Gxxgle Reader


Commit MetaInfo

Revision29b0f0afab87ff564da4835fbdbaf86d6abb0fa9 (tree)
Zeit2013-07-16 01:35:17
Autorhylom <hylom@hylo...>
Commiterhylom

Log Message

update grrreader.spec

Ändern Zusammenfassung

Diff

--- a/dist/Makefile
+++ b/dist/Makefile
@@ -7,7 +7,8 @@ all: rpm
77 tarball: $(TGZ_NAME)
88
99 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 .
1112
1213 rpmbuild/SPECS/$(SPEC): $(SPEC) rpmbuild/SPECS
1314 cp $< $@
--- a/dist/grrreader.spec
+++ b/dist/grrreader.spec
@@ -15,21 +15,27 @@ Requires: nodejs >= 0.10.0
1515 Requires: python >= 2.6.6
1616 Requires: python-dateutil >= 1.4.1
1717 Requires: python-feedparser >= 5.1.2
18+Requires: /usr/lib/node_modules/forever/bin/forever
19+Requires: bash
1820
1921 %description
2022 Grrreader is HTML and Ajax based RSS Reader application based on Node.js and Python.
2123
2224 %prep
2325 %setup
26+sed -i -e 's/\/var\/grrreader\/app.js/\/usr\/share\/grrreader\/app.js/' initscript
2427
2528 %build
2629 cd client; npm install
2730
2831 %install
2932 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
3136 install -m 755 initscript ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/grrreader
3237
38+
3339 %clean
3440 rm -rf ${RPM_BUILD_ROOT}
3541
@@ -42,6 +48,6 @@ rm -rf ${RPM_BUILD_ROOT}
4248 %{_sysconfdir}/init.d/grrreader
4349
4450 %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
4652 - Create RPM package
4753