[packages/libfmt] new, version 3.0.1

glen glen at pld-linux.org
Sun Apr 1 23:15:41 CEST 2018


commit 45bc75ebffd24a3b75c4a6f6c243c8d94b183cef
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Apr 2 00:15:01 2018 +0300

    new, version 3.0.1

 libfmt.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 86 insertions(+)
---
diff --git a/libfmt.spec b/libfmt.spec
new file mode 100644
index 0000000..cbbe629
--- /dev/null
+++ b/libfmt.spec
@@ -0,0 +1,86 @@
+Summary:	Small, safe and fast formatting library
+Name:		libfmt
+Version:	3.0.1
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	http://mirrors.kodi.tv/build-deps/sources/fmt-%{version}.tar.gz
+# Source0-md5:	b2c97427a696182b013d2cc0a2f939fe
+URL:		https://github.com/fmtlib/fmt
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A modern formatting library.
+
+%package devel
+Summary:	Header files for %{name} library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name} library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki %{name}.
+
+%package static
+Summary:	Static %{name} library
+Summary(pl.UTF-8):	Statyczna biblioteka %{name}
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static %{name} library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka %{name}.
+
+%prep
+%setup -q -n fmt-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	-DFMT_CMAKE_DIR="%{_libdir}/cmake/fmt" \
+	-DFMT_LIB_DIR=%{_libdir} \
+	-DFMT_TEST=OFF \
+	-DBUILD_SHARED_LIBS=ON \
+	..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build 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 README.rst ChangeLog.rst LICENSE.rst
+%attr(755,root,root) %{_libdir}/libfmt.so.*.*.*
+%ghost %{_libdir}/libfmt.so.3
+
+%files devel
+%defattr(644,root,root,755)
+%dir %{_includedir}/fmt
+%{_includedir}/fmt/format.cc
+%{_includedir}/fmt/format.h
+%{_includedir}/fmt/ostream.cc
+%{_includedir}/fmt/ostream.h
+%{_includedir}/fmt/posix.h
+%{_includedir}/fmt/time.h
+%dir %{_libdir}/cmake/fmt
+%{_libdir}/cmake/fmt/fmt-config-version.cmake
+%{_libdir}/cmake/fmt/fmt-config.cmake
+%{_libdir}/cmake/fmt/fmt-targets-pld.cmake
+%{_libdir}/cmake/fmt/fmt-targets.cmake
+%{_libdir}/libfmt.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfmt.git/commitdiff/45bc75ebffd24a3b75c4a6f6c243c8d94b183cef



More information about the pld-cvs-commit mailing list