Name: lib-stp Version: 1.0.0 Release: 1 Summary: A simple setup tool suit BuildArch: x86_64 License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make %description A simple setup program for RPM-based distros. %prep %setup -q %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_libdir}/libstp make cp libstp-c.h %{buildroot}/%{_libdir}/libstp cp libstp-c.so %{buildroot}/%{_libdir}/libstp %files %{_libdir}/libstp/libstp-c.h %{_libdir}/libstp/libstp-c.so %changelog %autochangelog