SPECS: mydns.spec - UTF-8, some cleanups

qboosh qboosh at pld-linux.org
Sat Apr 28 10:50:25 CEST 2007


Author: qboosh                       Date: Sat Apr 28 08:50:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- UTF-8, some cleanups

---- Files affected:
SPECS:
   mydns.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/mydns.spec
diff -u SPECS/mydns.spec:1.1 SPECS/mydns.spec:1.2
--- SPECS/mydns.spec:1.1	Sat Apr 28 10:47:51 2007
+++ SPECS/mydns.spec	Sat Apr 28 10:50:20 2007
@@ -1,12 +1,14 @@
 # $Revision$, $Date$
+# TODO:
+# - fix configure patch to change source file instead of generated configure
 #
 # Conditional build:
 %bcond_with	mysql		# enable MySQL support
 %bcond_with	pgsql		# enable PostgreSQL support
 %bcond_with	ssl		# enable TLS/SSL support
 #
-Summary:	MyDNS is a free Database Driven Nameserver
-Summary(pl):	MyDNS to darmowy serwer nazw wykorzystuj±cy relacyjne bazy danych
+Summary:	MyDNS - a free Database Driven Nameserver
+Summary(pl.UTF-8):	MyDNS - darmowy serwer nazw wykorzystujÄ…cy relacyjne bazy danych
 Name:		mydns
 Version:	1.1.0
 Release:	1
@@ -19,18 +21,16 @@
 Patch0:		%{name}-configure.patch
 URL:		http://mydns.bboy.net/
 BuildRequires:	autoconf >= 2.59
-BuildRequires:	automake >= 1.96
-BuildRequires:	awk
-%{?with_mysql:BuildRequires:		mysql-devel}
+BuildRequires:	automake >= 1:1.9.6
+%{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_ssl:BuildRequires:	openssl-devel >= 0.9.7i}
-%{?with_pgsql:BuildRequires:		postgresql-devel}
+%{?with_pgsql:BuildRequires:	postgresql-devel}
 BuildRequires:	rpmbuild(macros) >= 1.310
 BuildRequires:	texinfo
 BuildRequires:	zlib-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
 Provides:	nameserver
-Obsoletes:	mydns
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,9 +38,9 @@
 serve records directly from an SQL database, either MySQL or
 PostgreSQL.
 
-%description -l pl
-MyDNS to darmowy serwer nazw zimplementowany od podstaw i
-zaprojektowany aby udostêpniaæ rekordy bezpo¶rednio z bazy SQL,
+%description -l pl.UTF-8
+MyDNS to darmowy serwer nazw zaimplementowany od podstaw i
+zaprojektowany aby udostępniać rekordy bezpośrednio z bazy SQL -
 obecnie MySQL lub PostgreSQL.
 
 %prep
@@ -48,7 +48,6 @@
 %patch0 -p1
 
 %build
-
 %configure \
 	--disable-nls \
 	--with-confdir=%{_sysconfdir}/%{name} \
@@ -60,16 +59,17 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_initrddir},%{_sysconfdir}/%{name},/etc/sysconfig}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/%{name},/etc/sysconfig}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -rf $RPM_BUILD_ROOT%{_infodir}/dir*
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name}.conf
-install %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/mydns
 
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -90,14 +90,14 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog AUTHORS BUGS README README.mysql INSTALL NEWS TODO QUICKSTART.*
-%attr(754,root,root) %{_initrddir}/%{name}
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
 %dir %{_sysconfdir}/%{name}
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mydns
 %attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_bindir}/*
 %{_infodir}/*.info*
-%{_mandir}/man*/**
+%{_mandir}/man*/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,5 +105,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/04/28 08:50:20  qboosh
+- UTF-8, some cleanups
+
 Revision 1.1  2007/04/28 08:47:51  qboosh
 - raw from Darek Moszkowicz
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mydns.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list