]> git.pld-linux.org Git - SPECS.git/blob - mrg.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / mrg.spec
1 Summary:        Microraptor GUI
2 Summary(pl.UTF-8):      Microraptor GUI - graficzny interfejs użytkownika
3 Name:           mrg
4 Version:        0.1.4
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 #Source0Download: https://github.com/hodefoting/mrg/releases
9 Source0:        https://github.com/hodefoting/mrg/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  94cfdaf46a65e292a86f2cbc01d89014
11 Patch1:         %{name}-format.patch
12 URL:            https://github.com/hodefoting/mrg/
13 BuildRequires:  SDL-devel >= 1.2
14 BuildRequires:  alsa-lib-devel
15 BuildRequires:  cairo-devel
16 BuildRequires:  meson >= 0.50.0
17 BuildRequires:  ninja >= 1.5
18 BuildRequires:  mmm-devel >= 0.1.1
19 BuildRequires:  gtk+3-devel >= 3.0
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 1.736
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Immediate UI framework with cairo. Also a minimal usable graphical
26 user environment built using the framework, including: a shell/host
27 for client programs, a terminal emulator, file browser and text editor
28 written using the library.
29
30 %description -l pl.UTF-8
31 Pośredni szkielet interfejsu użytkownika wykorzystujący cairo. Zawiera
32 także zbudowane przy użyciu tego szkieletu minimalne używalne
33 graficzne środowisko użytkownika, zawierające: powłokę/hosta dla
34 programów klienckich, emulator terminala, przeglądarkę plików oraz
35 edytor tekstu.
36
37 %package libs
38 Summary:        Shared mrg library
39 Summary(pl.UTF-8):      Biblioteka współdzielona mrg
40 Group:          Libraries
41 Requires:       mmm-libs >= 0.1.1
42
43 %description libs
44 Shared mrg library.
45
46 %description libs -l pl.UTF-8
47 Biblioteka współdzielona mrg.
48
49 %package devel
50 Summary:        Header files for mrg library
51 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki mrg
52 Group:          Development/Libraries
53 Requires:       %{name}-libs = %{version}-%{release}
54 Requires:       alsa-lib-devel
55 Requires:       cairo-devel
56 Requires:       mmm-devel >= 0.1.1
57 Requires:       gtk+3-devel >= 3.0
58
59 %description devel
60 Header files for mrg library.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki mrg.
64
65 %package static
66 Summary:        Static mrg library
67 Summary(pl.UTF-8):      Statyczna biblioteka mrg
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static mrg library.
73
74 %description static -l pl.UTF-8
75 Statyczna biblioteka mrg.
76
77 %prep
78 %setup -q
79 %patch1 -p1
80
81 %build
82 %meson build
83
84 %ninja_build -C build
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %ninja_install -C build
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   libs -p /sbin/ldconfig
95 %postun libs -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc README.md
100 %attr(755,root,root) %{_bindir}/mrg
101
102 %files libs
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libmrg.so
105
106 %files devel
107 %defattr(644,root,root,755)
108 %{_includedir}/mrg-0.1
109 %{_pkgconfigdir}/mrg.pc
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/libmrg.a
This page took 0.231257 seconds and 3 git commands to generate.