]> git.pld-linux.org Git - packages/girara.git/blob - girara.spec
11860767e6fa269615287fe8945f695015c2fcac
[packages/girara.git] / girara.spec
1 Summary:        User interface library
2 Name:           girara
3 Version:        0.2.3
4 Release:        1
5 License:        BSD-like
6 Group:          Libraries
7 Source0:        http://pwmt.org/projects/girara/download/%{name}-%{version}.tar.gz
8 # Source0-md5:  08463b087ba3ad28c38438b2cf716795
9 URL:            http://pwmt.org/projects/girara
10 BuildRequires:  glib2-devel >= 1:2.28.0
11 BuildRequires:  gtk+3-devel >= 3.2
12 BuildRequires:  intltool
13 BuildRequires:  libnotify-devel
14 BuildRequires:  pkgconfig
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 girara is a library that implements a user interface that focuses on
19 simplicity and minimalism. Currently based on GTK+, a cross-platform
20 widget toolkit, it provides an interface that focuses on three main
21 components: A so-called view widget that represents the actual
22 application (e.g. a website (browser), an image (image viewer) or the
23 document (document viewer)), an input bar that is used to execute
24 commands of the application and the status bar which provides the user
25 with current information. girara was designed to replace and enhance
26 the user interface that is used by zathura and jumanji and other
27 features that those applications share.
28
29 %package devel
30 Summary:        Header files for girara library
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for girara library.
36
37 %package static
38 Summary:        Static girara library
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static girara library.
44
45 %prep
46 %setup -q
47
48 %build
49 CFLAGS="%{rpmcflags}" \
50 LDFLAGS="%{rpmldflags}" \
51 %{__make} COLOR=0 VERBOSE=1
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         LIBDIR=%{_libdir}
59
60 %find_lang libgirara-gtk3-1
61
62 chmod +x $RPM_BUILD_ROOT%{_libdir}/libgirara-gtk3.so.*.*
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files -f libgirara-gtk3-1.lang
71 %defattr(644,root,root,755)
72 %doc LICENSE README
73 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so.*.*
74 %attr(755,root,root) %ghost %{_libdir}/libgirara-gtk3.so.1
75
76 %files devel
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/libgirara-gtk3.so
79 %{_includedir}/girara
80 %{_pkgconfigdir}/girara-gtk3.pc
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/libgirara-gtk3.a
This page took 0.072341 seconds and 2 git commands to generate.