]>
Commit | Line | Data |
---|---|---|
52021eca JP |
1 | Summary: User interface library |
2 | Name: girara | |
2c35ced1 JP |
3 | Version: 0.3.0 |
4 | Release: 1 | |
52021eca JP |
5 | License: BSD-like |
6 | Group: Libraries | |
05101906 | 7 | Source0: http://pwmt.org/projects/girara/download/%{name}-%{version}.tar.xz |
2c35ced1 | 8 | # Source0-md5: 3ce05d937ee4a247b07e6d6f8f92f0b3 |
52021eca | 9 | URL: http://pwmt.org/projects/girara |
ffc2dd9d JP |
10 | BuildRequires: glib2-devel >= 1:2.50.0 |
11 | BuildRequires: gtk+3-devel >= 3.20 | |
52021eca | 12 | BuildRequires: intltool |
7174b71b JP |
13 | BuildRequires: json-c-devel |
14 | BuildRequires: libnotify-devel >= 0.7.0 | |
3cfcf741 | 15 | BuildRequires: meson >= 0.43 |
05101906 | 16 | BuildRequires: ninja |
52021eca | 17 | BuildRequires: pkgconfig |
05101906 | 18 | BuildRequires: rpmbuild(macros) >= 1.727 |
ffc2dd9d JP |
19 | Requires: glib2 >= 1:2.50.0 |
20 | Requires: gtk+3 >= 3.20 | |
051a86a9 | 21 | Requires: libnotify >= 0.7.0 |
05101906 | 22 | Obsoletes: girara-static < 0.2.9 |
52021eca JP |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | girara is a library that implements a user interface that focuses on | |
27 | simplicity and minimalism. Currently based on GTK+, a cross-platform | |
28 | widget toolkit, it provides an interface that focuses on three main | |
29 | components: A so-called view widget that represents the actual | |
30 | application (e.g. a website (browser), an image (image viewer) or the | |
31 | document (document viewer)), an input bar that is used to execute | |
32 | commands of the application and the status bar which provides the user | |
33 | with current information. girara was designed to replace and enhance | |
34 | the user interface that is used by zathura and jumanji and other | |
35 | features that those applications share. | |
36 | ||
37 | %package devel | |
38 | Summary: Header files for girara library | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | Header files for girara library. | |
44 | ||
52021eca JP |
45 | %prep |
46 | %setup -q | |
47 | ||
48 | %build | |
05101906 JP |
49 | %meson build |
50 | %meson_build -C build | |
52021eca JP |
51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
05101906 | 55 | %meson_install -C build |
52021eca | 56 | |
ffc2dd9d | 57 | %find_lang libgirara-gtk3-3 |
52021eca | 58 | |
8f095831 JP |
59 | chmod +x $RPM_BUILD_ROOT%{_libdir}/libgirara-gtk3.so.*.* |
60 | ||
52021eca JP |
61 | %clean |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post -p /sbin/ldconfig | |
65 | %postun -p /sbin/ldconfig | |
66 | ||
ffc2dd9d | 67 | %files -f libgirara-gtk3-3.lang |
52021eca JP |
68 | %defattr(644,root,root,755) |
69 | %doc LICENSE README | |
c6b49777 | 70 | %attr(755,root,root) %{_libdir}/libgirara-gtk3.so.*.* |
ffc2dd9d | 71 | %attr(755,root,root) %ghost %{_libdir}/libgirara-gtk3.so.3 |
52021eca JP |
72 | |
73 | %files devel | |
74 | %defattr(644,root,root,755) | |
c6b49777 | 75 | %attr(755,root,root) %{_libdir}/libgirara-gtk3.so |
52021eca | 76 | %{_includedir}/girara |
c6b49777 | 77 | %{_pkgconfigdir}/girara-gtk3.pc |