]> git.pld-linux.org Git - packages/lxlauncher.git/blame - lxlauncher.spec
- up to 0.2.2, gtk3 bcond
[packages/lxlauncher.git] / lxlauncher.spec
CommitLineData
83690273
ER
1#
2# Conditional build:
3%bcond_with gtk3 # build GTK+3 disables GTK+2
4%bcond_without gtk2 # build with GTK+2
5
6%if %{with gtk3}
7%undefine with_gtk2
8%endif
9
f1ba9f94 10Summary: lxauncher
11Name: lxlauncher
83690273
ER
12Version: 0.2.2
13Release: 1
f1ba9f94 14License: GPL v3
15Group: X11/Applications
16Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
83690273 17# Source0-md5: 16df627447838b170a72cc3a9ee21497
f0d662dc 18URL: http://wiki.lxde.org/en/LXLauncher
f1ba9f94 19BuildRequires: gettext-devel
83690273
ER
20%{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
21%{?with_gtk3:BuildRequires: gtk+3-devel}
f1ba9f94 22BuildRequires: intltool >= 0.40.0
b66193d4 23BuildRequires: menu-cache-devel
f1ba9f94 24BuildRequires: pkgconfig
b66193d4 25BuildRequires: startup-notification-devel
f1ba9f94 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
b66193d4
ER
29LXLauncher is an open source clone of Asus launcher for EeePC. It
30outperformes the original launcher developed by Xandros.
f1ba9f94 31
32%prep
33%setup -q
f1ba9f94 34
35%build
83690273
ER
36%configure \
37 %{?with_gtk3:--enable-gtk3}
b66193d4 38touch po/stamp-it
f1ba9f94 39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
4a37664a
MB
47# there is ur locale so drop ur_PK
48%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
49
f1ba9f94 50%find_lang %{name}
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files -f %{name}.lang
56%defattr(644,root,root,755)
57%doc AUTHORS README NEWS
58%{_sysconfdir}/xdg/lxlauncher
59%{_sysconfdir}/xdg/menus/lxlauncher-applications.menu
60%attr(755,root,root) %{_bindir}/lxlauncher
61%{_datadir}/desktop-directories/*directory
This page took 0.072028 seconds and 4 git commands to generate.