From d32415e5026bfef4c2ab1d7e92b454d2b44d39b9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 20 Nov 2008 16:36:55 +0000 Subject: Debian support by Ivan Borzenkov --- VERSION | 2 +- debian/changelog | 6 +++ debian/compat | 1 + debian/control | 35 ++++++++++++++ debian/copyright | 19 ++++++++ debian/librcc-dev.dirs | 4 ++ debian/librcc-dev.doc-base | 13 +++++ debian/librcc-dev.install | 8 +++ debian/librcc-doc.debhelper.log | 16 ++++++ debian/librcc.dirs | 2 + debian/librcc.install | 2 + debian/rules | 105 ++++++++++++++++++++++++++++++++++++++++ debian/substvars | 1 + debian/watch | 23 +++++++++ 14 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/librcc-dev.dirs create mode 100644 debian/librcc-dev.doc-base create mode 100644 debian/librcc-dev.install create mode 100644 debian/librcc-doc.debhelper.log create mode 100644 debian/librcc.dirs create mode 100644 debian/librcc.install create mode 100644 debian/rules create mode 100644 debian/substvars create mode 100644 debian/watch diff --git a/VERSION b/VERSION index 53a75d6..b003284 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.6 +0.2.7 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..64e1ab3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +librcc (0.2.6-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Ivan Borzenkov Sun, 16 Nov 2008 03:15:55 +0300 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7f8d9b8 --- /dev/null +++ b/debian/control @@ -0,0 +1,35 @@ +Source: librcc +Priority: extra +Maintainer: Ivan Borzenkov +Build-Depends: debhelper (>= 7), librcd-dev, libenca-dev, libdb-dev, libxml2-dev, libaspell-dev, doxygen +Standards-Version: 3.7.3 +Section: libs +Homepage: http://rusxmms.sourceforge.net/ + +Package: librcc-dev +Section: libdevel +Architecture: any +Depends: librcc (= ${binary:Version}) +Description: librcc dev files + librcc dev files + +Package: librcc +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Library for autoconvert codepages + Originally, the project was aimed to provide means to work with multiple encodings + * Language Autodetection + * On the fly translation between languages, using online-services! + * Encoding Autodetection for most of European Languages1 + * Support for encoding detection plugins (besides Enca and LibRCD) + * Recoding/translation of multi-language playlists! + * Cache to speed-up re-recoding. + * Possibility to configure new languages and encodings. + * Shared configuration file. For example mentioned TagLib and LibID3 patches + do not have their own user interface, but will utilize the same recoding + configuration as XMMS. + * As well the separate program for configuration adjustment is available. + * GTK/GTK2 UI Library: you can add properties page to your GTK application + with 3 lines of code. + * Menu localization opportunity diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4a8a881 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +This package was debianized by Ivan Borzenkov on +Sun, 16 Nov 2008 03:17:57 +0300. + +It was downloaded from http://rusxmms.sourceforge.net/ + +Upstream Author(s): + + Suren A. Chilingaryan + +Copyright: + + Copyright (C) 2005 Suren A. Chilingaryan + +License: + + GPL + +The Debian packaging is (C) 2008, Ivan Borzenkov and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/debian/librcc-dev.dirs b/debian/librcc-dev.dirs new file mode 100644 index 0000000..5b24531 --- /dev/null +++ b/debian/librcc-dev.dirs @@ -0,0 +1,4 @@ +usr/lib +usr/lib/rcc/engines +usr/include +usr/share/doc/librcc-dev/html \ No newline at end of file diff --git a/debian/librcc-dev.doc-base b/debian/librcc-dev.doc-base new file mode 100644 index 0000000..9d90fe2 --- /dev/null +++ b/debian/librcc-dev.doc-base @@ -0,0 +1,13 @@ +Document: librcc-dev +Title: Debian librcc Manual +Author: Suren A. Chilingaryan +Abstract: This manual describes what librcc is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: HTML +Index: /usr/share/doc/librcc/html/index.html +Files: /usr/share/doc/librcc/html/*.html + + diff --git a/debian/librcc-dev.install b/debian/librcc-dev.install new file mode 100644 index 0000000..1b5bc11 --- /dev/null +++ b/debian/librcc-dev.install @@ -0,0 +1,8 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/*.la +usr/lib/rcc/engines/*.a +usr/lib/rcc/engines/*.la +usr/share/doc/librcc-dev/html/* +usr/share/doc/librcc-dev/LibRCC.sxd.pdf \ No newline at end of file diff --git a/debian/librcc-doc.debhelper.log b/debian/librcc-doc.debhelper.log new file mode 100644 index 0000000..c3daad6 --- /dev/null +++ b/debian/librcc-doc.debhelper.log @@ -0,0 +1,16 @@ +dh_installdirs +dh_installchangelogs +dh_installdocs +dh_installexamples +dh_install +dh_installman +dh_link +dh_strip +dh_compress +dh_fixperms +dh_makeshlibs +dh_installdeb +dh_shlibdeps +dh_gencontrol +dh_md5sums +dh_builddeb diff --git a/debian/librcc.dirs b/debian/librcc.dirs new file mode 100644 index 0000000..b18611d --- /dev/null +++ b/debian/librcc.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/lib/rcc/engines diff --git a/debian/librcc.install b/debian/librcc.install new file mode 100644 index 0000000..4754eee --- /dev/null +++ b/debian/librcc.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* +usr/lib/rcc/engines/*.so diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..5c21c69 --- /dev/null +++ b/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# shared library versions, option 1 +version=0.2.6 +major=0 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./autogen.sh + + #dh_auto_configure + ./configure --prefix=/usr --enable-force-dynamic-engines --disable-libtranslate + + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + test ! -f Makefile || $(MAKE) clean distclean distclean-am + rm -rf docs/api/html + rm -f examples/Makefile + + dh_auto_clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + install -d $(CURDIR)/debian/tmp/usr/share/doc/librcc-dev + cd docs/api && doxygen Doxyfile && mv html $(CURDIR)/debian/tmp/usr/share/doc/librcc-dev + cp docs/LibRCC.sxd.pdf $(CURDIR)/debian/tmp/usr/share/doc/librcc-dev/LibRCC.sxd.pdf + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/substvars b/debian/substvars new file mode 100644 index 0000000..c6a6536 --- /dev/null +++ b/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libaspell15 (>= 0.60), libc6 (>= 2.7-1), libdb4.6, libenca0 (>= 1.9), librcc, librcd, libxml2 (>= 2.6.27) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b0ed157 --- /dev/null +++ b/debian/watch @@ -0,0 +1,23 @@ +# 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 +# +#http://www.example.com/downloads.php librcc-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +http://dside.dyndns.org/files/rusxmms/librcc-(.*)\.tar\.bz2 + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/librcc-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/librcc/librcc-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html librcc-(.*)\.tar\.gz -- cgit v1.2.3