~ubuntu-branches/ubuntu/maverick/codelite/maverick

« back to all changes in this revision

Viewing changes to codelite.spec

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-04-30 02:46:27 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090430024627-7xp71gerfvw00xtt
Tags: 1.0.2822+dfsg-0ubuntu1
* New upstream release (LP: #369466)
* debian/copyright:
  + Added Files section for sdk/wxpropgrid
  + Made license text RFC compliant (add . for empty lines)
* debian/control:
  + Bump Standards-Version to 3.8.1
* debian/patches/02_fix-desktop.patch,
  + Refreshed to patch cleanly
* debian/*.install,
  debian/codelite.dirs,
  debian/codelite.links,
  debian/patches/03_fix-sh.patch,
  debian/patches/04_change-installpath.patch,
  + Updated for new upstream directory structure
  + Patches dropped, no longer needed.
* debian/patches/03_cstdio-include.patch,
  + Include cstdio for C++ and stdio.h for C, since it seems to be missing
* debian/codelite.menu,
  debian/*.1,
  debian/codelite.manpages:
  + Updated to reflect change in command names
    - CodeLite    => codelite
    - le_exec     => codelite_exec
    - le_dos2unix => codelite_fix_files
    - le_killproc => codelite_kill_children
* debian/README.source,
  debian/rules,
  debian/copyright:
  + Remove sdk/curl from the list of excluded files, since it doesn't exist
    any more

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name:           codelite
 
2
Version:        1.0.2782
 
3
Release:        1%{?dist}
 
4
License:        GPLv2+
 
5
Group:          Development/Tools
 
6
Summary:        CodeLite is a powerful open-source, cross platform code editor for C/C++
 
7
URL:            http://codelite.sourceforge.net
 
8
Source:         http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 
9
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
10
Requires: wxGTK xterm
 
11
BuildRequires: wxGTK-devel
 
12
 
 
13
%description
 
14
CodeLite uses a sophisticated, yet intuitive interface which allows 
 
15
users to easily create, build and debug complex projects.
 
16
 
 
17
%prep
 
18
%setup -q
 
19
 
 
20
%build
 
21
./configure --prefix=%{_prefix} --plugins-dir=%{_libdir}/%{name}
 
22
%{__make} 
 
23
 
 
24
%install
 
25
%{__rm} -rf $RPM_BUILD_ROOT
 
26
%{__make} DESTDIR=$RPM_BUILD_ROOT install
 
27
desktop-file-install  --delete-original       \
 
28
    --copy-generic-name-to-name                              \
 
29
          --dir $RPM_BUILD_ROOT%{_datadir}/applications            \
 
30
                $RPM_BUILD_ROOT%{_datadir}/applications/codelite.desktop
 
31
%clean
 
32
%{__rm} -rf $RPM_BUILD_ROOT
 
33
 
 
34
%files
 
35
%defattr(-,root,root)
 
36
%doc AUTHORS LICENSE COPYING 
 
37
%{_bindir}/codelite
 
38
%{_bindir}/codelite_indexer
 
39
%{_bindir}/le_dos2unix.sh
 
40
%{_bindir}/le_exec.sh
 
41
%{_bindir}/le_killproc.sh
 
42
%{_datadir}/codelite
 
43
%{_datadir}/applications/codelite.desktop
 
44
%{_libdir}/%{name}
 
45
 
 
46
%changelog
 
47
* Tue Feb 24 2009 Jess Portnoy <kernel01@gmail.com> 1.0.2782-1
 
48
- Spec file: Added call to desktop-file-install and %doc
 
49
  code: fixed perms and other rpmlint issues.
 
50
* Sat Feb 21 2009 Jess Portnoy <kernel01@gmail.com> 1.0.2781-1
 
51
- Reworked the rpm package to satisfy Fedora Core conventions.
 
52