]> git.ipfire.org Git - people/ms/pakfire.git/blobdiff - macros/templates.macro
Mount /tmp as a tmpfs into the build environment.
[people/ms/pakfire.git] / macros / templates.macro
index 76dcf69434f75ffbfc5cd8625207fdff5ec49619..c4cda8c618356833137834b2764b690af19cba49 100644 (file)
@@ -52,9 +52,10 @@ packages
                        %{libdir}/pkgconfig
                        %{datadir}/aclocal
                        %{libdir}/*.so
-                       %{datadir}/*/cmake
+                       %{datadir}/cmake
                        %{mandir}/man2
                        %{mandir}/man3
+                       %{datadir}/gir*
                        %{datadir}/pkgconfig
                        %{datadir}/vala
                end
@@ -87,4 +88,24 @@ packages
                        %{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