-
Notifications
You must be signed in to change notification settings - Fork 0
/
qdevelop.spec
61 lines (49 loc) · 1.62 KB
/
qdevelop.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Summary : A Development Environment for Qt4
Name : qdevelop
Version : 0.25
Release : 1
License : GPL
Group : Development/C++
URL : http://qdevelop.org/
Source : %{name}-%{version}.tar.gz
Packager : Diego Iastrubni <[email protected]>
BuildRoot : %{_tmppath}/%{name}-%{version}-%{release}-builtroot
BuildRequires : cmake libqt4-devel
Requires : libqt4-devel ctags gdb
%description
QDevelop is a development environment entirely dedicated to Qt4.
QDevelop requires Qt4, gcc under Linux or MinGW under Windows, possibly gdb for program debugging and ctags for code completion.
QDevelop is available in English, French, German, Dutch, Polish, Spanish, Chinese, Russian, Italian, Ukrainian, Czech and
Portuguese. If you want to translate in your language, please contact me.
QDevelop is not a Kdevelop like or reduced. It's an independent IDE dedicated to Qt and is totally independent of KDevelop. Less
complete, but faster, light and especially multi-platforms. QDevelop and KDevelop have different code sources.
%prep
%setup
mkdir cbuild
cd cbuild; cmake ../
%build
make -C cbuild
%install
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
#mkdir -p $RPM_BUILD_ROOT/%{instaldir_bin}
#cp cmake/QDevelop $RPM_BUILD_ROOT/%{instaldir_bin}
mkdir -p %{buildroot}/usr/bin
cp cbuild/QDevelop %{buildroot}/usr/bin/qdevelop
%clean
rm -fr cbuild
%post
# empty
%preun
# empty
%postun
# empty
%files
%defattr(-,root,root)
%doc copying
%doc ChangeLog.txt
%doc README.txt
/usr/bin/*
%{instaldir_bin}/*
%changelog
* Sat Dec 8 2007 Diego Iastrubni <[email protected]> - 0.25-1
- first package version