1 Summary: Microraptor GUI
2 Summary(pl.UTF-8): Microraptor GUI - graficzny interfejs użytkownika
5 %define gitref ba04b1ee9c63cbd50ea0ac9211fad881a0724361
10 Source0: https://github.com/hodefoting/mrg/archive/%{gitref}/%{name}-%{snap}.tar.gz
11 # Source0-md5: 5a2009b7431e6baeb067cce61851833f
12 Patch0: %{name}-mm.patch
13 Patch1: %{name}-format.patch
14 URL: https://github.com/hodefoting/mrg/
15 BuildRequires: SDL-devel >= 1.2
16 BuildRequires: alsa-lib-devel
17 BuildRequires: cairo-devel
18 BuildRequires: mmm-devel >= 0-0.20171127.1
19 BuildRequires: gtk+3-devel >= 3.0
20 BuildRequires: pkgconfig
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Immediate UI framework with cairo. Also a minimal usable graphical
25 user environment built using the framework, including: a shell/host
26 for client programs, a terminal emulator, file browser and text editor
27 written using the library.
29 %description -l pl.UTF-8
30 Pośredni szkielet interfejsu użytkownika wykorzystujący cairo. Zawiera
31 także zbudowane przy użyciu tego szkieletu minimalne używalne
32 graficzne środowisko użytkownika, zawierające: powłokę/hosta dla
33 programów klienckich, emulator terminala, przeglądarkę plików oraz
37 Summary: Shared mrg library
38 Summary(pl.UTF-8): Biblioteka współdzielona mrg
44 %description libs -l pl.UTF-8
45 Biblioteka współdzielona mrg.
48 Summary: Header files for mrg library
49 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mrg
50 Group: Development/Libraries
51 Requires: %{name}-libs = %{version}-%{release}
52 Requires: alsa-lib-devel
54 Requires: mmm-devel >= 0-0.20171127.1
55 Requires: gtk+3-devel >= 3.0
58 Header files for mrg library.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki mrg.
64 Summary: Static mrg library
65 Summary(pl.UTF-8): Statyczna biblioteka mrg
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
72 %description static -l pl.UTF-8
73 Statyczna biblioteka mrg.
76 %setup -q -n %{name}-%{gitref}
81 # not autoconf configure
83 CFLAGS="%{rpmcflags} -std=gnu99"\
89 LD_FLAGS="%{rpmldflags}"
92 rm -rf $RPM_BUILD_ROOT
94 %{__make} -j1 install \
95 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post libs -p /sbin/ldconfig
101 %postun libs -p /sbin/ldconfig
104 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/mrg
107 %attr(755,root,root) %{_bindir}/mrg-browser
108 %attr(755,root,root) %{_bindir}/mrg-edit
109 %attr(755,root,root) %{_bindir}/mrg-host
110 %attr(755,root,root) %{_bindir}/mrg-terminal
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libmrg.so
117 %defattr(644,root,root,755)
119 %{_pkgconfigdir}/mrg.pc
122 %defattr(644,root,root,755)