obsoletes =
template MAIN
- def files
+ files
/
!/usr/lib/debug
!/usr/src/debug
end
- def configfiles
- end
+ configfiles =
end
template LIBS
summary = Library files of %{thisapp}.
description = Runtime library files of the package %{thisapp}.
- def files
+ files
/%{lib}/*.so.*
%{libdir}/lib*.so.*
end
- def configfiles
- end
+ configfiles =
# Linker cache is updated automatically by pakfire.
end
summary = Development files of %{thisapp}.
description = %{summary}
- requires = %{name}=%{thisver}
+ requires
+ %{name} = %{thisver}
+ end
- def files
+ files
%{bindir}/*-config
%{includedir}
- %{libdir}//*.a
+ %{libdir}/*.a
%{libdir}/pkgconfig
%{datadir}/aclocal
%{libdir}/*.so
- %{datadir}/*/cmake
+ %{datadir}/cmake
%{mandir}/man2
%{mandir}/man3
+ %{datadir}/gir*
%{datadir}/pkgconfig
%{datadir}/vala
end
- def configfiles
- end
+ configfiles =
end
template DEBUGINFO
/usr/src/debug
end
end
+
+ template DOCS
+ summary = Documentation from the %{name} package.
+ description = %{summary}
+
+ files
+ %{datadir}/doc
+ end
+ end
+
+ template PYTHON
+ summary = Python bindings from the %{name} package.
+ description = %{summary}
+
+ files
+ %{python_sitearch}
+ %{python_sitelib}
+ end
+ end
+
+ template PYTHON3
+ summary = Python 3 bindings from the %{name} package.
+ description = %{summary}
+
+ files
+ %{python3_sitearch}
+ %{python3_sitelib}
+ end
+ end
end