]> git.ipfire.org Git - people/ms/pakfire.git/blobdiff - macros/templates.macro
Remove the urlgrabber fork hack.
[people/ms/pakfire.git] / macros / templates.macro
index 9f448f3f5da52b2f690c3065c2bd7e15820bc7a7..c4cda8c618356833137834b2764b690af19cba49 100644 (file)
@@ -48,13 +48,14 @@ packages
                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
@@ -78,4 +79,33 @@ packages
                        /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