]> git.pld-linux.org Git - projects/template-specs.git/blame - qt4.spec
pecl: add example how to make failed tests as XFAIL
[projects/template-specs.git] / qt4.spec
CommitLineData
2262bdde 1Summary: -
2Summary(pl.UTF-8): -
3Name: -
4Version: -
5Release: -
6License: check first
7Group: X11/Applications
8Source0: -
9# Source0-md5:
10URL: -
5a730b04
JB
11# uncomment needed libraries
12#BuildRequires: Qt3Support-devel
2262bdde 13BuildRequires: QtCore-devel
5a730b04
JB
14#BuildRequires: QtGui-devel
15#BuildRequires: QtNetwork-devel
16#BuildRequires: QtSvg-devel
17#BuildRequires: QtTest-devel
18#BuildRequires: QtXml-devel
efd4e5ba
JB
19# require ">= 4.3.3-3" if some tool is invoked by *-qt4 name
20BuildRequires: qt4-build >= 4.3.3-3
21BuildRequires: qt4-qmake >= 4.3.3-3
2262bdde 22BuildRequires: rpmbuild(macros) >= 1.129
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26
27%description -l pl.UTF-8
28
29%prep
30%setup -q
31
32%build
efd4e5ba 33qmake-qt4
2262bdde 34%{__make}
35
9acf1b75
ER
36%{__make} \
37 CXX="%{__cxx}" \
38 CXXFLAGS="%{rpmcxxflags}"
39%{__make} gui \
40 QMAKE=qmake-qt4 \
41 CXX="%{__cxx}" \
42 CXXFLAGS="%{rpmcxxflags} "'$(DEFINES)'
43
2262bdde 44%install
45rm -rf $RPM_BUILD_ROOT
270626a0 46install -d $RPM_BUILD_ROOT%{_bindir}
2262bdde 47# usually you have to install the program manually
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%attr(755,root,root) %{_bindir}/*
This page took 1.044668 seconds and 4 git commands to generate.