2017-10-24 23:11:41 +02:00
|
|
|
Summary: LibreSchool YUM repo configuration
|
|
|
|
Name: libreschool-release
|
2018-09-27 19:14:17 +02:00
|
|
|
Version: 1.0
|
2017-10-24 23:11:41 +02:00
|
|
|
Release: 1
|
|
|
|
License: GPL
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2018-09-27 19:14:17 +02:00
|
|
|
Source0: %{name}-%{version}-%{release}.tar.gz
|
2017-10-24 23:11:41 +02:00
|
|
|
Source1: COPYING
|
|
|
|
URL: %{url_prefix}/%{name}
|
|
|
|
Requires: nethserver-base
|
|
|
|
BuildRequires: nethserver-devtools
|
|
|
|
|
|
|
|
%description
|
|
|
|
LibreSchool YUM repository configuration
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
(cd root ; find . -depth -not -name '*.orig' -print | cpio -dump $RPM_BUILD_ROOT)
|
|
|
|
%{genfilelist} $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
|
|
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
|
|
|
|
echo "%config(noreplace) /etc/yum.repos.d/LibreSchool.repo" >> %{name}-%{version}-%{release}-filelist
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-%{release}-filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2018-09-27 19:14:17 +02:00
|
|
|
* Thu Sep 27 2018 Paolo Asperti <paolo@asperti.com> - 1.0-1
|
|
|
|
- Initial commit
|
|
|
|
|