Changes between Version 4 and Version 5 of waue/2009/0512


Ignore:
Timestamp:
May 12, 2009, 5:59:39 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0512

    v4 v5  
    2020 * 似乎直接修改nutch-1.0下的conf內的檔案會被警告,因此建議不要動任何原本在nutch-1.0資料夾下的檔案,改寫在debian/postinst內
    2121
    22  1. 找到並解壓縮 nutch-1.0.tar.gz
    23  2. 在 nutch-1.0 資料夾執行 ''' dh_make -f ../nutch_1.0.tar.gz '''
    24  3. 將debian內的 '''rm *.ex *.EX dir '''等檔案,並修改 rules , control
    25  4. 增加 nutch.[install,docs,links,postinst, postrm, prerm] 等檔
    26  5. 在 nutch-1.0 資料夾內編輯Makefile檔
    27  6. 執行 ''' sudo dpkg-buildpackage -rfakeroot -k0xB35CE8C3'''
    28 
     22 == 1. 找到並解壓縮 nutch-1.0.tar.gz ==
     23 == 2. 在 nutch-1.0 資料夾執行 ''' dh_make -f ../nutch_1.0.tar.gz ''' ==
     24 == 3. 將debian內的 '''rm *.ex *.EX dir '''等檔案,並修改 rules , control ==
     25
     26 * changelog
     27
     28{{{
     29nutch (1.0-1) unstable; urgency=low
     30
     31  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
     32
     33 -- Wei-Yu Chen <waue0920@gmail.com>  Tue, 12 May 2009 11:15:51 +0800
     34}}}
     35
     36 * compat
     37 
     38{{{
     395
     40}}}
     41
     42 * control
     43 
     44{{{
     45Source: nutch
     46
     47Section:devel
     48
     49Priority: extra
     50
     51Maintainer: Wei-Yu Chen <waue0920@gmail.com>
     52
     53Build-Depends: debhelper (>= 5)
     54
     55Standards-Version: 3.7.2
     56
     57
     58
     59Package: nutch
     60
     61Architecture: any
     62
     63Depends: ${shlibs:Depends}, ${misc:Depends}, sun-java6-jre, sun-java6-bin
     64
     65Suggests: sun-java6-jdk, tomcat6
     66
     67Description: Apache Nutch
     68
     69   .
     70
     71   Apache Nutch is a software that search and crawl internet.
     72}}}
     73
     74 * copyright
     75{{{
     76This package was debianized by Wei-Yu Chen <waue0920@gmail.com> on
     77
     78Tue, 12 May 2009 11:15:51 +0800.
     79
     80
     81
     82It was downloaded from <url://example.com>
     83
     84
     85
     86Upstream Author(s):
     87
     88
     89
     90    <put author's name and email here>
     91
     92    <likewise for another author>
     93
     94
     95
     96Copyright:
     97
     98
     99
     100    <Copyright (C) YYYY Name OfAuthor>
     101
     102    <likewise for another author>
     103
     104
     105
     106License:
     107
     108
     109
     110    <Put the license of the package here indented by 4 spaces>
     111
     112
     113
     114The Debian packaging is (C) 2009, Wei-Yu Chen <waue0920@gmail.com> and
     115
     116is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
     117
     118
     119
     120# Please also look if there are files or directories which have a
     121
     122# different copyright/license attached and list them here.
     123}}}
     124
     125 * docs
     126 
     127{{{
     128CHANGES.txt
     129
     130LICENSE.txt
     131
     132NOTICE.txt
     133
     134README.txt
     135
     136README.txt
     137}}}
     138
     139 * rules
     140
     141{{{
     142#!/usr/bin/make -f
     143
     144export DH_VERBOSE=0
     145
     146
     147
     148all:
     149
     150
     151
     152install:
     153
     154        dh_testdir
     155
     156        dh_testroot
     157
     158        dh_install -Xlicense.txt
     159
     160        dh_installdocs
     161
     162        dh_installchangelogs
     163
     164        #dh_installexamples
     165
     166        dh_compress
     167
     168        dh_fixperms
     169
     170        dh_installdeb
     171
     172        dh_link
     173
     174        dh_gencontrol
     175
     176        dh_md5sums
     177
     178        dh_builddeb
     179
     180
     181
     182clean:
     183
     184        dh_clean
     185
     186
     187
     188binary: install
     189
     190
     191
     192build:
     193
     194binary-arch:
     195
     196binary-indep:
     197}}} * changelog
     198
     199{{{
     200nutch (1.0-1) unstable; urgency=low
     201
     202  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
     203
     204 -- Wei-Yu Chen <waue0920@gmail.com>  Tue, 12 May 2009 11:15:51 +0800
     205}}}
     206
     207 * compat
     208 
     209{{{
     2105
     211}}}
     212
     213 * control
     214 
     215{{{
     216Source: nutch
     217
     218Section:devel
     219
     220Priority: extra
     221
     222Maintainer: Wei-Yu Chen <waue0920@gmail.com>
     223
     224Build-Depends: debhelper (>= 5)
     225
     226Standards-Version: 3.7.2
     227
     228
     229
     230Package: nutch
     231
     232Architecture: any
     233
     234Depends: ${shlibs:Depends}, ${misc:Depends}, sun-java6-jre, sun-java6-bin
     235
     236Suggests: sun-java6-jdk, tomcat6
     237
     238Description: Apache Nutch
     239
     240   .
     241
     242   Apache Nutch is a software that search and crawl internet.
     243}}}
     244
     245 * copyright
     246{{{
     247This package was debianized by Wei-Yu Chen <waue0920@gmail.com> on
     248
     249Tue, 12 May 2009 11:15:51 +0800.
     250
     251
     252
     253It was downloaded from <url://example.com>
     254
     255
     256
     257Upstream Author(s):
     258
     259
     260
     261    <put author's name and email here>
     262
     263    <likewise for another author>
     264
     265
     266
     267Copyright:
     268
     269
     270
     271    <Copyright (C) YYYY Name OfAuthor>
     272
     273    <likewise for another author>
     274
     275
     276
     277License:
     278
     279
     280
     281    <Put the license of the package here indented by 4 spaces>
     282
     283
     284
     285The Debian packaging is (C) 2009, Wei-Yu Chen <waue0920@gmail.com> and
     286
     287is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
     288
     289
     290
     291# Please also look if there are files or directories which have a
     292
     293# different copyright/license attached and list them here.
     294}}}
     295
     296 * docs
     297 
     298{{{
     299CHANGES.txt
     300
     301LICENSE.txt
     302
     303NOTICE.txt
     304
     305README.txt
     306
     307README.txt
     308}}}
     309
     310 * rules
     311
     312{{{
     313#!/usr/bin/make -f
     314
     315export DH_VERBOSE=0
     316
     317
     318
     319all:
     320
     321
     322
     323install:
     324
     325        dh_testdir
     326
     327        dh_testroot
     328
     329        dh_install -Xlicense.txt
     330
     331        dh_installdocs
     332
     333        dh_installchangelogs
     334
     335        #dh_installexamples
     336
     337        dh_compress
     338
     339        dh_fixperms
     340
     341        dh_installdeb
     342
     343        dh_link
     344
     345        dh_gencontrol
     346
     347        dh_md5sums
     348
     349        dh_builddeb
     350
     351
     352
     353clean:
     354
     355        dh_clean
     356
     357
     358
     359binary: install
     360
     361
     362
     363build:
     364
     365binary-arch:
     366
     367binary-indep:
     368}}}
     369
     370
     371
     372 == 4. 增加 nutch.[install,docs,links,postinst, postrm, prerm] 等檔 ==
     373 == 5. 在 nutch-1.0 資料夾內編輯Makefile檔 ==
     374 == 6. 執行 ''' sudo dpkg-buildpackage -rfakeroot -k0xB35CE8C3''' ==
     375