]> git.pld-linux.org Git - packages/girara.git/blob - girara.spec
- release 2 (json-c soname change)
[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.4
5 Release:        2
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:  5a4e0415cfc132aaf49134eab41bb29a
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.48
20 BuildRequires:  ninja
21 BuildRequires:  pango-devel >= 1:1.14
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.727
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         -Denable-notify=true
90
91 %meson_build -C build
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %meson_install -C build
97
98 %find_lang libgirara-gtk3-3
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files -f libgirara-gtk3-3.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS LICENSE README
109 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libgirara-gtk3.so.3
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so
115 %{_includedir}/girara
116 %{_pkgconfigdir}/girara-gtk3.pc
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/libgirara-gtk3.a
This page took 0.098449 seconds and 3 git commands to generate.