]>
Commit | Line | Data |
---|---|---|
52021eca | 1 | Summary: User interface library |
5dc73daf | 2 | Summary(pl.UTF-8): Biblioteka interfejsu użytkownika |
52021eca | 3 | Name: girara |
4ee3adf0 | 4 | Version: 0.3.9 |
53721025 | 5 | Release: 1 |
52021eca JP |
6 | License: BSD-like |
7 | Group: Libraries | |
4d821781 | 8 | #Source0Download: https://git.pwmt.org/pwmt/girara/-/tags |
382cffb9 | 9 | Source0: https://git.pwmt.org/pwmt/girara/-/archive/%{version}/%{name}-%{version}.tar.gz |
4ee3adf0 | 10 | # Source0-md5: fdd0a60f280fb097732fc0e74b0f3d44 |
52021eca | 11 | URL: http://pwmt.org/projects/girara |
5dc73daf JB |
12 | # C11 |
13 | BuildRequires: gcc >= 6:4.7 | |
14 | BuildRequires: gettext-tools | |
ffc2dd9d JP |
15 | BuildRequires: glib2-devel >= 1:2.50.0 |
16 | BuildRequires: gtk+3-devel >= 3.20 | |
4ee3adf0 | 17 | BuildRequires: json-glib-devel |
7174b71b | 18 | BuildRequires: libnotify-devel >= 0.7.0 |
cf9b7dd8 | 19 | BuildRequires: meson >= 0.56 |
05101906 | 20 | BuildRequires: ninja |
93954686 | 21 | BuildRequires: pango-devel >= 1:1.14 |
52021eca | 22 | BuildRequires: pkgconfig |
b8bc3901 | 23 | BuildRequires: rpmbuild(macros) >= 1.736 |
ffc2dd9d JP |
24 | Requires: glib2 >= 1:2.50.0 |
25 | Requires: gtk+3 >= 3.20 | |
051a86a9 | 26 | Requires: libnotify >= 0.7.0 |
93954686 | 27 | Requires: pango >= 1:1.14 |
52021eca JP |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | girara is a library that implements a user interface that focuses on | |
32 | simplicity and minimalism. Currently based on GTK+, a cross-platform | |
33 | widget toolkit, it provides an interface that focuses on three main | |
34 | components: A so-called view widget that represents the actual | |
35 | application (e.g. a website (browser), an image (image viewer) or the | |
36 | document (document viewer)), an input bar that is used to execute | |
37 | commands of the application and the status bar which provides the user | |
38 | with current information. girara was designed to replace and enhance | |
39 | the user interface that is used by zathura and jumanji and other | |
40 | features that those applications share. | |
41 | ||
5dc73daf JB |
42 | %description -l pl.UTF-8 |
43 | girara to biblioteka implementująca interfejs użytkownika skupiający | |
44 | się na prostocie i minimalizmie. Obecnie jest oparty na GTK+ - | |
45 | wieloplatformowym toolkicie widgetów - zapewnia interfejs o trzech | |
46 | głównych komponentach: tzw. widgecie widoku, reprezentującym właściwą | |
47 | aplikację (np. stronę dla przeglądarki WWW, obraz dla przeglądarki | |
48 | obrazków czy dokument dla przeglądarki dokumentów), pasku wprowadzania | |
49 | służącym do wydawania poleceń oraz pasku stanu udostępniającym | |
50 | użytkownikowi aktualne informacje. girara została zaprojektowana w | |
51 | celu zastąpienia i rozszerzenia interfejsu użytkownika używanego przez | |
52 | aplikacje zathura i jumanji, a także innych funkcji dzielonych przez | |
53 | te aplikacje. | |
54 | ||
52021eca JP |
55 | %package devel |
56 | Summary: Header files for girara library | |
5dc73daf | 57 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki girara |
52021eca JP |
58 | Group: Development/Libraries |
59 | Requires: %{name} = %{version}-%{release} | |
5dc73daf JB |
60 | Requires: glib2-devel >= 1:2.50.0 |
61 | Requires: gtk+3-devel >= 3.20 | |
4ee3adf0 | 62 | Requires: json-glib-devel |
5dc73daf JB |
63 | Requires: libnotify-devel >= 0.7.0 |
64 | Requires: pango-devel >= 1:1.14 | |
52021eca JP |
65 | |
66 | %description devel | |
67 | Header files for girara library. | |
68 | ||
5dc73daf JB |
69 | %description devel -l pl.UTF-8 |
70 | Pliki nagłówkowe biblioteki girara. | |
71 | ||
93954686 | 72 | %package static |
5dc73daf JB |
73 | Summary: Girara static library |
74 | Summary(pl.UTF-8): Statyczna biblioteka girara | |
93954686 JP |
75 | Group: Development/Libraries |
76 | Requires: %{name}-devel = %{version}-%{release} | |
77 | ||
78 | %description static | |
5dc73daf JB |
79 | Girara static library. |
80 | ||
81 | %description static -l pl.UTF-8 | |
82 | Statyczna biblioteka girara. | |
93954686 | 83 | |
52021eca JP |
84 | %prep |
85 | %setup -q | |
86 | ||
87 | %build | |
5dc73daf | 88 | %meson build \ |
cf9b7dd8 | 89 | -Dnotify=enabled |
5dc73daf | 90 | |
b8bc3901 | 91 | %ninja_build -C build |
52021eca JP |
92 | |
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
b8bc3901 | 96 | %ninja_install -C build |
52021eca | 97 | |
b8bc3901 JB |
98 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fa_IR,fa} |
99 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{uk_UA,uk} | |
53721025 | 100 | |
ffc2dd9d | 101 | %find_lang libgirara-gtk3-3 |
52021eca JP |
102 | |
103 | %clean | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %post -p /sbin/ldconfig | |
107 | %postun -p /sbin/ldconfig | |
108 | ||
ffc2dd9d | 109 | %files -f libgirara-gtk3-3.lang |
52021eca | 110 | %defattr(644,root,root,755) |
cf9b7dd8 | 111 | %doc AUTHORS LICENSE README.md |
c6b49777 | 112 | %attr(755,root,root) %{_libdir}/libgirara-gtk3.so.*.* |
ffc2dd9d | 113 | %attr(755,root,root) %ghost %{_libdir}/libgirara-gtk3.so.3 |
52021eca JP |
114 | |
115 | %files devel | |
116 | %defattr(644,root,root,755) | |
c6b49777 | 117 | %attr(755,root,root) %{_libdir}/libgirara-gtk3.so |
52021eca | 118 | %{_includedir}/girara |
c6b49777 | 119 | %{_pkgconfigdir}/girara-gtk3.pc |
93954686 JP |
120 | |
121 | %files static | |
122 | %defattr(644,root,root,755) | |
123 | %{_libdir}/libgirara-gtk3.a |