]>
Commit | Line | Data |
---|---|---|
265138ce | 1 | Summary: Application launcher |
bd0e7b09 | 2 | Summary(pl.UTF-8): Program do uruchamiania aplikacji |
265138ce | 3 | Name: apwal |
2bce1d38 | 4 | Version: 0.4.5 |
92025ede | 5 | Release: 2 |
265138ce | 6 | License: GPL |
7 | Group: X11/Applications | |
8 | Source0: http://apwal.free.fr/download/%{name}-%{version}.tar.gz | |
2bce1d38 | 9 | # Source0-md5: 2f15a1a680f842d8373a1c2725b53130 |
265138ce | 10 | URL: http://apwal.free.fr/ |
92025ede | 11 | Patch0: %{name}-Makefile.patch |
52ad4a52 | 12 | BuildRequires: gtk+2-devel |
13 | BuildRequires: libxml2-devel | |
1d13c262 | 14 | BuildRequires: pkgconfig |
265138ce | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Apwal is an simple and powerful application launcher. It is composed | |
19 | in 2 parts: the application launcher itself and a good looking easy to | |
20 | use editor. | |
21 | ||
184eb28c JR |
22 | %description -l pl.UTF-8 |
23 | Apwal jest prostym i potężnym programem do uruchamiania aplikacji. | |
24 | Zbudowany jest z dwóch części: do uruchamiania aplikacji i łatwego w | |
25 | użyciu edytora. | |
265138ce | 26 | |
27 | %prep | |
28 | %setup -q -n %{name} | |
92025ede | 29 | %patch0 -p1 |
265138ce | 30 | |
31 | %build | |
92025ede | 32 | %{__make} \ |
33 | CC="%{__cc}" \ | |
34 | CFLAGS="%{rpmcflags} `pkg-config --cflags gtk+-2.0 gthread-2.0`" \ | |
35 | LDFLAGS="%{rpmldflags} `pkg-config --libs gtk+-2.0 gthread-2.0` `xml2-config --libs`" | |
265138ce | 36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_mandir}/man1} | |
92025ede | 40 | |
41 | install src/%{name} $RPM_BUILD_ROOT%{_bindir} | |
265138ce | 42 | ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}-editor |
43 | cp -aR pixmaps/* $RPM_BUILD_ROOT%{_pixmapsdir} | |
44 | install debian/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc ABOUT Changelog FAQ README example/apwalrc.xml | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %{_mandir}/man1/* | |
54 | %{_pixmapsdir}/* |