]> git.pld-linux.org Git - packages/gedit.git/blob - gedit.spec
- version 2.3.3
[packages/gedit.git] / gedit.spec
1 Summary:        gEdit - small but powerful text editor for X Window
2 Summary(pl):    gEdit - ma³y ale potê¿ny edytor tekstu dla X Window
3 Name:           gedit2
4 Version:        2.3.3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gedit/2.3/gedit-%{version}.tar.bz2
9 # Source0-md5:  e5db5597561219b87cafaee5fa63be52
10 URL:            http://gedit.sourceforge.net/
11 BuildRequires:  GConf2-devel >= 2.2.0
12 BuildRequires:  xft-devel >= 2.1.2
13 BuildRequires:  aspell-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  glib2-devel >= 2.2.0
17 BuildRequires:  intltool >= 0.25
18 BuildRequires:  libbonoboui-devel >= 2.2.0
19 BuildRequires:  libglade2-devel >= 2.0.1
20 BuildRequires:  libgnomeprintui-devel >= 2.2.1
21 BuildRequires:  libgnomeui-devel >= 2.2.0
22 BuildRequires:  libtool
23 BuildRequires:  rpm-build >= 4.1-10
24 BuildRequires:  scrollkeeper >= 0.3.11
25 BuildRequires:  eel-devel >= 2.2.0
26 BuildRequires:  gtksourceview-devel >= 0.4.0
27 Requires:       libgnomeprintui >= 2.2.1
28 Requires(post,postun):  scrollkeeper
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Obsoletes:      gedit-devel
31
32 %description
33 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
34 includes such features as split-screen mode, a plugin API, which
35 allows gEdit to be extended to support many features while remaining
36 small at its core, multiple document editing and many more functions.
37
38 %description -l pl
39 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
40 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
41 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
42 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
43 dokumentów naraz i wiele innych.
44
45 %package devel
46 Summary:        gEdit header files
47 Summary(pl):    pliki nag³ówkowe gEdit
48 Group:          X11/Development/Libraries
49 Requires:       %{name} = %{version}
50
51 %description devel
52 gEdit header files
53
54 %description devel -l pl
55 Pliki nag³ówkowe gEdit.
56
57 %prep
58 %setup -q -n gedit-%{version}
59
60 %build
61 %configure
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         omf_dest_dir=%{_omf_dest_dir}/%{name}
71
72 # Remove obsoleted *.la files
73 rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.la
74 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
75
76 %find_lang %{name} --with-gnome --all-name
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 scrollkeeper-update
83 %gconf_schema_install
84 /sbin/ldconfig
85
86 %postun
87 scrollkeeper-update
88 /sbin/ldconfig
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc README ChangeLog TODO AUTHORS THANKS
93 %{_sysconfdir}/gconf/schemas/*
94 %attr(755,root,root) %{_bindir}/*
95 %dir %{_libdir}/gedit-2
96 %dir %{_libdir}/gedit-2/plugins
97 %attr(755,root,root) %{_libdir}/bonobo/libgedit-control.so
98 %attr(755,root,root) %{_libdir}/gedit-2/plugins/*.so*
99 %{_libdir}/gedit-2/plugins/*.gedit-plugin
100 %{_libdir}/bonobo/servers/*
101 %{_pixmapsdir}/*
102 %{_datadir}/application-registry/*
103 %{_datadir}/applications/*
104 %{_datadir}/gedit-2
105 %{_datadir}/gnome-2.0/ui/*
106 %{_datadir}/mime-info/*
107 %{_datadir}/idl/*
108 %{_omf_dest_dir}/%{name}
109 %{_mandir}/man1/*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %{_includedir}/gedit-2.4
114 %{_pkgconfigdir}/gedit-2.4.pc
This page took 0.04729 seconds and 4 git commands to generate.