]> git.pld-linux.org Git - packages/dictd.git/commitdiff
- removed obsolete no_libnsl patch auto/ac/dictd-1_9_11-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 10 Dec 2003 08:53:14 +0000 (08:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use make install, added colorit and dictl scripts to dict

Changed files:
    dictd.spec -> 1.40

dictd.spec

index edef00e51dc3492c9756573ba7a8305095b193dd..e68cc93107090e7fdea0b3986e13c813b8d6b4f8 100644 (file)
@@ -9,8 +9,7 @@ Source0:        http://dl.sourceforge.net/sourceforge/dict/%{name}-%{version}.tar.gz
 # Source0-md5: 4d06aabf573c862fd29e409984f71a67
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
-Patch0:                %{name}-no_libnsl.patch
-Patch1:                %{name}-opt.patch
+Patch0:                %{name}-opt.patch
 URL:           http://www.dict.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -92,8 +91,7 @@ dane do pseudo-swobodnego dost
 
 %prep
 %setup -q
-#%patch0 -p1
-%patch1 -p1
+%patch0 -p1
 
 %build
 cp -f %{_datadir}/automake/config.* .
@@ -111,15 +109,10 @@ CFLAGS="%{rpmcflags} -DUID_NOBODY=99 -DGID_NOBODY=99"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,%{name}},%{_bindir},%{_sbindir}} \
-               $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/man{1,8}}
+install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,%{name}},%{_datadir}/%{name}}
 
-install dict dictzip dictfmt{,_{index2suffix,index2word,plugin,virtual}} \
-       dictunformat $RPM_BUILD_ROOT%{_bindir}
-install dict*.1 $RPM_BUILD_ROOT%{_mandir}/man1
-
-install %{name} $RPM_BUILD_ROOT%{_sbindir}
-install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 echo "server localhost" > dict.conf
 echo -e "access {\n\tallow localhost\n\tdeny *\n}\n" > %{name}-main.conf
@@ -163,11 +156,19 @@ fi
 %dir %{_datadir}/%{name}
 %{_mandir}/man8/%{name}*
 
+# where?
+%attr(755,root,root) %{_bindir}/dictdplugin-config
+#%{_includedir}/dictdplugin.h
+
 %files -n dict
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/dict.conf
+%attr(755,root,root) %{_bindir}/colorit
 %attr(755,root,root) %{_bindir}/dict
+%attr(755,root,root) %{_bindir}/dictl
+%{_mandir}/man1/colorit.1*
 %{_mandir}/man1/dict.1*
+%{_mandir}/man1/dictl.1*
 
 %files -n dictfmt
 %defattr(644,root,root,755)
This page took 0.46926 seconds and 4 git commands to generate.