]> git.pld-linux.org Git - packages/xfwm4.git/blob - xfwm4.spec
- BR: gettext-devel
[packages/xfwm4.git] / xfwm4.spec
1 # TODO
2 # - shouldn't own /usr/share/themes/Default?
3 %bcond_without  compositor              # without compositor extensions
4 Summary:        Next generation window manager for Xfce
5 Summary(pl):    Zarz±dca okien nowej generacji dla Xfce
6 Name:           xfwm4
7 Version:        4.2.1
8 Release:        1
9 License:        GPL v2
10 Group:          X11/Applications
11 Source0:        http://hannelore.f1.fhtw-berlin.de/mirrors/xfce4/xfce-%{version}/src/%{name}-%{version}.tar.gz
12 # Source0-md5:  a45792df95944d6bd15ff5c23ec26e1b
13 Patch0:         %{name}-locale-names.patch
14 URL:            http://www.xfce.org/
15 BuildRequires:  autoconf >= 2.52
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+2-devel >= 2.2.0
19 BuildRequires:  intltool
20 BuildRequires:  libtool
21 BuildRequires:  libxfce4mcs-devel >= %{version}
22 BuildRequires:  libxfcegui4-devel >= %{version}
23 BuildRequires:  pkgconfig >= 1:0.9.0
24 BuildRequires:  startup-notification-devel >= 0.5
25 BuildRequires:  xfce-mcs-manager-devel >= %{version}
26 Requires:       libxfce4mcs >= %{version}
27 Requires:       libxfcegui4 >= %{version}
28 Requires:       xfce-mcs-manager >= %{version}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 xfwm4 is a window manager compatible with GNOME, GNOME2, KDE2, KDE3
33 and Xfce.
34
35 %description -l pl
36 xfwm4 to zarz±dca okien kompatybilny z GNOME, GNOME2, KDE2, KDE3 oraz
37 Xfce.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 mv -f po/{pt_PT,pt}.po
44 mv -f po/{nb_NO,nb}.po
45
46 %build
47 glib-gettextize --copy --force
48 intltoolize --copy --force
49 %{__libtoolize}
50 %{__aclocal} -I m4
51 %{__autoheader}
52 %{__automake}
53 %{__autoconf}
54 %configure %{?with_compositor:--enable-compositor}
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/themes
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog README TODO example.gtkrc-2.0
76 %attr(755,root,root) %{_bindir}/*
77 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
78
79 %{_desktopdir}/*.desktop
80
81 %dir %{_datadir}/xfwm4
82 %{_datadir}/xfwm4/defaults
83 %{_datadir}/themes/*
84 %{_iconsdir}/hicolor/*/*/*
85
86 %docdir %{_datadir}/xfce4/doc
87 %{_datadir}/xfce4/doc/C/*.html
88 %{_datadir}/xfce4/doc/C/images/*.png
This page took 0.073169 seconds and 4 git commands to generate.