]> git.pld-linux.org Git - packages/flatpak-builder.git/blob - flatpak-builder.spec
- new, now separate from flatpak.spec
[packages/flatpak-builder.git] / flatpak-builder.spec
1 Summary:        Tool for building flatpaks from sources
2 Summary(pl.UTF-8):      Narzędzie do budowania pakietów flatpak ze źródeł.
3 Name:           flatpak-builder
4 Version:        1.0.9
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Applications
8 #Source0Download: https://github.com/flatpak/flatpak-builder/releases
9 Source0:        https://github.com/flatpak/flatpak-builder/releases/download/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5:  89c8759aa0b78eb6d029c459f9312255
11 Patch0:         %{name}-reqs.patch
12 URL:            https://github.com/flatpak/flatpak-builder
13 BuildRequires:  autoconf >= 2.63
14 BuildRequires:  automake >= 1:1.13.4
15 BuildRequires:  curl-devel
16 BuildRequires:  docbook-dtd412-xml
17 BuildRequires:  docbook-style-xsl-nons
18 # or libelf-devel >= 0.8.12
19 BuildRequires:  elfutils-devel
20 BuildRequires:  gettext-tools >= 0.18.2
21 BuildRequires:  glib2-devel >= 1:2.44
22 BuildRequires:  json-glib-devel
23 BuildRequires:  libsoup-devel >= 2.4
24 BuildRequires:  libtool >= 2:2.2.6
25 BuildRequires:  libxml2-devel >= 2.4
26 BuildRequires:  ostree-devel >= 2017.14
27 BuildRequires:  pkgconfig >= 1:0.24
28 BuildRequires:  tar >= 1:1.22
29 BuildRequires:  xmlto
30 BuildRequires:  xz
31 BuildRequires:  yaml-devel >= 0.1
32 Requires:       flatpak >= 0.99.1
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Flatpak-builder is a tool for building flatpaks from sources.
37
38 %description -l pl.UTF-8
39 Flatpak-builder to narzędzie do budowania pakietów flatpak ze źródeł.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__libtoolize}
47 %{__aclocal} -I m4 -I libglnx
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         FLATPAK=%{_bindir}/flatpak \
53         --disable-silent-rules
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 # packaged as %doc
63 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/flatpak-builder
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc NEWS README.md doc/{*.css,*.html}
71 %attr(755,root,root) %{_bindir}/flatpak-builder
72 %{_mandir}/man1/flatpak-builder.1*
73 %{_mandir}/man5/flatpak-manifest.5*
This page took 0.068957 seconds and 4 git commands to generate.