]> git.pld-linux.org Git - packages/gedit-plugins.git/blob - gedit-plugins.spec
- 2.15.4, updated deps, --as-needed support, removed configure patch
[packages/gedit-plugins.git] / gedit-plugins.spec
1 Summary:        gedit plugins
2 Summary(pl):    Wtyczki dla gedita
3 Name:           gedit-plugins
4 Version:        2.15.4
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gedit-plugins/2.15/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9fd2264eab6c4b7b3baa870bf3a573e5
10 URL:            http://gedit.sourceforge.net/
11 BuildRequires:  GConf2-devel >= 2.14.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gedit2-devel >= 2.15.4
15 BuildRequires:  glib2-devel >= 1:2.12.0
16 BuildRequires:  gucharmap-devel >= 1.6.0
17 BuildRequires:  intltool >= 0.35
18 BuildRequires:  libtool
19 BuildRequires:  python-gnome-desktop-devel >= 2.15.4
20 BuildRequires:  rpm-build >= 4.1-10
21 Requires(post,preun):   GConf2 >= 2.14.0
22 Requires:       gedit2 >= 2.15.4
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 A set of plugins for gedit.
27
28 %description -l pl
29 Zestaw wtyczek dla gedita.
30
31 %prep
32 %setup -q
33
34 %build
35 %{__intltoolize}
36 %{__libtoolize}
37 %{__aclocal} -I m4
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
42 %configure \
43         --enable-python
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 # Remove not needed files
53 rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.{la,py}
54 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
55
56 %find_lang %{name} --with-gnome --all-name
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 %gconf_schema_install gedit-show-tabbar-plugin.schemas
63
64 %preun
65 %gconf_schema_uninstall gedit-show-tabbar-plugin.schemas
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog
70 %attr(755,root,root) %{_libdir}/gedit-2/plugins/*.so*
71 %{_libdir}/gedit-2/plugins/*.gedit-plugin
72 %{_libdir}/gedit-2/plugins/*.py[co]
73 %{_sysconfdir}/gconf/schemas/gedit-show-tabbar-plugin.schemas
This page took 0.030271 seconds and 4 git commands to generate.