thisver = %{version}-%{_release}
packages
+ # Don't inherit dependency information from somewhere else
+ # (like build dependencies).
+ prerequires =
+ requires =
+ provides =
+ conflicts =
+ 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
- /lib/lib*.so.*
- /usr/lib*/lib*.so.*
+ 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}
-
- def files
- /usr/bin/*-config
- /usr/include
- /usr/lib/*.a
- /usr/lib/pkgconfig
- /usr/share/aclocal
- /usr/lib/*.so
- /usr/share/*/cmake
- /usr/share/man/man2
- /usr/share/man/man3
- /usr/share/pkgconfig
- /usr/share/vala
+ requires
+ %{name} = %{thisver}
end
- def configfiles
+ files
+ %{bindir}/*-config
+ %{includedir}
+ %{libdir}/*.a
+ %{libdir}/pkgconfig
+ %{datadir}/aclocal
+ %{libdir}/*.so
+ %{datadir}/cmake
+ %{mandir}/man2
+ %{mandir}/man3
+ %{datadir}/gir*
+ %{datadir}/pkgconfig
+ %{datadir}/vala
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