]> git.pld-linux.org Git - SPECS.git/blob - go.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / go.spec
1 Summary:        GO - GNOME word processor
2 Summary(pl.UTF-8):      GO - Procesor tekstu dla GNOME
3 Name:           go
4 Version:        0.1.35
5 Release:        9
6 License:        GPL
7 Group:          X11/Applications/Editors
8 # formerly ftp://ftp.gnome.org/pub/GNOME/stable/sources/go/
9 Source0:        http://tiger.bioinf.cs.uni-potsdam.de/free/Desktops/Gnome/%{name}-%{version}.tar.gz
10 # Source0-md5:  ab98f516672c691816c3bce58b191493
11 Patch0:         %{name}-def.patch
12 Patch1:         %{name}-desktop.patch
13 Patch2:         %{name}-plugins.patch
14 Patch3:         %{name}-make.patch
15 URL:            http://www-personal.umich.edu/~clahey/software/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gnome-libs-devel
19 BuildRequires:  gnome-print-devel >= 0.14
20 BuildRequires:  gtk+-devel >= 1.1.15
21 BuildRequires:  imlib-devel
22 BuildRequires:  libhnj-devel >= 0.1.1
23 BuildRequires:  libtool
24 BuildRequires:  libxml-devel
25 BuildRequires:  zlib-devel
26 Requires:       go-plugins
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _libexecdir     %{_libdir}
30
31 %description
32 A word processor for GNOME.
33
34 %description -l pl.UTF-8
35 Procesor tekstu dla środowiska GNOME.
36
37 %package plugins
38 Summary:        Go Plugins
39 Summary(pl.UTF-8):      Wtyczki Go
40 Group:          X11/Applications/Editors
41
42 %description plugins
43 This package contains a set of plugins written for Go but used also by
44 few other editors.
45
46 %description plugins -l pl.UTF-8
47 Ten pakiet zawiera zestaw wtyczek napisanych dla Go, ale używanych
48 również przez kilka innych edytorów.
49
50 %prep
51 %setup -q
52 %patch0 -p0
53 %patch1 -p0
54 %patch2 -p1
55 %patch3 -p1
56
57 %build
58 %{__libtoolize}
59 %{__aclocal} -I %{_aclocaldir}/gnome
60 %{__automake}
61 %{__autoconf}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         sysdir=%{_applnkdir}/Office/Wordprocessors
70
71 #%find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog README HISTORY THANKS TODO
79 %attr(755,root,root) %{_bindir}/go
80 %{_datadir}/hypn
81 %{_applnkdir}/Office/Wordprocessors/go.desktop
82
83 %files plugins
84 %defattr(644,root,root,755)
85 %dir %{_libdir}/go
86 %dir %{_libdir}/go/plugins
87 %attr(755,root,root) %{_libdir}/go/plugins/*
This page took 0.378449 seconds and 3 git commands to generate.