]> git.pld-linux.org Git - SPECS.git/blob - flatpak-builder.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.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.12
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:  83583c2e34837575a882aca11b2e1dd0
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:  libcap-devel
24 BuildRequires:  libsoup-devel >= 2.4
25 BuildRequires:  libtool >= 2:2.2.6
26 BuildRequires:  libxml2-devel >= 2.4
27 BuildRequires:  ostree-devel >= 2017.14
28 BuildRequires:  pkgconfig >= 1:0.24
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xmlto
31 BuildRequires:  xz
32 BuildRequires:  yaml-devel >= 0.1
33 Requires:       flatpak >= 0.99.1
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Flatpak-builder is a tool for building flatpaks from sources.
38
39 %description -l pl.UTF-8
40 Flatpak-builder to narzędzie do budowania pakietów flatpak ze źródeł.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 %{__libtoolize}
48 %{__aclocal} -I m4 -I libglnx
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure \
53         FLATPAK=%{_bindir}/flatpak \
54         --disable-silent-rules
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 # packaged as %doc
64 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/flatpak-builder
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc NEWS README.md doc/{*.css,*.html}
72 %attr(755,root,root) %{_bindir}/flatpak-builder
73 %{_mandir}/man1/flatpak-builder.1*
74 %{_mandir}/man5/flatpak-manifest.5*
This page took 0.111431 seconds and 3 git commands to generate.