]> git.pld-linux.org Git - projects/template-specs.git/blame_incremental - qt4.spec
dokuwiki: add LICENSE README rm example
[projects/template-specs.git] / qt4.spec
... / ...
CommitLineData
1Summary: -
2Summary(pl.UTF-8): -
3Name: -
4Version: -
5Release: -
6License: check first
7Group: X11/Applications
8Source0: -
9# Source0-md5:
10URL: -
11# uncomment needed libraries
12#BuildRequires: Qt3Support-devel
13BuildRequires: QtCore-devel
14#BuildRequires: QtGui-devel
15#BuildRequires: QtNetwork-devel
16#BuildRequires: QtSvg-devel
17#BuildRequires: QtTest-devel
18#BuildRequires: QtXml-devel
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
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
33qmake-qt4
34%{__make}
35
36%{__make} \
37 CXX="%{__cxx}" \
38 CXXFLAGS="%{rpmcxxflags}"
39%{__make} gui \
40 QMAKE=qmake-qt4 \
41 CXX="%{__cxx}" \
42 CXXFLAGS="%{rpmcxxflags} "'$(DEFINES)'
43
44%install
45rm -rf $RPM_BUILD_ROOT
46install -d $RPM_BUILD_ROOT%{_bindir}
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 0.029307 seconds and 4 git commands to generate.