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