~ubuntu-branches/ubuntu/warty/gedit/warty-security

« back to all changes in this revision

Viewing changes to gedit.spec

  • Committer: Bazaar Package Importer
  • Author(s): Joe Drew
  • Date: 2002-01-13 02:13:27 UTC
  • Revision ID: james.westby@ubuntu.com-20020113021327-dukaa4n50oykvrjg
Tags: upstream-0.9.6
Import upstream version 0.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%define name    gedit
 
2
%define ver     0.9.6
 
3
%define RELEASE 1
 
4
%define rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 
5
%define prefix /usr
 
6
%define sysconfdir /etc
 
7
 
 
8
Summary: gedit is a small text editor for GNOME.
 
9
Summary(es): gedit es un editor de texto para GNOME
 
10
Name:      %name
 
11
Version:   %ver
 
12
Release:   %rel
 
13
Copyright: GPL
 
14
Group: Applications/Editors
 
15
Source: ftp://ftp.gnome.org/pub/sources/gedit-%{ver}.tar.gz
 
16
URL: http://gedit.sourceforge.net
 
17
BuildRoot: /var/tmp/gedit-%{PACKAGE_VERSION}-root
 
18
Docdir: %{prefix}/help
 
19
 
 
20
Requires: gtk+ >= 1.2.7
 
21
Requires: gnome-libs >= 1.0.55
 
22
Requires: gnome-print >= 0.22
 
23
 
 
24
%description
 
25
gedit is a small text editor for the GNOME desktop.
 
26
 
 
27
%description -l es
 
28
gedit es un editor de texto para GNOME.
 
29
 
 
30
%prep
 
31
%setup
 
32
 
 
33
%build
 
34
%ifarch alpha
 
35
   CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --host=alpha-redhat-linux\
 
36
        --prefix=%{prefix} 
 
37
%else
 
38
   CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
 
39
        --prefix=%{prefix} 
 
40
%endif
 
41
make
 
42
 
 
43
%install
 
44
rm -rf $RPM_BUILD_ROOT
 
45
 
 
46
make prefix=$RPM_BUILD_ROOT%{prefix} install
 
47
 
 
48
%clean
 
49
rm -rf $RPM_BUILD_ROOT
 
50
 
 
51
%files
 
52
%defattr(-, root, root)
 
53
 
 
54
%doc README COPYING ChangeLog NEWS TODO AUTHORS INSTALL THANKS FAQ
 
55
%{prefix}/bin/gedit
 
56
%{prefix}/share/*
 
57
%{prefix}/man/*/*
 
58
%{prefix}/lib/gedit/plugins/*
 
59
 
 
60
%changelog
 
61
* Sun Oct 08 2000 Chema Celorio
 
62
- clean & update
 
63
 
 
64
* Sun Jun 11 2000 Chema Celorio
 
65
- updated description and webpage
 
66
 
 
67
* Fri Jun 09 2000 Carlos Perell� Mar�n <carpema@hispalinux.es>
 
68
- Added the Spanish description
 
69
 
 
70
* Wed Apr 19 2000 Jason Leach <leach@wam.umd.edu>
 
71
- Removed the prefix/libexec/* from files, we don't build plugins here
 
72
anymore
 
73
 
 
74
* Wed Nov 17 1999 Alex Roberts <bse@gedit.pn.org>
 
75
- Updated doc's to be included in RPM
 
76
 
 
77
* Sat Feb 06 1999 Michael Johnson <johnsonm@redhat.com>
 
78
- Cleaned up a bit for Red Hat use
 
79
 
 
80
* Thu Oct 22 1998 Alex Roberts <bse@dial.pipex.com>
 
81
- First try at an RPM