]> git.pld-linux.org Git - packages/lxlauncher.git/blame - lxlauncher.spec
- build with gtk3 by default
[packages/lxlauncher.git] / lxlauncher.spec
CommitLineData
83690273
ER
1#
2# Conditional build:
6523c551 3%bcond_without gtk3 # use GTK+3 instead of GTK+2
83690273 4
68de2c7e
JB
5Summary: Open source clone of Asus launcher for EeePC
6Summary(pl.UTF-8): Mający otwarte źródła klon Asus launchera dla EeePC
f1ba9f94 7Name: lxlauncher
68de2c7e 8Version: 0.2.5
6523c551 9Release: 2
68de2c7e 10License: GPL v2+
f1ba9f94 11Group: X11/Applications
68de2c7e
JB
12Source0: https://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
13# Source0-md5: 94a7a36af92f8409365b6a25b6904eeb
14URL: http://www.lxde.org/
39a55bb4 15BuildRequires: gettext-tools
68de2c7e
JB
16%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.12.0}
17%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0}
f1ba9f94 18BuildRequires: intltool >= 0.40.0
b66193d4 19BuildRequires: menu-cache-devel
f1ba9f94 20BuildRequires: pkgconfig
b66193d4 21BuildRequires: startup-notification-devel
68de2c7e
JB
22BuildRequires: tar >= 1:1.22
23BuildRequires: xorg-lib-libX11-devel
24BuildRequires: xz
25%{!?with_gtk3:Requires: gtk+2 >= 2:2.12.0}
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
68de2c7e
JB
32%description -l pl.UTF-8
33LXLauncher to mający otwarte źródła klon Asus launchera dla EeePC.
34Działa lepiej niż oryginał stworzony przez firmę Xandros.
35
f1ba9f94 36%prep
37%setup -q
f1ba9f94 38
39%build
83690273
ER
40%configure \
41 %{?with_gtk3:--enable-gtk3}
68de2c7e 42
f1ba9f94 43%{__make}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
68de2c7e
JB
51# unify name
52%{__mv} $RPM_BUILD_ROOT%{_localedir}/{tt_RU,tt}
53# not supported by glibc
54%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/frp
55# just a copy of ur
56%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
4a37664a 57
f1ba9f94 58%find_lang %{name}
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files -f %{name}.lang
64%defattr(644,root,root,755)
68de2c7e 65%doc AUTHORS NEWS README TODO
f1ba9f94 66%{_sysconfdir}/xdg/lxlauncher
67%{_sysconfdir}/xdg/menus/lxlauncher-applications.menu
68%attr(755,root,root) %{_bindir}/lxlauncher
69%{_datadir}/desktop-directories/*directory
68de2c7e 70%{_mandir}/man1/lxlauncher.1*
This page took 0.161124 seconds and 5 git commands to generate.