Summary(pl.UTF-8): Makra RPM dla Linuksa TLD
Name: rpm-tld-macros
Version: %{rpm_macros_rev}
-Release: 2
+Release: 0.1
License: GPL v2+
Group: Development/Building
Source0: macros.tld
%package build
Summary: TLD Linux RPM build macros
Summary(pl.UTF-8): Makra do budowania pakietów RPM dla Linuksa TLD
+Group: Development/Building
Requires: %{name} = %{version}-%{release}
Requires: findutils >= 1:4.2.26
Provides: rpmbuild(find_lang) = %{find_lang_rev}
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_usrlibrpm}/{fileattrs,macros.d,tld}
+install -d $RPM_BUILD_ROOT{/lib/systemd,/usr/lib/{systemd,binfmt.d,environment.d,modules-load.d,sysctl.d,sysusers.d,tmpfiles.d},/etc/{binfmt.d,modules-load.d,systemd,tmpfiles.d},/usr/share/user-tmpfiles.d}
+
cp -p macros.tld $RPM_BUILD_ROOT%{_usrlibrpm}/tld/macros
cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_usrlibrpm}/tld/rpmrc
%files
%defattr(644,root,root,755)
+%dir %{_usrlibrpm}/tld
%{_usrlibrpm}/tld/macros
%{_usrlibrpm}/tld/rpmrc
%files build
%defattr(644,root,root,755)
+%dir %{_usrlibrpm}/fileattrs
%{_usrlibrpm}/fileattrs/java.attr
%{_usrlibrpm}/fileattrs/gstreamer.attr
%{_usrlibrpm}/fileattrs/kernel.attr
%{_usrlibrpm}/fileattrs/php.attr
%{_usrlibrpm}/fileattrs/ruby.attr
+%dir %{_usrlibrpm}/macros.d
%{_usrlibrpm}/macros.d/macros.arch
%{_usrlibrpm}/macros.d/macros.browser-plugins
%{_usrlibrpm}/macros.d/macros.cacti