Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 69 lines (51 sloc) 1.52 kb
20c3214 Added spec file
mezomish authored
1 # norootforbuild
2 %define fedora_version 8
3
4 %if 0%{?fedora_version} != 0
5 %define breq qt4-devel
6 %define qmake /usr/bin/qmake-qt4
7 %define lrelease /usr/bin/lrelease-qt4
8 %endif
9 %if 0%{?suse_version} != 0
10 %define breq libqt4-devel
11 %define qmake /usr/bin/qmake
12 %define lrelease /usr/bin/lrelease
13 %endif
14 %if 0%{?mandriva_version} != 0
15 %define breq libqt4-devel, qt4-linguist
16 %define qmake /usr/lib/qt4/bin/qmake
17 %define lrelease /usr/lib/qt4/bin/lrelease
18 %endif
19
20 Name: juffed
21 Version: 0.5
22 Release: svn
23 License: GPL
24 BuildRoot: %{_tmppath}/%{name}-%{version}-build
25 Source: %{name}_%{version}-%{release}.tar.bz2
26 Group: Utility
27 Summary: Simple tabbed text editor
28 BuildRequires: gcc-c++, %{breq}, qscintilla2-devel
29
30
31 %description
32 Simple tabbed text editor with syntax highlighting for C++, Python, HTML, PHP, XML, TeX, Makefiles, ini-files and patch-files
33
34
35 %prep
36 %setup -q -n %{name}_%{version}-%{release}
37
38
39 %build
40 ./configure --qmake=%{qmake} --lrelease=%{lrelease}
41 #%{make} QMAKE=%{qmake} LRELEASE=%{lrelease}
42 %{__make}
43
44
45 %install
46 %{__rm} -rf %{buildroot}
47 %{makeinstall} FAKE_ROOT=%{buildroot}
48
49
50 %clean
51 %{__rm} -rf %{buildroot}
52
53
54 %files
55 %doc COPYING ChangeLog
56 %defattr(-,root,root)
57 %{_bindir}/%{name}
58 %{_datadir}/applications/%{name}.desktop
59 %{_datadir}/pixmaps/%{name}.png
60 %{_datadir}/%{name}
61
62
63 %changelog
64 * Thu Apr 24 2008 TI_Eugene <ti.eugene@gmail.com> 0.2.1-1
65 - Initial build on OBS
66
67 * Thu Apr 24 2008 TI_Eugene <ti.eugene@gmail.com> 0.2.1-1
68 - Initial build on OBS
Something went wrong with that request. Please try again.