mildew pushed to spdlog (f20). "Import package"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 21 05:25:53 UTC 2015


>From b0f23d8854489761d80c60d015bcd7da7f908d1e Mon Sep 17 00:00:00 2001
From: Daniel Kopecek <dkopecek at redhat.com>
Date: Tue, 21 Apr 2015 07:25:33 +0200
Subject: Import package


diff --git a/.gitignore b/.gitignore
index e69de29..ee398eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gabime-spdlog-211ce99.tar.gz
diff --git a/sources b/sources
index e69de29..4072512 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aaf84e55b24d58f5bdd124cec9a71d44  gabime-spdlog-211ce99.tar.gz
diff --git a/spdlog.spec b/spdlog.spec
new file mode 100644
index 0000000..56095e1
--- /dev/null
+++ b/spdlog.spec
@@ -0,0 +1,61 @@
+%global gitdate         20150410
+%global gittag          211ce99d29820f7a02c874360be11978ef40fee8
+%global shorttag        %(c=%{gittag}; echo ${c:0:7})
+%global user            gabime
+%global debug_package   %{nil}
+
+Name:           spdlog
+Version:        0
+Release:        3.%{gitdate}git.%{shorttag}%{?dist}
+Summary:        Super fast C++ logging library
+Group:          Development/Libraries
+License:        MIT
+URL:            https://github.com/%{user}/%{name}/
+Source0:        https://github.com/%{user}/%{name}/tarball/%{gittag}/%{user}-%{name}-%{shorttag}.tar.gz
+
+%description
+This is a packaged version of the gabime/spdlog header-only C++
+logging library available at Github.
+
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Provides:       %{name}-static = %{version}-%{release}
+Requires:       %{name} = %{version}-%{release}
+Requires:       libstdc++-devel
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n %{user}-%{name}-%{shorttag}
+
+%build
+# Nothing to build here.
+
+%install
+find ./example -name '.gitignore' -exec rm {} \;
+mkdir -p %{buildroot}%{_includedir}
+cp -pvR include/spdlog %{buildroot}%{_includedir}
+
+%files
+%doc README.md
+%license LICENSE
+
+%files devel
+%doc example/
+%dir %{_includedir}/spdlog
+%{_includedir}/spdlog/*
+
+%changelog
+* Mon Apr 20 2015 Daniel Kopecek <dkopecek at redhat.com> - 0-3.20150410git.211ce99
+- use the -p option when copying the header files
+
+* Tue Apr 14 2015 Daniel Kopecek <dkopecek at redhat.com> - 0-2.20150410git.211ce99
+- don't build the debuginfo subpackage
+- require libstdc++-devel
+- don't generate a distribution specific pkg-config file
+
+* Fri Apr 10 2015 Daniel Kopecek <dkopecek at redhat.com> - 0-1.20150410git.211ce99
+- Initial package
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/spdlog.git/commit/?h=f20&id=b0f23d8854489761d80c60d015bcd7da7f908d1e


More information about the scm-commits mailing list