~ubuntu-branches/ubuntu/natty/bluefish/natty-proposed

« back to all changes in this revision

Viewing changes to redhat/bluefish.spec

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Leidert (dale)
  • Date: 2010-06-29 21:40:10 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100629214010-2oxygudqcstn3zc6
Tags: 2.0.1-1
* New upstream release - the first release of the 2.0 series for Debian
  (closes: #570731; LP: #540126). This release fixes these reported issues:
  - Better settings handling (closes: #548272).
  - Improved filebrowser (LP: #45927).
  - Improved syntax highlighting engine (LP: #108628).
  - Improved file operations (LP: #181110).
  - Translated menu descriptions (LP: #371318, #371322). The chosen menu
    name is fine.
  - Improved browser commands and handling (LP: #158891, #348408).
* Updated and adjusted packaging files.
* debian/bluefish_icon.xpm: Renamed to debian/bluefish.xpm.
* debian/bluefish.install: Adjusted.
* debian/bluefish.menu (icon): Adjusted.
* debian/bluefish-data.install, debian/bluefish-plugins.install: Added.
* debian/control: Added bluefish-data, bluefish-dbg and bluefish-plugins.
  (Build-Depends): Dropped deprecated build-dependencies libaspell-dev,
  libgnomeui-dev, libgnomevfs2-dev, libpcre3-dev and dpatch. Added intltool,
  libtool, libenchant-dev and libgucharmap2-dev.
  (Standards-Version): Bumped to 3.8.4.
  (Depends, Suggests): Adjusted. Added gvfs-backends as dependency.
* debian/copyright: Updated.
* debian/rules: Rewritten. Dropped dpatch.
  (LDFLAGS): Dropped -Wl,-z,defs because of plugins.
  (config.status:): Adjusted configure switches.
  (install): Install to debian/tmp and list missing files.
  (binary-indep): Added for bluefish-data.
  (binary-arch): Adjusted. Put debugging symbols into bluefish-dbg.
* debian/watch: Added support for RCs.
* debian/README.Debian: Dropped (useless with 2.0).
* debian/README.source: Dropped together with dpatch.
* debian/patches/: Dropped (obsolete).
* debian/reportbug/: Dropped.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%define name            bluefish
2
 
%define version         1.0.6
3
 
%define release         2
4
 
%define source          bluefish-1.0.6
5
 
 
6
 
 
7
 
Summary:          A GTK2 web development application for experienced users
8
 
Name:             %{name}
9
 
Version:          %{version}
10
 
Release:          %{release}%{?dist}
11
 
Source:           ftp://ftp.ratisbona.com/pub/bluefish/snapshots/%{source}.tar.bz2
12
 
Patch0:           mime_icon_assign.patch
13
 
URL:              http://bluefish.openoffice.nl
14
 
License:          GPL
15
 
Group:            Development/Tools
16
 
Requires:         gtk2, pcre, aspell, gnome-vfs2
17
 
BuildRequires:    gtk2-devel, pcre-devel, gnome-vfs2-devel
18
 
BuildRequires:    aspell-devel, desktop-file-utils, gettext
19
 
Requires(post):   desktop-file-utils, shared-mime-info
20
 
Requires(postun): desktop-file-utils, shared-mime-info
21
 
BuildRoot: %{_tmppath}/%{name}-%{release}-root
22
 
 
23
 
%description
24
 
Bluefish is a powerful editor for experienced web designers and programmers.
25
 
Bluefish supports many programming and markup languages, but it focuses on
26
 
editing dynamic and interactive websites
27
 
 
28
 
%prep
29
 
%setup -q -n %{source}
30
 
%patch0 -p1 -b .mime_icon_assign
31
 
 
32
 
%build
33
 
%configure --disable-update-databases \
34
 
  --without-gnome2_4-mime             \
35
 
  --without-gnome2_4-appreg
36
 
 
37
 
%{__make} %{?_smp_mflags}
38
 
 
39
 
%install
40
 
%{__rm} -rf %{buildroot}
41
 
make install DESTDIR=%{buildroot}
42
 
 
43
 
%find_lang %{name}
44
 
 
45
 
desktop-file-install --vendor=fedora --delete-original \
46
 
  --dir %{buildroot}%{_datadir}/applications           \
47
 
  --add-category X-Fedora                              \
48
 
  --add-category Application                           \
49
 
  --add-category Development                           \
50
 
  %{buildroot}%{_datadir}/applications/%{name}.desktop
51
 
desktop-file-install --vendor=fedora --delete-original \
52
 
  --dir %{buildroot}%{_datadir}/applications           \
53
 
  --add-category X-Fedora                              \
54
 
  %{buildroot}%{_datadir}/applications/%{name}-project.desktop
55
 
 
56
 
%clean
57
 
%{__rm} -rf %{buildroot}
58
 
 
59
 
%post
60
 
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
61
 
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
62
 
 
63
 
%postun
64
 
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
65
 
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
66
 
 
67
 
%files -f %{name}.lang
68
 
%defattr(-, root, root)
69
 
%doc AUTHORS COPYING README TODO
70
 
%{_bindir}/*
71
 
%dir %{_datadir}/%{name}
72
 
%{_datadir}/%{name}/*
73
 
%{_datadir}/applications/*
74
 
%{_datadir}/mime/packages/*
75
 
%{_datadir}/pixmaps/*
76
 
%{_mandir}/man1/*
77
 
 
78
 
 
79
 
%changelog
80
 
* Mon Oct  2 2006 Matthias Haase <matthias_haase@bennewitz.com> - 1.0.6-2
81
 
- Remove of the useless gnome 2.4 mime type registration files
82
 
- Patch added for the mime type icon assignment problem
83
 
 
84
 
* Tue Sep 26 2006 Matthias Haase <matthias_haase@bennewitz.com> - 1.0.6-1
85
 
- Update to 1.0.6 - using latest auto build specfile
86
 
- Minor cleanup for %find_lang and %files
87
 
 
88
 
* Sat May 06 2006 Matthias Haase <matthias_haase@bennewitz.com>
89
 
- Automatic build - snapshot of 2006-05-06