diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/watchman.spec | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/utils/watchman.spec b/utils/watchman.spec new file mode 100644 index 0000000..7425096 --- /dev/null +++ b/utils/watchman.spec @@ -0,0 +1,55 @@ +Name: watchman +Version: 2020.09.21.00 +Release: 1%{?dist} +Summary: File alteration monitoring service + +License: ASL 2.0 +URL: https://facebook.github.io/%{name}/ +Source0: https://github.com/facebook/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: %{name}-py_destdir.patch + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: folly-devel +BuildRequires: python-devel +#Requires: + +%description +Watchman exists to watch files and record when they actually change. It can also +trigger actions (such as rebuilding assets) when matching files change. + + +%package -n python3-%{name} +Summary: Python bindings for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description -n python3-%{name} +The python3-%{name} package contains Python bindings for %{name}. + + +%prep +%autosetup -p1 + + +%build +%cmake +%cmake_build + + +%install +%cmake_install + + +%files +%license LICENSE +%doc CODE_OF_CONDUCT.md README.markdown +%{_bindir}/watchman* + +%files -n python3-%{name} +%{python3_sitearch}/py%{name} +%{python3_sitearch}/py%{name}-?.?.?-py%{python3_version}.egg-info + + +%changelog +* Tue Nov 10 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.09.21.00-1 +- Initial package |