]> git.pld-linux.org Git - packages/conflib.git/blobdiff - conflib.spec
- changed [ -x ... ] && to [ ! -x ... ] ||
[packages/conflib.git] / conflib.spec
index 2101c55b9956e8bdd7697c7726372b50b62f7c43..d314eec0772eed06872f2dd4aa232742f48d8042 100644 (file)
@@ -3,10 +3,12 @@ Summary(de):  Library zum Lesen von Konfigurationsdateien
 Name:          conflib
 Version:       0.4.5
 Release:       2
-Copyright:     GPL
+License:       GPL
 Group:         Libraries
-Source:                ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
-Patch:         conflib-info.patch
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+Source0:       ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
+Patch0:                conflib-info.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description 
@@ -19,26 +21,29 @@ Biblioteka C s
 Summary:       file for developing programs that use the conflib library
 Summary(de):   Dateien zum Entwickeln von Programmen mit der conflib-Library
 Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
-Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
-This library makes it relativly easy to read configuration files (one or
-more), or parts of them. It supports a lot of different data types and
-some types of text interpretations, including \-escapes, ~user, $HOME
-and conditional expansions.
+This library makes it relativly easy to read configuration files (one
+or more), or parts of them. It supports a lot of different data types
+and some types of text interpretations, including \-escapes, ~user,
+$HOME and conditional expansions.
 
 %package static
 Summary:       file for developing programs that use the conflib library
 Summary(de):   Dateien zum Entwickeln von Programmen mit der conflib-Library
 Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
-This library makes it relativly easy to read configuration files (one or
-more), or parts of them. It supports a lot of different data types and
-some types of text interpretations, including \-escapes, ~user, $HOME
-and conditional expansions.
+This library makes it relativly easy to read configuration files (one
+or more), or parts of them. It supports a lot of different data types
+and some types of text interpretations, including \-escapes, ~user,
+$HOME and conditional expansions.
 
 %prep
 %setup -q
@@ -62,10 +67,10 @@ gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
 %postun -p /sbin/ldconfig
 
 %post devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.093437 seconds and 4 git commands to generate.