]> git.pld-linux.org Git - packages/girara.git/blob - girara.spec
4f55f416d0bb9c3d0b44c5d8fff16c1b0efb269c
[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.5
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:  9a3ac4d52e7f791aca842ca85c861263
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 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,uk_UA}
99
100 %find_lang libgirara-gtk3-3
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files -f libgirara-gtk3-3.lang
109 %defattr(644,root,root,755)
110 %doc AUTHORS LICENSE README
111 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libgirara-gtk3.so.3
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so
117 %{_includedir}/girara
118 %{_pkgconfigdir}/girara-gtk3.pc
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/libgirara-gtk3.a
This page took 0.0583 seconds and 2 git commands to generate.