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