Author: cieciwa Date: Tue Jan 9 14:09:21 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial - NFY.
---- Files affected: SPECS: libelfio.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libelfio.spec diff -u /dev/null SPECS/libelfio.spec:1.1 --- /dev/null Tue Jan 9 15:09:21 2007 +++ SPECS/libelfio.spec Tue Jan 9 15:09:16 2007 @@ -0,0 +1,134 @@ +# $Revision$, $Date$ +# +Summary: elfio +Summary(pl): elfio +Name: libelfio +Version: 1.0.3 +Release: 0.1 +License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here) +Group: Applications +Source0: http://dl.sourceforge.net/elfio/ELFIO-%{version}.tar.gz +# Source0-md5: fd6fca12c7b43f6c01d30b23d22aaefe +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + +%description -l pl + +%package subpackage +Summary: - +Summary(pl): - +Group: - + +%description subpackage + +%description subpackage -l pl + +%package libs +Summary: - +Summary(pl): - +Group: Libraries + +%description libs + +%description libs -l pl + +%package devel +Summary: Header files for ... library +Summary(pl): Pliki nagłówkowe biblioteki ... +Group: Development/Libraries +# if base package contains shared library for which these headers are +#Requires: %{name} = %{version}-%{release} +# if -libs package contains shared library for which these headers are +#Requires: %{name}-libs = %{version}-%{release} + +%description devel +Header files for ... library. + +%description devel -l pl +Pliki nagłówkowe biblioteki .... + +%package static +Summary: Static ... library +Summary(pl): Statyczna biblioteka ... +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static ... library. + +%description static -l pl +Statyczna biblioteka .... + +%prep +%setup -q -n ELFIO-%{version} + +%build +##%{__libtoolize} +##%{__aclocal} +#3%{__autoconf} +##%{__autoheader} +##%{__automake} +#cp -f /usr/share/automake/config.sub . +%configure +%{__make} + +#%{__make} \ +# CFLAGS="%{rpmcflags}" \ +# LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT +# create directories if necessary +#install -d $RPM_BUILD_ROOT +#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%pre + +%post + +%preun + +%postun + +%if %{with ldconfig} +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%endif + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO + +%if 0 +# if _sysconfdir != /etc: +#%%dir %{_sysconfdir} +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name} +%endif + +#%{_examplesdir}/%{name}-%{version} + +%if %{with subpackage} +%files subpackage +%defattr(644,root,root,755) +#%doc extras/*.gz +#%{_datadir}/%{name}-ext +%endif + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/01/09 14:09:16 cieciwa +- initial - NFY. + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
