]> git.pld-linux.org Git - packages/girara.git/blob - girara.spec
1ffdfe518a8b8bc1bcda54a0ad799215c3097067
[packages/girara.git] / girara.spec
1 Summary:        User interface library
2 Summary(pl.UTF-8):      Biblioteka interfejsu użytkownika
3 Name:           girara
4 Version:        0.3.7
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 #Source0Download: https://git.pwmt.org/pwmt/girara/-/tags
9 Source0:        https://git.pwmt.org/pwmt/girara/-/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  632ef1ba9fcb6450dc49d8b7c4b14b26
11 URL:            http://pwmt.org/projects/girara
12 # C11
13 BuildRequires:  gcc >= 6:4.7
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel >= 1:2.50.0
16 BuildRequires:  gtk+3-devel >= 3.20
17 BuildRequires:  json-c-devel
18 BuildRequires:  libnotify-devel >= 0.7.0
19 BuildRequires:  meson >= 0.56
20 BuildRequires:  ninja
21 BuildRequires:  pango-devel >= 1:1.14
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.736
24 Requires:       glib2 >= 1:2.50.0
25 Requires:       gtk+3 >= 3.20
26 Requires:       libnotify >= 0.7.0
27 Requires:       pango >= 1:1.14
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
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
55 %package devel
56 Summary:        Header files for girara library
57 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki girara
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}-%{release}
60 Requires:       glib2-devel >= 1:2.50.0
61 Requires:       gtk+3-devel >= 3.20
62 Requires:       json-c-devel
63 Requires:       libnotify-devel >= 0.7.0
64 Requires:       pango-devel >= 1:1.14
65
66 %description devel
67 Header files for girara library.
68
69 %description devel -l pl.UTF-8
70 Pliki nagłówkowe biblioteki girara.
71
72 %package static
73 Summary:        Girara static library
74 Summary(pl.UTF-8):      Statyczna biblioteka girara
75 Group:          Development/Libraries
76 Requires:       %{name}-devel = %{version}-%{release}
77
78 %description static
79 Girara static library.
80
81 %description static -l pl.UTF-8
82 Statyczna biblioteka girara.
83
84 %prep
85 %setup -q
86
87 %build
88 %meson build \
89         -Dnotify=enabled
90
91 %ninja_build -C build
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %ninja_install -C build
97
98 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{fa_IR,fa}
99 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{uk_UA,uk}
100
101 %find_lang libgirara-gtk3-3
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files -f libgirara-gtk3-3.lang
110 %defattr(644,root,root,755)
111 %doc AUTHORS LICENSE README.md
112 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libgirara-gtk3.so.3
114
115 %files devel
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so
118 %{_includedir}/girara
119 %{_pkgconfigdir}/girara-gtk3.pc
120
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/libgirara-gtk3.a
This page took 0.223121 seconds and 2 git commands to generate.