]> git.pld-linux.org Git - packages/argtable2.git/blobdiff - argtable2.spec
- rel 1
[packages/argtable2.git] / argtable2.spec
index ed40787851cbc7b2b73806866c7da865264b8d03..a0b108e67f68e3eedb4f257eb907185d8be0be95 100644 (file)
@@ -1,15 +1,16 @@
 Summary:       An ANSI C library for parsing GNU style command line arguments
+Summary(pl.UTF-8):     Biblioteka ANSI C do analizy argumentów linii poleceń w stylu GNU
 Name:          argtable2
-Version:       6
-Release:       0.9
+Version:       13
+Release:       1
 License:       LGPL v2
-Group:         Development/Libraries
+Group:         Libraries
 Source0:       http://dl.sourceforge.net/argtable/%{name}-%{version}.tar.gz
-# Source0-md5: e1d5035992b29b45c5abad2b3487e096
+# Source0-md5: 156773989d0d6406cea36526d3926668
 URL:           http://argtable.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Argtable is an ANSI C library for parsing GNU style command line
@@ -23,28 +24,40 @@ Syntax error handling is automatic and the library also provides the
 means for displaying the command line syntax directly from the array
 of argument specifications.
 
+%description -l pl.UTF-8
+Argtable to biblioteka ANSI C do analizy argumentów linii poleceń w
+stylu GNU. Pozwala na definiowanie składni linii poleceń programu w
+kodzie źródłowym jako tablicy struktur argtable. Linia poleceń jest
+potem analizowana zgodnie z tą specyfikacją, a wartości zwracane są
+przez te same struktury dostępne dla głównego programu. Obsługiwane
+są argumenty zarówno ze znacznikami (-v, --verbose, --foo=bar) jak i
+bez znaczników, a także wielokrotne wystąpienia danego argumentu.
+Obsługa błędów składni jest automatyczna, a biblioteka udostępnia
+także wyświetlanie składni linii poleceń bezpośrednio z tablicy
+specyfikacji argumentów.
+
 %package devel
-Summary:        Header files for argtable2 library
-Summary(pl):    Pliki nag³ówkowe biblioteki argtable2
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+Summary:       Header files for argtable2 library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki argtable2
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Header files for argtable2 library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki argtable2.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki argtable2.
 
 %package static
-Summary:        Static argtable2 library
-Summary(pl):    Statyczna biblioteka argtable2
-Group:          Development/Libraries
-Requires:       %{name}-devel = %{version}-%{release}
+Summary:       Static argtable2 library
+Summary(pl.UTF-8):     Statyczna biblioteka argtable2
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static argtable2 library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka argtable2.
 
 %prep
@@ -60,6 +73,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -70,14 +85,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libargtable2.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %doc example doc/*.{ps,gif,html,pdf}
 %attr(755,root,root) %{_libdir}/lib*.so
+%{_pkgconfigdir}/argtable2.pc
 %{_libdir}/lib*.la
 %{_includedir}/*.h
-%{_datadir}/%{name}.def
 %{_mandir}/man3/*.3*
 
 %files static
This page took 0.056523 seconds and 4 git commands to generate.