]> git.pld-linux.org Git - SPECS.git/blob - icemc.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / icemc.spec
1 Summary:        Graphical menu configuration utility for IceWM
2 Summary(pl.UTF-8):      Graficzne narzędzie do edycji menu dla IceWM-a
3 Name:           icemc
4 Version:        0.2.4
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Window Managers/Tools
8 Source0:        http://www.algorithm.at/comp/icemc/%{name}-%{version}.tar.gz
9 # Source0-md5:  1df8dd3c4e485db980a3f1b63d6f28bb
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Source3:        %{name}_16x16.xpm
13 Source4:        %{name}_32x32.xpm
14 Patch0:         %{name}-gcc3.patch
15 URL:            http://www.algorithm.at/comp/icemc/icemc.html
16 BuildRequires:  qt-devel >= 3:3.0.5
17 Requires:       icewm
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Obsoletes:      iceMC
20
21 %description
22 Graphical menu edition utility for IceWM. It uses Qt-library.
23
24 %description -l pl.UTF-8
25 Graficzne narzędzie do edycji menu w IceWM. Używa biblioteki Qt.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__make} \
33         CXX="%{__cxx}" \
34         CXXFLAGS="%{rpmcflags} -fno-exceptions -I/usr/include/qt %{!?debug:-DNO_DEBUG}" \
35         QTDIR="/usr" \
36         LIBS="-lqt-mt"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \
41         $RPM_BUILD_ROOT{%{_datadir}/icewm/icons,%{_pixmapsdir}}
42
43 install icemc $RPM_BUILD_ROOT%{_bindir}
44
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
46 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
47 install %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/icewm/icons
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc CHANGELOG.txt README
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/icewm/icons/*
57 %{_desktopdir}/*.desktop
58 %{_pixmapsdir}/*
This page took 0.559941 seconds and 3 git commands to generate.