]> git.pld-linux.org Git - packages/gedit0.git/blob - gedit0.spec
f1ebf43ae96215a3c67e98c649d869ddee9ebb83
[packages/gedit0.git] / gedit0.spec
1 # Note that this is NOT a relocatable package
2 %define ver      0.5.0
3 %define rel      2
4 %define prefix   /usr
5
6 Summary:   gEdit 
7 Name:      gedit
8 Version:   %ver
9 Release:   %rel
10 Copyright: GPL
11 Group:     Editors
12 Source0:   gedit-%{PACKAGE_VERSION}.tar.gz
13 URL:       http://gedit.pn.org
14 BuildRoot: /tmp/gedit-%{PACKAGE_VERSION}-root
15 Packager: Alex Roberts <bse@dial.pipex.com>
16 Requires: gtk+ >= 1.0.7
17 Requires: gnome-libs
18 #Docdir: %{prefix}/doc
19
20 %description
21 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
22
23 %package devel
24 Summary: gEdit is a small but powerful text editor for GTK+ and/or GNOME.
25 Group: Editors
26
27 %description devel
28 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
29  
30 %prep
31 %setup
32
33 %build
34 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
35         --prefix=%{prefix} 
36
37 if [ "$SMP" != "" ]; then
38   (make "MAKE=make -k -j $SMP"; exit 0)
39   make
40 else
41   make
42 fi
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 #install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,profile.d,X11/wmconfig}
47
48 make prefix=$RPM_BUILD_ROOT%{prefix} install
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(-, root, root)
55
56 %doc README COPYING ChangeLog NEWS TODO AUTHORS INSTALL THANKS
57 %{prefix}/bin/gedit
58 %{prefix}/share/locale/*/*/*
59 %{prefix}/share/apps/*/*
60 %{prefix}/share/pixmaps/*
61 %{prefix}/share/mime-info/*
62 %{prefix}/share/geditrc
63 %{prefix}/man/*/*
64 %{prefix}/libexec/*/*/*
65
66
67 %files devel
68 %defattr(-, root, root)
69 %{prefix}/include/*/*
70 %{prefix}/lib/*
71
72 %changelog
73
74 * Thu Oct 22 1998 Alex Roberts <bse@dial.pipex.com>
75
76 - First try at an RPM
This page took 0.029457 seconds and 3 git commands to generate.