diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..f5bf0a348f941a08928ccf3d5b38ec0b0f93e742 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +GPATH +GRTAGS +GTAGS diff --git a/fscryptctl-v1.1.0.tar.gz b/fscryptctl-v1.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..29525be3bf0dad21ba28b9eb8d236847be90e85d Binary files /dev/null and b/fscryptctl-v1.1.0.tar.gz differ diff --git a/fscryptctl.spec b/fscryptctl.spec new file mode 100644 index 0000000000000000000000000000000000000000..02e16cf5194f01eb3c54561c230ed960bf923845 --- /dev/null +++ b/fscryptctl.spec @@ -0,0 +1,34 @@ +%define anolis_release 1 + +Name: fscryptctl +Version: 1.1.0 +Release: %{anolis_release}%{?dist} +Summary: Small C tool for Linux filesystem encryption +License: Apache-2.0 license +URL: https://github.com/google/fscryptctl +Source0: %{name}-v%{version}.tar.gz + +BuildRequires: make +BuildRequires: gcc + +Requires: glibc + +%description +Small C tool for Linux filesystem encryption + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +make fscryptctl + +%install +install -d -p %{buildroot}%{_bindir} +install -m 755 -p %{name} %{buildroot}%{_bindir} + +%files +%{_bindir}/%{name} + +%changelog +* Mon Apr 03 2023 Tianjia Zhang - 1.1.0-1 +- Package init.