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