SPECS: argtable2.spec (NEW) - initial release - builds

blues blues at pld-linux.org
Tue Jun 13 17:06:35 CEST 2006


Author: blues                        Date: Tue Jun 13 15:06:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release - builds

---- Files affected:
SPECS:
   argtable2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/argtable2.spec
diff -u /dev/null SPECS/argtable2.spec:1.1
--- /dev/null	Tue Jun 13 17:06:35 2006
+++ SPECS/argtable2.spec	Tue Jun 13 17:06:29 2006
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+Summary:	An ANSI C library for parsing GNU style command line arguments
+Name:		argtable2
+Version:	6
+Release:	0.9
+License:	LGPL v2
+Group:		Development/Libraries
+Source0:	http://dl.sourceforge.net/argtable/%{name}-%{version}.tar.gz
+# Source0-md5:	e1d5035992b29b45c5abad2b3487e096
+URL:		http://argtable.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Argtable is an ANSI C library for parsing GNU style command line
+arguments. It enables a program's command line syntax to be defined in
+the source code as an array of argtable structs. The command line is
+then parsed according to that specification and the resulting values
+are returned in those same structs where they are accessible to the
+main program. Both tagged (-v, --verbose, --foo=bar) and untagged
+arguments are supported, as are multiple instances of each argument.
+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.
+
+%package devel
+Summary:        Header files for argtable2 library
+Summary(pl):    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.
+
+%package static
+Summary:        Static argtable2 library
+Summary(pl):    Statyczna biblioteka argtable2
+Group:          Development/Libraries
+Requires:       %{name}-devel = %{version}-%{release}
+
+%description static
+Static argtable2 library.
+
+%description static -l pl
+Statyczna biblioteka argtable2.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc example doc/*.{ps,gif,html,pdf}
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*.h
+%{_datadir}/%{name}.def
+%{_mandir}/man3/*.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/06/13 15:06:29  blues
+- initial release - builds
+
================================================================


More information about the pld-cvs-commit mailing list