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