]> git.pld-linux.org Git - packages/dict-vera.git/blobdiff - dict-vera.spec
- upgraded to 1.19, updated URLs
[packages/dict-vera.git] / dict-vera.spec
index 1f03dc217972d62bd75e563bd4979e9ddfb253fe..7cdafc8c9dcf4f2d82e924c4e8ebeb57dee60c8a 100644 (file)
@@ -2,15 +2,16 @@
 Summary:       Virtual Entity of Relevant Acronyms dictionary for dictd
 Summary(pl.UTF-8):     Słownik Virtual Entity of Relevant Acronyms dla dictd
 Name:          dict-%{dictname}
-Version:       1.9
-Release:       3
+Version:       1.19
+Release:       1
 License:       GPL
 Group:         Applications/Dictionaries
-Source0:       ftp://ftp.gnu.org/gnu/vera/%{dictname}-%{version}.tar.gz
-# Source0-md5: ed6120dd9739c71580a92868a34776b0
-URL:           http://www.dict.org/
+Source0:       http://home.snafu.de/ohei/FTP/%{dictname}-%{version}.tar.gz
+# Source0-md5: 1ca915d0ecd4617c54379f79e1b67914
+URL:           http://home.snafu.de/ohei/vera/vueber-e.html
 BuildRequires: dictfmt
 BuildRequires: dictzip
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      %{_sysconfdir}/dictd
 Requires:      dictd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,13 +49,11 @@ mv %{dictname}.{dict.dz,index} $RPM_BUILD_ROOT%{_datadir}/dictd
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/dictd ]; then
-       /etc/rc.d/init.d/dictd restart 1>&2
-fi
+%service -q dictd restart
 
 %postun
-if [ -f /var/lock/subsys/dictd ]; then
-       /etc/rc.d/init.d/dictd restart 1>&2 || true
+if [ "$1" = 0 ]; then
+       %service -q dictd restart
 fi
 
 %files
This page took 0.027218 seconds and 4 git commands to generate.