[packages/statx-fun] Initial; stat like utility that uses statx(2) (Linux >= 4.11) and is able to show file creation time
arekm
arekm at pld-linux.org
Wed Apr 25 20:02:54 CEST 2018
commit bb3c01bf9e02d3231ed5af251d2235a3d5acdd28
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Apr 25 20:02:39 2018 +0200
Initial; stat like utility that uses statx(2) (Linux >= 4.11) and is able to show file creation time on some filesystems
statx-fun.spec | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
---
diff --git a/statx-fun.spec b/statx-fun.spec
new file mode 100644
index 0000000..d4224c3
--- /dev/null
+++ b/statx-fun.spec
@@ -0,0 +1,34 @@
+Summary: statx(2) sample implementation
+Name: statx-fun
+Version: 1.0
+Release: 1
+License: GPL
+Group: Applications/System
+Source0: https://github.com/whotwagner/statx-fun/archive/v%{version}.tar.gz
+# Source0-md5: 6b8b52a40b4d08877c974f6165af6717
+URL: https://github.com/whotwagner/statx-fun
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+statx(2) sample implementation.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ CFLAGS="%{rpmcppflags} %{rpmcflags} %{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+cp -p statx $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/statx
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/statx-fun.git/commitdiff/bb3c01bf9e02d3231ed5af251d2235a3d5acdd28
More information about the pld-cvs-commit
mailing list