]> git.pld-linux.org Git - packages/statx-fun.git/commitdiff
Initial; stat like utility that uses statx(2) (Linux >= 4.11) and is able to show... master auto/th/statx-fun-1.0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 25 Apr 2018 18:02:39 +0000 (20:02 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 25 Apr 2018 18:02:39 +0000 (20:02 +0200)
statx-fun.spec [new file with mode: 0644]

diff --git a/statx-fun.spec b/statx-fun.spec
new file mode 100644 (file)
index 0000000..d4224c3
--- /dev/null
@@ -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
This page took 0.102918 seconds and 4 git commands to generate.