Author: zbyniu Date: Wed Oct 17 19:07:55 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - raw
---- Files affected: SPECS: ustr.spec (1.1 -> 1.2) (NEW) ---- Diffs: ================================================================ Index: SPECS/ustr.spec diff -u /dev/null SPECS/ustr.spec:1.2 --- /dev/null Wed Oct 17 21:07:55 2007 +++ SPECS/ustr.spec Wed Oct 17 21:07:50 2007 @@ -0,0 +1,106 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_with tests # build with tests +%bcond_without tests # build without tests +# +Summary: - +Summary(pl.UTF-8): - +Name: ustr +Version: 1.0.1 +Release: 0.1 +License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here) +Group: Applications +Source0: http://www.and.org/ustr/%{version}//%{name}-%{version}.tar.bz2 +# Source0-md5: 794dcbac77a2154e8e98865265d37cd5 +URL: http://www.and.org/ustr/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + +%description -l pl.UTF-8 + +%package subpackage +Summary: - +Summary(pl.UTF-8): - +Group: - + +%description subpackage + +%description subpackage -l pl.UTF-8 + +%package libs +Summary: - +Summary(pl.UTF-8): - +Group: Libraries + +%description libs + +%description libs -l pl.UTF-8 + +%package devel +Summary: Header files for ... library +Summary(pl.UTF-8): 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.UTF-8 +Pliki nagłówkowe biblioteki .... + +%package static +Summary: Static ... library +Summary(pl.UTF-8): Statyczna biblioteka ... +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static ... library. + +%description static -l pl.UTF-8 +Statyczna biblioteka .... + +%prep +%setup -q + +%build +%{__make} all-shared + +%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 NEWS README THANKS TODO +%attr(755,root,root) %{_bindir}/* +%{_libdir}/libustr-1.0.so.1.0.1 + +%files devel +%{_includedir}/*.h +/usr/lib/pkgconfig/ustr.pc + +%files static +%{_libdir}/libustr.a + +%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.2 2007/10/17 19:07:50 zbyniu +- raw + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
