]> git.pld-linux.org Git - packages/i3.git/blob - i3.spec
update BR
[packages/i3.git] / i3.spec
1 Summary:        improved tiling wm
2 Name:           i3
3 Version:        4.2
4 Release:        0.1
5 License:        BSD
6 Group:          X11/Window Managers
7 Source0:        http://i3wm.org/downloads/%{name}-%{version}.tar.bz2
8 # Source0-md5:  11b7e5ecdd837341978c72341cb890c6
9 URL:            http://i3wm.org/
10 # AUTO: -- make: bison: Command not found
11 BuildRequires:  bison
12 # AUTO: -- make: flex: Command not found
13 BuildRequires:  flex
14 # AUTO: -- include/ipc.h:13:16: fatal error: ev.h: No such file or directory
15 BuildRequires:  libev-devel
16 # AUTO: -- include/data.h:19:18: fatal error: pcre.h: No such file or directory
17 BuildRequires:  pcre-devel
18 # AUTO: -- include/data.h:14:31: fatal error: libsn/sn-launcher.h: No such file or directory
19 BuildRequires:  startup-notification-devel
20 # AUTO: -- root_atom_contents.c:14:25: fatal error: xcb/xcb_aux.h: No such file or directory
21 BuildRequires:  xcb-util-devel
22 BuildRequires:  xcb-util-keysyms-devel
23 BuildRequires:  xcb-util-wm-devel
24 BuildRequires:  pkgconfig
25 # AUTO: -- src/xcursor.c:11:33: fatal error: X11/Xcursor/Xcursor.h: No such file or directory
26 BuildRequires:  xorg-lib-libXcursor-devel
27 # AUTO: -- include/ipc.h:15:27: fatal error: yajl/yajl_gen.h: No such file or directory
28 BuildRequires:  yajl-devel
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 i3 is a tiling window manager, completely written from scratch. The
33 target platforms are GNU/Linux and BSD operating systems, our code is
34 Free and Open Source Software (FOSS) under the BSD license. i3 is
35 primarily targeted at advanced users and developers.
36
37 %package devel
38 Summary:        Header files for %{name}
39 Group:          Development/Libraries
40
41 %description devel
42 Header files for %{name}.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 #%doc LICENCE
62 %dir %{_sysconfdir}/%{name}
63 %config(noreplace) %{_sysconfdir}/%{name}/config
64 %config %{_sysconfdir}/%{name}/config.keycodes
65 %config %{_sysconfdir}/%{name}/welcome
66 %attr(755,root,root) %{_bindir}/%{name}
67 %attr(755,root,root) %{_bindir}/%{name}bar
68 %attr(755,root,root) %{_bindir}/%{name}-*
69 %{_datadir}/xsessions/%{name}.desktop
70 %{_desktopdir}/%{name}.desktop
71
72 %files devel
73 %defattr(644,root,root,755)
74 %{_includedir}/%{name}/ipc.h
This page took 0.07708 seconds and 3 git commands to generate.