]> git.pld-linux.org Git - SPECS.git/blob - menueditor.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / menueditor.spec
1 Summary:        Menu Editor - an editor for IceWM's menus and console
2 Summary(pl.UTF-8):      Menu Editor - edytor menu i konsoli IceWM
3 Name:           menueditor
4 Version:        1.3.4
5 Release:        1
6 License:        GPL-like
7 Group:          X11/Applications
8 Source0:        http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f792f5bef072bd0e1d9bc0304434124d
10 Patch0:         %{name}-verbose.patch
11 URL:            http://freecode.com/projects/menueditor
12 BuildRequires:  gtk+-devel >= 1.2
13 BuildRequires:  imlib-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Menu Editor is an editor for IceWM's menus and console.
18
19 %description -l pl.UTF-8
20 Menu Editor to edytor menu i konsoli IceWM.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 ./configure Linux -v \
28         --prefix=%{_prefix}
29
30 %{__make} \
31         CC="%{__cc}" \
32         CPP="%{__cxx}" \
33         CFLAGS="%{rpmcflags} %{rpmcppflags} %{!?debug:-fomit-frame-pointer} -ffast-math -D__USE_BSD -DPREFIX=\\\"/usr\\\" `imlib-config --cflags` -DHAVE_IMLIB `gtk-config --cflags`" \
34         LIB_DIRS=
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         PREFIX=$RPM_BUILD_ROOT%{_prefix} \
41         ICONS_DIR=$RPM_BUILD_ROOT%{_pixmapsdir} \
42         MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
43         INSTBINFLAGS="-m755"
44
45 bunzip2 $RPM_BUILD_ROOT%{_mandir}/man1/*.1.bz2
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc AUTHORS LICENSE README
53 %attr(755,root,root) %{_bindir}/menueditor
54 %{_datadir}/menueditor
55 %{_mandir}/man1/menueditor.1*
56 %{_pixmapsdir}/menueditor.xpm
This page took 0.228356 seconds and 3 git commands to generate.