From 5626c9aa35cbbcf7c4dc924bf87cab17d3518cb5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 20 Nov 2004 01:35:02 +0000 Subject: [PATCH] - pl, some unifications Changed files: courier-authlib.spec -> 1.3 --- courier-authlib.spec | 74 +++++++++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 31 deletions(-) diff --git a/courier-authlib.spec b/courier-authlib.spec index 6e2615c..6810513 100644 --- a/courier-authlib.spec +++ b/courier-authlib.spec @@ -1,21 +1,20 @@ # # TODO: -# - pl # - files # - post, preun # - triggers to allow upgrade from courier,courier-imap,sqwebmail # Summary: Courier authentication library -Summary(pl): - +Summary(pl): Biblioteka uwierzytelniania Couriera Name: courier-authlib %define snap 20041116 Version: 0.50 Release: 0.%{snap}.0.1 License: GPL Group: Networking/Daemons -Source0: http://www.courier-mta.org/beta/%{name}/%{name}-%{version}.%{snap}.tar.bz2 +Source0: http://www.courier-mta.org/beta/courier-authlib/%{name}-%{version}.%{snap}.tar.bz2 # Source0-md5: d6afed924f2195f55e17082336d679a7 -URL: http://www.courier-mta.org +URL: http://www.courier-mta.org/ Requires(post,preun): /sbin/chkconfig BuildRequires: expect BuildRequires: gdbm-devel @@ -32,27 +31,32 @@ The Courier authentication library provides authentication services for other Courier applications. %description -l pl -- +Biblioteka uwierzytelniania Couriera dostarcza us³ugi uwierzytelniania +dla innych aplikacji Couriera. %package devel -Summary: Development libraries for the Courier authentication library. -Summary(pl): - +Summary: Development files for the Courier authentication library +Summary(pl): Pliki programistyczne dla biblioteki uwierzytelniania Couriera Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel -This package contains the development libraries and files needed to -compile Courier packages that use this authentication library. Install -this package in order to build the rest of the Courier packages. After -they are built and installed this package can be removed. Files in -this package are not needed at runtime. +This package contains the development files needed to compile Courier +packages that use this authentication library. Install this package in +order to build the rest of the Courier packages. After they are built +and installed this package can be removed. Files in this package are +not needed at runtime. %description devel -l pl -- +Ten pakiet zawiera pliki programistyczne potrzebne do kompilacji +pakietów Couriera u¿ywaj±cych biblioteki uwierzytelniania. Nale¿y go +zainstalowaæ aby zbudowaæ resztê pakietów Couriera. Po ich zbudowaniu +i zainstalowaniu ten pakiet mo¿na usun±æ. Pliki z tego pakietu nie s± +potrzebne w czasie dzia³ania programów. %package authldap Summary: LDAP support for the Courier authentication library -Summary(pl): - +Summary(pl): Obs³uga LDAP dla biblioteki uwierzytelniania Couriera Group: Networking/Daemons PreReq: %{name} = %{version}-%{release} @@ -62,11 +66,13 @@ library. Install this package in order to be able to authenticate using LDAP. %description authldap -l pl -- +Ten pakiet dodaje obs³ugê LDAP do biblioteki uwierzytelniania +Couriera. Nale¿y go zainstalowaæ aby móc uwierzytelniaæ siê z u¿yciem +LDAP. %package authmysql -Summary: MySQL support for the Courier authentication library. -Summary(pl): - +Summary: MySQL support for the Courier authentication library +Summary(pl): Obs³uga MySQL dla biblioteki uwierzytelniania Couriera Group: Networking/Daemons PreReq: %{name} = %{version}-%{release} @@ -76,11 +82,13 @@ library. Install this package in order to be able to authenticate using MySQL. %description authmysql -l pl -- +Ten pakiet dodaje obs³ugê MySQL do biblioteki uwierzytelniania +Couriera. Nale¿y go zainstalowaæ aby móc uwierzytelniaæ siê z u¿yciem +MySQL. %package authpgsql Summary: PostgreSQL support for the Courier authentication library -Summary(pl): - +Summary(pl): Obs³uga PostgreSQL dla biblioteki uwierzytelniania Couriera Group: Networking/Daemons PreReq: %{name} = %{version}-%{release} @@ -90,11 +98,13 @@ authentication library. Install this package in order to be able to authenticate using PostgreSQL. %description authpgsql -l pl -- +Ten pakiet dodaje obs³ugê PostgreSQL do biblioteki uwierzytelniania +Couriera. Nale¿y go zainstalowaæ aby móc uwierzytelniaæ siê z u¿yciem +PostgreSQL. %package userdb Summary: Userdb support for the Courier authentication library -Summary(pl): - +Summary(pl): Obs³uga userdb dla biblioteki uwierzytelniania Couriera Group: Networking/Daemons PreReq: %{name} = %{version}-%{release} @@ -106,7 +116,11 @@ accounts using a GDBM-based database file. Install this package in order to be able to authenticate with userdb. %description userdb -l pl -- +Ten pakiet dodaje obs³ugê userdb do biblioteki uwierzytelniania +Couriera. Userdb to prosty sposób zarz±dzania wirtualnymi kontami +pocztowymi przy u¿yciu pliku bazy danych opartej na GDBM. + +Nale¿y go zainstalowaæ aby móc uwierzytelniaæ siê z u¿yciem userdb. %prep %setup -q -n %{name}-%{version}.%{snap} @@ -122,9 +136,9 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d +install -d $RPM_BUILD_ROOT/etc/rc.d/init.d -install courier-authlib.sysvinit $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/courier-authlib +install courier-authlib.sysvinit $RPM_BUILD_ROOT/etcdir}/rc.d/init.d/courier-authlib # make config files ./sysconftool $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist @@ -133,25 +147,23 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/authlib/*.dist # remove static library - for now rm -f $RPM_BUILD_ROOT%{_libdir}/courier-authlib/*.a +%clean +rm -rf $RPM_BUILD_ROOT + %post %{_libexecdir}/courier-authlib/authmigrate >/dev/null /sbin/chkconfig --add courier-authlib %preun -if test -x %{_sbindir}/authdaemond -then +if [ -x %{_sbindir}/authdaemond ]; then %{_sbindir}/authdaemond >/dev/null 2>&1 || /bin/true fi -if test "$1" = "0" -then +if [ "$1" = "0" ]; then /sbin/chkconfig --del courier-authlib fi -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) %doc README README*html README.authmysql.myownquery -- 2.44.0