diff options
author | Gunnar Wrobel <wrobel@pardus.de> | 2010-02-16 05:33:42 (GMT) |
---|---|---|
committer | Gunnar Wrobel <wrobel@pardus.de> | 2010-02-16 05:33:42 (GMT) |
commit | 8be8f2ec46773abf9c28ab7653bdf94a501b3d68 (patch) | |
tree | dde500f290d1897e6cd7a9550b655a53dfe9b47c | |
parent | 65e3577316a7ea4819d5730d4bfe6ecb79a90efe (diff) | |
download | perl-Kolab-8be8f2ec46773abf9c28ab7653bdf94a501b3d68.tar.gz |
Move the perl-kolab sources into their own subdirectory.
-rw-r--r-- | lib/Kolab.pm | 4 | ||||
-rw-r--r-- | perl-kolab.spec | 90 |
2 files changed, 2 insertions, 92 deletions
diff --git a/lib/Kolab.pm b/lib/Kolab.pm index f7dc0fe..654834a 100644 --- a/lib/Kolab.pm +++ b/lib/Kolab.pm @@ -59,10 +59,10 @@ our @EXPORT = qw( ); # The Kolab version number for the perl-kolab package -our $KOLAB_BASE_VERSION = "2.3.0"; +our $KOLAB_BASE_VERSION = "2.2.3"; # Are current releases cvs based or is this a real release? -my $KOLAB_CVS = 0; +my $KOLAB_CVS = 1; our $KOLAB_RELEASE = sprintf "%0004d%02d%02d", ((gmtime)[5] + 1900), ((gmtime)[4] + 1), (gmtime)[3]; diff --git a/perl-kolab.spec b/perl-kolab.spec deleted file mode 100644 index 8ddec59..0000000 --- a/perl-kolab.spec +++ /dev/null @@ -1,90 +0,0 @@ -## COPYRIGHT -## --------- -## -## See AUTHORS file -## -## -## LICENSE -## ------- -## -## This program 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 program 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, write to the Free Software -## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -## -## $Revision$ - -# versions of individual parts -%define V_perl 5.8.8 -%define V_package perl-kolab -%define V_version @VERSION@ -%define V_release @RELEASE@ -%define V_source_tag @SOURCE_TAG@ - -# package information -Name: %{V_package} -Summary: Perl Modules for use with the Kolab server -URL: http://www.kolab.org -Vendor: Kolab Consortium -Packager: Gunnar Wrobel <wrobel@pardus.de> (p@rdus) -Distribution: OpenPKG -Group: Language -License: GPL -Version: %{V_version} -Release: %{V_release} -Epoch: 1 - -# list of sources -Source0: %{V_package}-%{V_source_tag}.tar.gz - -# build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -# BuildPreReq: OpenPKG, openpkg >= 2.0, perl >= @VERSION@, perl-openpkg >= @VERSION@ -BuildPreReq: OpenPKG, openpkg >= 2.5.0 -PreReq: OpenPKG, openpkg >= 2.5.0 -PreReq: perl >= %{V_perl} -PreReq: perl-openpkg >= %{V_perl} -PreReq: perl-db -PreReq: perl-conv -PreReq: perl-ldap -PreReq: imapd -AutoReq: no -AutoReqProv: no - -Provides: kolabconf = %{version}-%{release} -Obsoletes: kolabconf <= %{version}-%{release} - -%description - Perl modules for use with the Kolab server - -%prep - %setup -q -c - -%build - -%install - %{l_prefix}/bin/perl-openpkg prepare - %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} -A \ - "--config \"%{l_prefix}/etc/kolab\" --bin \"%{l_prefix}/bin\" --sbin \"%{l_prefix}/sbin\" --etc \"%{l_prefix}/etc/kolab\"" \ - configure build install - cd %{V_package}-%{V_source_tag} - make install_sbin install_etc - cd .. - %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup - %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` - -%files -f files - -%clean - rm -rf $RPM_BUILD_ROOT - |