]>
Commit | Line | Data |
---|---|---|
f5409689 JR |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with gtk3 # build with gtk+3 (disables gtk2 support) | |
4 | # | |
1c76a64d | 5 | Summary: Appfinder for the Xfce Desktop Environment |
5b6991dd | 6 | Summary(pl.UTF-8): Wyszukiwarka aplikacji dla środowiska Xfce |
d2ed288e | 7 | Name: xfce4-appfinder |
a878506e | 8 | Version: 4.11.0 |
6914283a | 9 | Release: 1 |
0cac34a7 MC |
10 | License: GPL |
11 | Group: X11/Applications | |
a878506e JR |
12 | Source0: http://archive.xfce.org/src/xfce/xfce4-appfinder/4.11/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 8b01363bf10fc6da5f0a21664c5b02c5 | |
6914283a | 14 | URL: http://www.xfce.org/projects/xfce4-appfinder |
9e4c08b8 KK |
15 | BuildRequires: autoconf >= 2.50 |
16 | BuildRequires: automake | |
a878506e | 17 | BuildRequires: garcon-devel >= 0.3.0 |
a2e36220 | 18 | BuildRequires: gettext-tools |
6914283a | 19 | BuildRequires: glib2-devel >= 1:2.16.0 |
f5409689 JR |
20 | %{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.14.0} |
21 | %{?with_gtk3:BuildRequires: gtk+3-devel} | |
fb038854 | 22 | BuildRequires: intltool |
9e4c08b8 | 23 | BuildRequires: libtool |
a878506e JR |
24 | BuildRequires: libxfce4ui-devel >= 4.11.0 |
25 | BuildRequires: libxfce4util-devel >= 4.11.0 | |
9e4c08b8 | 26 | BuildRequires: pkgconfig |
6914283a | 27 | BuildRequires: rpmbuild(macros) >= 1.601 |
a878506e | 28 | BuildRequires: xfce4-dev-tools >= 4.11.0 |
ee7481ba JR |
29 | BuildRequires: xfconf-devel >= 4.10.0 |
30 | Requires: garcon >= 0.2.0 | |
6914283a MB |
31 | Requires: gtk-update-icon-cache |
32 | Requires: hicolor-icon-theme | |
ee7481ba | 33 | Requires: xfconf >= 4.10.0 |
0cac34a7 MC |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
37 | xfce4-appfinder shows system wide installed applications. | |
38 | ||
560c3e8b | 39 | %description -l pl.UTF-8 |
884504dc | 40 | xfce4-appfinder pokazuje aplikacje zainstalowane w systemie. |
0cac34a7 MC |
41 | |
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
2fa2c0eb | 46 | %{__intltoolize} |
ccb1fc2f | 47 | %{__libtoolize} |
fb038854 | 48 | %{__aclocal} |
ccb1fc2f | 49 | %{__autoheader} |
50 | %{__automake} | |
51 | %{__autoconf} | |
6914283a | 52 | %configure \ |
f5409689 | 53 | %{__enable_disable gtk3} \ |
6914283a MB |
54 | --disable-silent-rules |
55 | ||
0cac34a7 MC |
56 | %{__make} |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
6914283a | 64 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
c3623811 | 65 | |
0cac34a7 MC |
66 | %find_lang %{name} |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS ChangeLog NEWS README TODO | |
731ecbf8 | 74 | %attr(755,root,root) %{_bindir}/xfce4-appfinder |
d9016f8a | 75 | %attr(755,root,root) %{_bindir}/xfrun4 |
0cac34a7 | 76 | %{_desktopdir}/xfce4-appfinder.desktop |
d9016f8a | 77 | %{_desktopdir}/xfce4-run.desktop |