unity lens: added debian package directory
This commit is contained in:
parent
d0a9537fe2
commit
7cdd28021d
@ -5,22 +5,28 @@
|
||||
# sudo apt-get install pkg-kde-tools cdbs
|
||||
|
||||
RCLVERS=1.17.0
|
||||
PPAVERS=0
|
||||
LENSVERS=1.17.0.2644
|
||||
PPAVERS=1
|
||||
|
||||
case $RCLVERS in
|
||||
[23]*) PPANAME=recollexp-ppa;;
|
||||
1.14*) PPANAME=recoll-ppa;;
|
||||
*) PPANAME=recoll15-ppa;;
|
||||
esac
|
||||
PPANAME=recollexp-ppa
|
||||
|
||||
echo "PPA: $PPANAME. Type CR if Ok, else ^C"
|
||||
read rep
|
||||
|
||||
####### QT4
|
||||
debdir=debianrclqt4
|
||||
series4="lucid maverick natty oneiric precise"
|
||||
|
||||
rm -rf recoll-${RCLVERS}/debian
|
||||
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
||||
series4=""
|
||||
|
||||
for series in $series4 ; do
|
||||
rm -rf recoll-${RCLVERS}/debian
|
||||
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
||||
|
||||
if test -f $debdir/control-$series ; then
|
||||
cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control
|
||||
else
|
||||
@ -41,11 +47,39 @@ seriesk="lucid maverick natty oneiric precise"
|
||||
seriesk=""
|
||||
|
||||
debdir=debiankio
|
||||
rm -rf recoll-${RCLVERS}/debian
|
||||
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
||||
|
||||
for series in $seriesk ; do
|
||||
sed -e s/SERIES/$series/g < ${debdir}/changelog > \
|
||||
recoll-${RCLVERS}/debian/changelog ;
|
||||
|
||||
rm -rf recoll-${RCLVERS}/debian
|
||||
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
||||
|
||||
sed -e s/SERIES/$series/g \
|
||||
-e s/PPAVERS/${PPAVERS}/g \
|
||||
< ${debdir}/changelog > recoll-${RCLVERS}/debian/changelog ;
|
||||
|
||||
(cd recoll-${RCLVERS};debuild -S -sa) || break
|
||||
|
||||
dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|
||||
|
||||
done
|
||||
|
||||
### Unity Lens
|
||||
seriesl="natty oneiric precise"
|
||||
seriesl="oneiric"
|
||||
|
||||
debdir=debianunitylens
|
||||
|
||||
for series in $seriesl ; do
|
||||
|
||||
rm -rf recoll-lens-${LENSVERS}/debian
|
||||
cp -rp ${debdir}/ recoll-lens-${LENSVERS}/debian
|
||||
|
||||
sed -e s/SERIES/$series/g \
|
||||
-e s/PPAVERS/${PPAVERS}/g \
|
||||
< ${debdir}/changelog > recoll-lens-${LENSVERS}/debian/changelog ;
|
||||
|
||||
(cd recoll-lens-${LENSVERS};debuild -S -sa) || break
|
||||
|
||||
dput $PPANAME recoll-lens_${LENSVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|
||||
|
||||
done
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
kio-recoll (1.17.0-0~ppa1~SERIES1) SERIES; urgency=low
|
||||
kio-recoll (1.17.0-0~ppaPPAVERS~SERIES1) SERIES; urgency=low
|
||||
* Updated package to recoll version 1.17.0
|
||||
-- Jean-Francois Dockes <jf@dockes.org> Sun, 18 Mar 2012 18:05:00 +0200
|
||||
-- Jean-Francois Dockes <jf@dockes.org> Sun, 25 Mar 2012 18:05:00 +0200
|
||||
|
||||
kio-recoll (1.16.2-0~ppa1~SERIES1) SERIES; urgency=low
|
||||
* Updated package to recoll version 1.16.2
|
||||
|
||||
3
packaging/debian/debianunitylens/changelog
Normal file
3
packaging/debian/debianunitylens/changelog
Normal file
@ -0,0 +1,3 @@
|
||||
recoll-lens (1.17.0.2643-1~ppaPPAVERS~SERIES1) SERIES; urgency=low
|
||||
* Updated package to recoll version 1.17.0
|
||||
-- Jean-Francois Dockes <jf@dockes.org> Sun, 25 Mar 2012 16:42:00 +0200
|
||||
1
packaging/debian/debianunitylens/compat
Normal file
1
packaging/debian/debianunitylens/compat
Normal file
@ -0,0 +1 @@
|
||||
5
|
||||
17
packaging/debian/debianunitylens/control
Normal file
17
packaging/debian/debianunitylens/control
Normal file
@ -0,0 +1,17 @@
|
||||
Source: recoll-lens
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Jean-Francois Dockes <jfd@recoll.org>
|
||||
Build-Depends: debhelper (>= 7),
|
||||
autotools-dev,
|
||||
recoll,
|
||||
python
|
||||
Standards-Version: 3.9.2
|
||||
|
||||
Package: recoll-lens
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, python, recoll, unity
|
||||
Description:Unity Lens for searching the Recoll index.
|
||||
Allows querying the Recoll index from the Unity Dash, optionally
|
||||
filtering on file category.
|
||||
Homepage: http://www.recoll.org
|
||||
20
packaging/debian/debianunitylens/copyright
Normal file
20
packaging/debian/debianunitylens/copyright
Normal file
@ -0,0 +1,20 @@
|
||||
This package was debianized by Jean-Francois Dockes <jfd@recoll.org> on
|
||||
Sun, 25 Mar 2012 16:31:00 +0200.
|
||||
|
||||
It was downloaded from http://www.recoll.org
|
||||
|
||||
Upstream Author: Jean-Francois Dockes <jfd@recoll.org>
|
||||
|
||||
Copyright: (C) 2012 Jean-Francois Dockes <jfd@recoll.org>
|
||||
|
||||
License: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
||||
Debian packaging is (C) 2012, Jean-Francois Dockes, same license.
|
||||
|
||||
Derived from Original bliss apps lens by Mikkel Kamstrup Erlandsen:
|
||||
Copyright 2011, Canonical Ltd
|
||||
Authored by Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
|
||||
Distribute under the terms of the GNU General Public License v3
|
||||
1
packaging/debian/debianunitylens/docs
Normal file
1
packaging/debian/debianunitylens/docs
Normal file
@ -0,0 +1 @@
|
||||
README
|
||||
51
packaging/debian/debianunitylens/rules
Executable file
51
packaging/debian/debianunitylens/rules
Executable file
@ -0,0 +1,51 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
config.status: configure
|
||||
dh_testdir
|
||||
./configure --host=$(DEB_HOST_GNU_TYPE) \
|
||||
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||
--mandir=\$${prefix}/share/man \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: config.status
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp config.log
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
dh_clean Makefile
|
||||
|
||||
install:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
$(MAKE) prefix=$(CURDIR)/debian/recoll-lens/usr install
|
||||
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs ChangeLog
|
||||
dh_installdocs README
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
12
packaging/debian/debianunitylens/watch
Normal file
12
packaging/debian/debianunitylens/watch
Normal file
@ -0,0 +1,12 @@
|
||||
# Example watch control file for uscan
|
||||
# Rename this file to "watch" and then you can run the "uscan" command
|
||||
# to check for upstream updates and more.
|
||||
# See uscan(1) for format
|
||||
|
||||
# Compulsory line, this is a version 3 file
|
||||
version=3
|
||||
|
||||
# Uncomment to examine a Webpage
|
||||
# <Webpage URL> <string match>
|
||||
http://www.recoll.org/download.html recoll-lens-(.*)\.tar\.gz
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user