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