ArielGlenn has submitted this change and it was merged.

Change subject: .gitignore, .gitreview, debian packaging files for mwbzutils
......................................................................


.gitignore, .gitreview, debian packaging files for mwbzutils

Change-Id: I3968262ca15db99bc7f06caa77d2dbd62026d703
---
A .gitignore
A .gitreview
A debian/README.Debian
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/docs
A debian/rules
A debian/source/format
10 files changed, 150 insertions(+), 0 deletions(-)

Approvals:
  ArielGlenn: Verified; Looks good to me, approved



diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6a8b679
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+# Repository management
+.svn
+
+# Editors
+*~
+
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 0000000..90c9be4
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,5 @@
+[gerrit]
+host=gerrit.wikimedia.org
+port=29418
+project=operations/debs/mwbzutils.git
+defaultbranch=master
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..dbf2280
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,20 @@
+mwbzutils for Debian
+--------------------
+
+If you are reading this file, you will have a local copy of the debian package
+or have retrieved the debian files via
+
+  git clone https://gerrit.wikimedia.org/r/operations/debs/mwbzutils
+  or https://git.wikimedia.org/summary/operations%2Fdebs%2Fmwbzutils
+
+If you need to get the upstream source separately from this package,
+select the appropriate tag (currently mwbzutils_0.0.4) from here
+
+  https://git.wikimedia.org/summary/operations%2Fdumps.git
+
+and then select the compression option of your choice to get the source.
+Cd into the directory xmldumps-backup/mwbzutils to build, patch, etc.
+You can also 'make dist' from within the mwbzutils directory to get a
+tarball of just the utils.
+
+ -- Ariel T. Glenn <[email protected]>  Fri, 05 Jul 2013 12:15:19 +0300
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b908948
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mwbzutils (0.0.4-0~wmf1+precise) precise-wikimedia; urgency=low
+
+  * Initial release
+
+ -- Ariel T. Glenn <[email protected]>  Fri, 05 Jul 2013 12:15:19 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9307918
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: mwbzutils
+Section: misc
+Priority: extra
+Maintainer: Ariel T. Glenn <[email protected]>
+Build-Depends: debhelper (>= 8.0.0), libbz2-1.0, zlib1g
+Standards-Version: 3.9.2
+Homepage: https://www.mediawiki.org/wiki/Manual:Mwbzutils
+Vcs-Git: git clone https://gerrit.wikimedia.org/r/p/operations/dumps.git
+Vcs-Browser: https://git.wikimedia.org/summary/operations%2Fdumps.git
+
+Package: mwbzutils
+Architecture: amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}, libbz2-dev, zlib1g-dev
+Description: C utilities for processing bzipped MediaWiki XML files
+ C utilities for manipulating bzip compressed MediaWiki XML files:
+ elementary integrity checking, retrieving partial content, dumping
+ the last bzip2 block from a possibly truncated file, dumping page
+ metadata/content from a given offset in a file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f44f767
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,73 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: mwbzutils
+Source: <url://example.com>
+
+Files: *
+Copyright: 2001, 2012, 2013 Ariel T. Glenn <[email protected]>
+License: GPL-2+
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+Files: bzlib*
+Copyright: 2010 Julian Seward <[email protected]>
+License: LICENSE_BZ
+
+Files: debian/*
+Copyright: 2013 Ariel T. Glenn <[email protected]>
+License: GPL-2+
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: LICENSE_BZ
+ This program, "bzip2", the associated library "libbzip2", and all
+ documentation, are copyright (C) 1996-2010 Julian R Seward.  All
+ rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ .
+ 2. The origin of this software must not be misrepresented; you must
+    not claim that you wrote the original software.  If you use this
+    software in a product, an acknowledgment in the product
+    documentation would be appreciated but is not required.
+ .
+ 3. Altered source versions must be plainly marked as such, and must
+    not be misrepresented as being the original software.
+ .
+ 4. The name of the author may not be used to endorse or promote
+    products derived from this software without specific prior written
+    permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..2c14fe0
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README
+LICENSE_BZ
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9f3ce02
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh $@
+
+
+override_dh_usrlocal:
+
+override_dh_installchangelogs:
+       install --mode=644 $(CURDIR)/debian/changelog 
$(DEB_DESTDIR)debian/mwbzutils/usr/local/share/doc/mwbzutils
+
+override_dh_installdocs:
+       install --mode=644 $(CURDIR)/debian/README.Debian 
$(DEB_DESTDIR)debian/mwbzutils/usr/local/share/doc/mwbzutils
+       install --mode=644 $(CURDIR)/debian/copyright 
$(DEB_DESTDIR)debian/mwbzutils/usr/local/share/doc/mwbzutils
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
To view, visit https://gerrit.wikimedia.org/r/72691
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3968262ca15db99bc7f06caa77d2dbd62026d703
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/mwbzutils
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to