forked from ruxkor/checkinstall
-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.spec
39 lines (33 loc) · 879 Bytes
/
example.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name: example
Version: 0.2.11
Release: 1
License: <insert license tag>
Summary: <insert summary tag>
Url: "http://"
Group: <insert group tag>
Source0: %{name}-%{version}.tar.gz
#BuildRequires: pkgconfig(QtCore)
#BuildRequires: libqt-devel
Requires: qt
%description
# Add here description of the package.
%prep
%setup -q
%build
# Add here commands to configure the package.
#%qmake
#qmake -makefile -nocache QMAKE_STRIP=: PREFIX=%{_prefix}
/opt/make/qt-everywhere-opensource-src-4.8.0/bin/qmake example.pro -r -spec linux-g++-32
# Add here commands to compile the package.
#make %{?jobs:-j%jobs}
#make %{?_smp_mflags}
make
%install
# Add here commands to install the package.
#%qmake_install
make install INSTALL_ROOT=%{buildroot}
%files
%defattr(-,root,root,-)
%{_prefix}/*
/usr/lib/*
/opt/example/*