diff --git a/schema-th/GNUmakefile b/relational-query-HDBC/GNUmakefile similarity index 100% rename from schema-th/GNUmakefile rename to relational-query-HDBC/GNUmakefile diff --git a/schema-th/LICENSE b/relational-query-HDBC/LICENSE similarity index 100% rename from schema-th/LICENSE rename to relational-query-HDBC/LICENSE diff --git a/schema-th/Setup.hs b/relational-query-HDBC/Setup.hs similarity index 100% rename from schema-th/Setup.hs rename to relational-query-HDBC/Setup.hs diff --git a/relational-query-HDBC/debian/changelog b/relational-query-HDBC/debian/changelog new file mode 100644 index 00000000..50c55f98 --- /dev/null +++ b/relational-query-HDBC/debian/changelog @@ -0,0 +1,6 @@ +haskell-relational-query-hdbc (0.0.1.0-1~hackage1) unstable; urgency=low + + * Debianization generated by cabal-debian + + -- Kei Hibino Wed, 15 May 2013 15:22:00 +0900 + diff --git a/schema-th/debian/compat b/relational-query-HDBC/debian/compat similarity index 100% rename from schema-th/debian/compat rename to relational-query-HDBC/debian/compat diff --git a/schema-th/debian/control b/relational-query-HDBC/debian/control similarity index 62% rename from schema-th/debian/control rename to relational-query-HDBC/debian/control index 7857411f..1ecbaa3c 100644 --- a/schema-th/debian/control +++ b/relational-query-HDBC/debian/control @@ -1,4 +1,4 @@ -Source: haskell-hdbc-schema-th +Source: haskell-relational-query-hdbc Priority: extra Section: haskell Maintainer: Kei Hibino @@ -19,10 +19,12 @@ Build-Depends: debhelper (>= 7.0) , libghc-containers-prof | ghc-prof , libghc-convertible-dev , libghc-convertible-prof + , libghc-names-th-dev + , libghc-names-th-prof + , libghc-relational-join-dev + , libghc-relational-join-prof , libghc-template-haskell-dev | ghc , libghc-template-haskell-prof | ghc-prof - , libghc-time-dev | ghc - , libghc-time-prof | ghc-prof Build-Depends-Indep: ghc-doc , libghc-db-record-doc , libghc-hdbc-doc (>= 2) @@ -30,12 +32,13 @@ Build-Depends-Indep: ghc-doc , libghc-base-doc (<< 5) | ghc-doc , libghc-containers-doc | ghc-doc , libghc-convertible-doc + , libghc-names-th-doc + , libghc-relational-join-doc , libghc-template-haskell-doc | ghc-doc - , libghc-time-doc | ghc-doc Standards-Version: 3.9.3 Homepage: http://twitter.com/khibino -Package: libghc-hdbc-schema-th-dev +Package: libghc-relational-query-hdbc-dev Architecture: any Depends: ${shlibs:Depends} , ${haskell:Depends} @@ -43,44 +46,50 @@ Depends: ${shlibs:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} -Description: Database access template for HDBC using database system catalogs - This package contains template haskell functions to generate codes - correspond to Database table definitions and functions which read - table and index definitions from Database system catalogs. +Description: HDBC instance of relational join and typed query for HDBC + This package contains HDBC instance of relational-join and + typed query for HDBC. + Generating Database table definitions and functions for + relational-join by reading table and index definitions + from Database system catalogs. . Author: Kei Hibino Upstream-Maintainer: ex8k.hibino@gmail.com . This package contains the normal library files. -Package: libghc-hdbc-schema-th-prof +Package: libghc-relational-query-hdbc-prof Architecture: any Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} -Description: Database access template for HDBC using database system catalogs - This package contains template haskell functions to generate codes - correspond to Database table definitions and functions which read - table and index definitions from Database system catalogs. +Description: HDBC instance of relational join and typed query for HDBC + This package contains HDBC instance of relational-join and + typed query for HDBC. + Generating Database table definitions and functions for + relational-join by reading table and index definitions + from Database system catalogs. . Author: Kei Hibino Upstream-Maintainer: ex8k.hibino@gmail.com . This package contains the libraries compiled with profiling enabled. -Package: libghc-hdbc-schema-th-doc +Package: libghc-relational-query-hdbc-doc Architecture: all Section: doc Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} -Description: Database access template for HDBC using database system catalogs - This package contains template haskell functions to generate codes - correspond to Database table definitions and functions which read - table and index definitions from Database system catalogs. +Description: HDBC instance of relational join and typed query for HDBC + This package contains HDBC instance of relational-join and + typed query for HDBC. + Generating Database table definitions and functions for + relational-join by reading table and index definitions + from Database system catalogs. . Author: Kei Hibino Upstream-Maintainer: ex8k.hibino@gmail.com diff --git a/schema-th/debian/copyright b/relational-query-HDBC/debian/copyright similarity index 100% rename from schema-th/debian/copyright rename to relational-query-HDBC/debian/copyright diff --git a/relational-query-HDBC/debian/rules b/relational-query-HDBC/debian/rules new file mode 100755 index 00000000..704555ef --- /dev/null +++ b/relational-query-HDBC/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +DEB_CABAL_PACKAGE = relational-query-hdbc + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/hlibrary.mk + + +# How to install an extra file into the documentation package +#binary-fixup/libghc-relational-query-hdbc-doc:: +# echo "Some informative text" > debian/libghc-relational-query-hdbc-doc/usr/share/doc/libghc-relational-query-hdbc-doc/AnExtraDocFile diff --git a/schema-th/debian/source/format b/relational-query-HDBC/debian/source/format similarity index 100% rename from schema-th/debian/source/format rename to relational-query-HDBC/debian/source/format diff --git a/relational-query-HDBC/debian/watch b/relational-query-HDBC/debian/watch new file mode 100644 index 00000000..5c91547e --- /dev/null +++ b/relational-query-HDBC/debian/watch @@ -0,0 +1,5 @@ +version=3 +opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ +filenamemangle=s|(.*)/$|relational-query-HDBC-$1.tar.gz|" \ + http://hackage.haskell.org/packages/archive/relational-query-HDBC \ + ([\d\.]*\d)/ diff --git a/schema-th/HDBC-schema-th.cabal b/relational-query-HDBC/relational-query-HDBC.cabal similarity index 74% rename from schema-th/HDBC-schema-th.cabal rename to relational-query-HDBC/relational-query-HDBC.cabal index d5532c29..27eb966f 100644 --- a/schema-th/HDBC-schema-th.cabal +++ b/relational-query-HDBC/relational-query-HDBC.cabal @@ -1,10 +1,12 @@ -name: HDBC-schema-th +name: relational-query-HDBC version: 0.0.1.0 -synopsis: Database access template for HDBC using database system catalogs -description: This package contains template haskell functions to generate codes - correspond to Database table definitions and functions which read - table and index definitions from Database system catalogs. +synopsis: HDBC instance of relational join and typed query for HDBC +description: This package contains HDBC instance of relational-join and + typed query for HDBC. + Generating Database table definitions and functions for + relational-join by reading table and index definitions + from Database system catalogs. homepage: http://twitter.com/khibino license: BSD3 license-file: LICENSE @@ -34,11 +36,9 @@ library build-depends: base <5 , containers - , time , convertible , template-haskell , names-th - , sql-words , DB-record , relational-join , HDBC >=2 diff --git a/schema-th/src/Database/HDBC/Record/InternalTH.hs b/relational-query-HDBC/src/Database/HDBC/Record/InternalTH.hs similarity index 100% rename from schema-th/src/Database/HDBC/Record/InternalTH.hs rename to relational-query-HDBC/src/Database/HDBC/Record/InternalTH.hs diff --git a/schema-th/src/Database/HDBC/Record/Persistable.hs b/relational-query-HDBC/src/Database/HDBC/Record/Persistable.hs similarity index 100% rename from schema-th/src/Database/HDBC/Record/Persistable.hs rename to relational-query-HDBC/src/Database/HDBC/Record/Persistable.hs diff --git a/schema-th/src/Database/HDBC/Record/Query.hs b/relational-query-HDBC/src/Database/HDBC/Record/Query.hs similarity index 100% rename from schema-th/src/Database/HDBC/Record/Query.hs rename to relational-query-HDBC/src/Database/HDBC/Record/Query.hs diff --git a/schema-th/src/Database/HDBC/Record/Singleton.hs b/relational-query-HDBC/src/Database/HDBC/Record/Singleton.hs similarity index 100% rename from schema-th/src/Database/HDBC/Record/Singleton.hs rename to relational-query-HDBC/src/Database/HDBC/Record/Singleton.hs diff --git a/schema-th/src/Database/HDBC/Record/TH.hs b/relational-query-HDBC/src/Database/HDBC/Record/TH.hs similarity index 100% rename from schema-th/src/Database/HDBC/Record/TH.hs rename to relational-query-HDBC/src/Database/HDBC/Record/TH.hs diff --git a/schema-th/src/Database/HDBC/Schema/Driver.hs b/relational-query-HDBC/src/Database/HDBC/Schema/Driver.hs similarity index 100% rename from schema-th/src/Database/HDBC/Schema/Driver.hs rename to relational-query-HDBC/src/Database/HDBC/Schema/Driver.hs diff --git a/schema-th/src/Database/HDBC/Schema/IBMDB2.hs b/relational-query-HDBC/src/Database/HDBC/Schema/IBMDB2.hs similarity index 100% rename from schema-th/src/Database/HDBC/Schema/IBMDB2.hs rename to relational-query-HDBC/src/Database/HDBC/Schema/IBMDB2.hs diff --git a/schema-th/src/Database/HDBC/Schema/PostgreSQL.hs b/relational-query-HDBC/src/Database/HDBC/Schema/PostgreSQL.hs similarity index 100% rename from schema-th/src/Database/HDBC/Schema/PostgreSQL.hs rename to relational-query-HDBC/src/Database/HDBC/Schema/PostgreSQL.hs diff --git a/schema-th/src/Database/HDBC/SqlValueExtra.hs b/relational-query-HDBC/src/Database/HDBC/SqlValueExtra.hs similarity index 100% rename from schema-th/src/Database/HDBC/SqlValueExtra.hs rename to relational-query-HDBC/src/Database/HDBC/SqlValueExtra.hs diff --git a/schema-th/src/Database/HDBC/TH.hs b/relational-query-HDBC/src/Database/HDBC/TH.hs similarity index 100% rename from schema-th/src/Database/HDBC/TH.hs rename to relational-query-HDBC/src/Database/HDBC/TH.hs diff --git a/schema-th/debian/changelog b/schema-th/debian/changelog deleted file mode 100644 index 0611f33b..00000000 --- a/schema-th/debian/changelog +++ /dev/null @@ -1,6 +0,0 @@ -haskell-hdbc-schema-th (0.0.1.0-1~hackage1) unstable; urgency=low - - * Debianization generated by cabal-debian - - -- Kei Hibino Sat, 13 Apr 2013 19:03:51 +0900 - diff --git a/schema-th/debian/rules b/schema-th/debian/rules deleted file mode 100755 index e0194554..00000000 --- a/schema-th/debian/rules +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/make -f - -DEB_CABAL_PACKAGE = hdbc-schema-th -DEB_SETUP_GHC_CONFIGURE_ARGS = --disable-tests - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/hlibrary.mk - - -# How to install an extra file into the documentation package -#binary-fixup/libghc-hdbc-schema-th-doc:: -# echo "Some informative text" > debian/libghc-hdbc-schema-th-doc/usr/share/doc/libghc-hdbc-schema-th-doc/AnExtraDocFile diff --git a/schema-th/debian/watch b/schema-th/debian/watch deleted file mode 100644 index d75237da..00000000 --- a/schema-th/debian/watch +++ /dev/null @@ -1,5 +0,0 @@ -version=3 -opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ -filenamemangle=s|(.*)/$|HDBC-schema-th-$1.tar.gz|" \ - http://hackage.haskell.org/packages/archive/HDBC-schema-th \ - ([\d\.]*\d)/