File: juffed.spec

package info (click to toggle)
juffed 0.10-89-g3690b60-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 4,132 kB
  • sloc: cpp: 21,060; ansic: 446; xml: 329; sh: 68; makefile: 20
file content (68 lines) | stat: -rw-r--r-- 1,520 bytes parent folder | download | duplicates (4)
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
62
63
64
65
66
67
68
# norootforbuild
%define fedora_version 8

%if 0%{?fedora_version} != 0
%define breq qt4-devel
%define qmake /usr/bin/qmake-qt4
%define lrelease /usr/bin/lrelease-qt4
%endif  
%if 0%{?suse_version} != 0
%define breq libqt4-devel
%define qmake /usr/bin/qmake
%define lrelease /usr/bin/lrelease
%endif  
%if 0%{?mandriva_version} != 0
%define breq libqt4-devel, qt4-linguist
%define qmake /usr/lib/qt4/bin/qmake
%define lrelease /usr/lib/qt4/bin/lrelease
%endif

Name:           juffed
Version:        0.5
Release:        svn
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:		%{name}_%{version}-%{release}.tar.bz2
Group:          Utility
Summary:        Simple tabbed text editor
BuildRequires:  gcc-c++, %{breq}, qscintilla2-devel


%description
Simple tabbed text editor with syntax highlighting for C++, Python, HTML, PHP, XML, TeX, Makefiles, ini-files and patch-files


%prep
%setup -q -n %{name}_%{version}-%{release}


%build
./configure --qmake=%{qmake} --lrelease=%{lrelease}
#%{make} QMAKE=%{qmake} LRELEASE=%{lrelease}
%{__make}


%install
%{__rm} -rf %{buildroot}
%{makeinstall} FAKE_ROOT=%{buildroot}


%clean
%{__rm} -rf %{buildroot}


%files
%doc COPYING ChangeLog
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}


%changelog
* Thu Apr 24 2008 TI_Eugene <ti.eugene@gmail.com> 0.2.1-1
- Initial build on OBS

* Thu Apr 24 2008 TI_Eugene <ti.eugene@gmail.com> 0.2.1-1
- Initial build on OBS