• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

RPM for navi2ch


Commit MetaInfo

Révision855dfa9c45e94b87ae24ae123d992e46693a3d5a (tree)
l'heure2014-07-21 15:56:02
AuteurKatsuyuki TATEISHI <kt@whee...>
CommiterKatsuyuki TATEISHI

Message de Log

Update for the snapshot "ceb8e65"

Change Summary

Modification

--- a/navi2ch-cvs.spec
+++ /dev/null
@@ -1,81 +0,0 @@
1-%define snapshot_date 20101224
2-%define rpm_ver 0.0.%{snapshot_date}.1
3-%define archive_ver 0.0.%{snapshot_date}-1
4-
5-%define elispdir %(pkg-config emacs --variable=sitepkglispdir)
6-
7-Name: navi2ch-cvs
8-Version: %{rpm_ver}
9-Release: 3%{?dist}
10-Summary: Navigator for 2ch(navi2ch) is a '2ch bbs' browser worked on Emacsen
11-
12-Group: Applications/Internet
13-License: GPLv2
14-URL: http://navi2ch.sourceforge.net
15-Source0: %{name}_%{archive_ver}.tar.gz
16-BuildRoot: %{_tmppath}/%{name}_%{version}-%{release}-root-%(%{__id_u} -n)
17-BuildArch: noarch
18-
19-BuildRequires: emacs emacs-el
20-Requires: emacs >= 21
21-conflicts: navi2ch
22-
23-%description
24-Navigator for 2ch(navi2ch) is a '2ch bbs' browser worked on Emacsen
25-
26-%package el
27-Summary: Elisp source files for %{name}
28-Requires: %{name} = %{version}-%{release}
29-
30-%description el
31-Elisp source files for %{name}-%{version}
32-
33-%prep
34-%setup -q -n %{name}-%{snapshot_date}
35-
36-
37-%build
38-%configure --with-lispdir=%{elispdir}/%{name} --with-icondir=%{_datadir}/%{name}
39-make %{?_smp_mflags}
40-
41-
42-%install
43-rm -rf $RPM_BUILD_ROOT
44-make install DESTDIR=$RPM_BUILD_ROOT
45-rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
46-
47-
48-%clean
49-rm -rf $RPM_BUILD_ROOT
50-
51-%post
52-/sbin/install-info %{_infodir}/navi2ch.info.gz %{_infodir}/dir
53-
54-%preun
55-/sbin/install-info --delete %{_infodir}/navi2ch.info.gz %{_infodir}/dir
56-
57-%files
58-%defattr(-,root,root,-)
59-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
60-%{elispdir}/%{name}/*.elc
61-%dir %{elispdir}/%{name}
62-%{_datadir}/%{name}/
63-%{_infodir}/*
64-
65-%files el
66-%defattr(-,root,root,-)
67-%{elispdir}/%{name}/*.el
68-
69-%changelog
70-* Fri Feb 11 2011 TATEISHI Katsuyuki <kt@wheel.jp> 0.0.20101224.1-3
71-- Add emacs-el as BuildRequires to avoid installation path error.
72-
73-* Fri Feb 11 2011 TATEISHI Katsuyuki <kt@wheel.jp> 0.0.20101224.1-2
74-- Rebuild to fix installation path depending build env. No changes to
75- the spec but bump Release.
76-
77-* Wed Feb 2 2011 TATEISHI Katsuyuki <kt@wheel.jp> 0.0.20101224.1-1
78-- Update for cvs snapshot 20101224.
79-
80-* Wed Feb 2 2011 TATEISHI Katsuyuki <kt@wheel.jp> 1.8.3-1
81-- Initial revision
Binary files a/navi2ch-cvs_0.0.20101224-1.tar.gz and /dev/null differ
--- a/navi2ch-snapshot.spec
+++ b/navi2ch-snapshot.spec
@@ -1,18 +1,23 @@
1-%define snapshot_date 20101224
2-%define rpm_ver 0.0.%{snapshot_date}.1
3-%define archive_ver 0.0.%{snapshot_date}-1
1+%define snapshot_sha1 ceb8e65
2+%define rpm_ver 2.0.0.DEV.0.%{snapshot_sha1}
3+%define archive_ver %{snapshot_sha1}
4+#
5+# The source archive is tar-ed up with:
6+# git archive --prefix=navi2ch-snapshot-`git describe --always`/ \
7+# --format=tgz HEAD > ../navi2ch-snapshot-`git describe --always`.tar.gz
8+#
49
510 %define elispdir %(pkg-config emacs --variable=sitepkglispdir)
611
7-Name: navi2ch-cvs
12+Name: navi2ch-snapshot
813 Version: %{rpm_ver}
9-Release: 3%{?dist}
14+Release: 1%{?dist}
1015 Summary: Navigator for 2ch(navi2ch) is a '2ch bbs' browser worked on Emacsen
1116
1217 Group: Applications/Internet
1318 License: GPLv2
1419 URL: http://navi2ch.sourceforge.net
15-Source0: %{name}_%{archive_ver}.tar.gz
20+Source0: %{name}-%{archive_ver}.tar.gz
1621 BuildRoot: %{_tmppath}/%{name}_%{version}-%{release}-root-%(%{__id_u} -n)
1722 BuildArch: noarch
1823
@@ -31,7 +36,7 @@ Requires: %{name} = %{version}-%{release}
3136 Elisp source files for %{name}-%{version}
3237
3338 %prep
34-%setup -q -n %{name}-%{snapshot_date}
39+%setup -q -n %{name}-%{snapshot_sha1}
3540
3641
3742 %build
@@ -67,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT
6772 %{elispdir}/%{name}/*.el
6873
6974 %changelog
75+* Mon Jul 21 2014 TATEISHI Katsuyuki <kt@wheel.jp> 2.0.0.DEV.0.ceb8e65-1
76+- Switch the source to the snapshot from the git repo.
77+
7078 * Fri Feb 11 2011 TATEISHI Katsuyuki <kt@wheel.jp> 0.0.20101224.1-3
7179 - Add emacs-el as BuildRequires to avoid installation path error.
7280