]> git.pld-linux.org Git - packages/mrg.git/blame - mrg.spec
- updated to 20190916 snap; now uses meson and sets soname
[packages/mrg.git] / mrg.spec
CommitLineData
298c0066
JB
1Summary: Microraptor GUI
2Summary(pl.UTF-8): Microraptor GUI - graficzny interfejs użytkownika
3Name: mrg
ed66c8d8 4Version: 0.1.2
7a7307fd
JB
5%define gitref ae40b7150f5e050469727641767c253214210114
6%define snap 20190916
4c2e9ab8 7Release: 1.%{snap}.1
298c0066
JB
8License: LGPL v2+
9Group: Libraries
4c2e9ab8 10Source0: https://github.com/hodefoting/mrg/archive/%{gitref}/%{name}-%{snap}.tar.gz
7a7307fd 11# Source0-md5: 9ba3ffbae7965e77c2e0dd8099f8d97e
298c0066
JB
12Patch1: %{name}-format.patch
13URL: https://github.com/hodefoting/mrg/
14BuildRequires: SDL-devel >= 1.2
a4a118a9 15BuildRequires: alsa-lib-devel
298c0066 16BuildRequires: cairo-devel
7a7307fd
JB
17BuildRequires: meson >= 0.50.0
18BuildRequires: ninja >= 1.5
19BuildRequires: mmm-devel >= 0-0.20191113.1
298c0066
JB
20BuildRequires: gtk+3-devel >= 3.0
21BuildRequires: pkgconfig
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Immediate UI framework with cairo. Also a minimal usable graphical
26user environment built using the framework, including: a shell/host
27for client programs, a terminal emulator, file browser and text editor
28written using the library.
29
30%description -l pl.UTF-8
31Pośredni szkielet interfejsu użytkownika wykorzystujący cairo. Zawiera
32także zbudowane przy użyciu tego szkieletu minimalne używalne
33graficzne środowisko użytkownika, zawierające: powłokę/hosta dla
34programów klienckich, emulator terminala, przeglądarkę plików oraz
35edytor tekstu.
36
37%package libs
38Summary: Shared mrg library
39Summary(pl.UTF-8): Biblioteka współdzielona mrg
40Group: Libraries
7a7307fd 41Requires: mmm-libs >= 0-0.20191113.1
298c0066
JB
42
43%description libs
44Shared mrg library.
45
46%description libs -l pl.UTF-8
47Biblioteka współdzielona mrg.
48
49%package devel
50Summary: Header files for mrg library
51Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mrg
52Group: Development/Libraries
53Requires: %{name}-libs = %{version}-%{release}
a4a118a9 54Requires: alsa-lib-devel
298c0066 55Requires: cairo-devel
7a7307fd 56Requires: mmm-devel >= 0-0.20191113.1
298c0066
JB
57Requires: gtk+3-devel >= 3.0
58
59%description devel
60Header files for mrg library.
61
62%description devel -l pl.UTF-8
63Pliki nagłówkowe biblioteki mrg.
64
65%package static
66Summary: Static mrg library
67Summary(pl.UTF-8): Statyczna biblioteka mrg
68Group: Development/Libraries
69Requires: %{name}-devel = %{version}-%{release}
70
71%description static
72Static mrg library.
73
74%description static -l pl.UTF-8
75Statyczna biblioteka mrg.
76
77%prep
4c2e9ab8 78%setup -q -n %{name}-%{gitref}
298c0066
JB
79%patch1 -p1
80
81%build
7a7307fd
JB
82%meson build
83
84%ninja_build -C build
298c0066
JB
85
86%install
87rm -rf $RPM_BUILD_ROOT
88
7a7307fd 89%ninja_install -C build
298c0066
JB
90
91%clean
92rm -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
298c0066
JB
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)
7a7307fd 108%{_includedir}/mrg-0.0
298c0066
JB
109%{_pkgconfigdir}/mrg.pc
110
111%files static
112%defattr(644,root,root,755)
113%{_libdir}/libmrg.a
This page took 0.100955 seconds and 4 git commands to generate.