]> git.pld-linux.org Git - packages/xfwm4.git/blob - xfwm4.spec
- tabs in preamble
[packages/xfwm4.git] / xfwm4.spec
1 Summary:        Next generation window manager for Xfce
2 Summary(pl.UTF-8):      Zarządca okien nowej generacji dla Xfce
3 Name:           xfwm4
4 Version:        4.4.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8bb7231a20b30bfc1936b0facb9f072c
10 Patch0:         %{name}-locale-names.patch
11 URL:            http://www.xfce.org/
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2:2.10.6
16 BuildRequires:  intltool >= 0.35.0
17 BuildRequires:  libtool
18 BuildRequires:  libxfce4mcs-devel >= %{version}
19 BuildRequires:  libxfcegui4-devel >= %{version}
20 BuildRequires:  pkgconfig >= 1:0.9.0
21 BuildRequires:  rpmbuild(macros) >= 1.311
22 BuildRequires:  startup-notification-devel >= 0.8
23 BuildRequires:  xfce-mcs-manager-devel >= %{version}
24 BuildRequires:  xfce4-dev-tools >= %{version}
25 BuildRequires:  xorg-lib-libXpm-devel
26 Requires(post,postun):  gtk+2
27 Requires(post,postun):  hicolor-icon-theme
28 Requires:       xfce-mcs-manager >= %{version}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 xfwm4 is a EWMH standard compliant window manager.
33
34 %description -l pl.UTF-8
35 xfwm4 to zarządca okien zgodny ze standardem EWMH.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 mv -f po/{pt_PT,pt}.po
42 mv -f po/{nb_NO,nb}.po
43
44 %build
45 %{__glib_gettextize}
46 %{__intltoolize}
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoheader}
50 %{__automake}
51 %{__autoconf}
52 %configure
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/themes
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
65
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %update_icon_cache hicolor
73
74 %postun
75 %update_icon_cache hicolor
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog README TODO example.gtkrc-2.0
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
82
83 %{_desktopdir}/*.desktop
84
85 %dir %{_datadir}/xfwm4
86 %{_datadir}/xfwm4/defaults
87 %{_datadir}/themes/*
88 %{_iconsdir}/hicolor/*/*/*
89
90 %docdir %{_datadir}/xfce4/doc
91 # undermentioned dirs belong to xfce-mcs-manager
92 %{_datadir}/xfce4/doc/C/*
93 %lang(fr) %{_datadir}/xfce4/doc/fr/*
94 %lang(it) %{_datadir}/xfce4/doc/it/*
This page took 0.239683 seconds and 4 git commands to generate.