]> git.pld-linux.org Git - packages/devhelp.git/blob - devhelp.spec
- up to version 0.8, added devel and static subpackages
[packages/devhelp.git] / devhelp.spec
1 Summary:        DevHelp is a developer's help program for GNOME
2 Summary(pl):    Program pomocy dla programistów GNOME
3 Name:           devhelp
4 Version:        0.8
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  83e2521ac66288996d3907d51be413a4
10 Patch0:         %{name}-bookdir.patch
11 Patch1:         %{name}-enable-deprecated.patch
12 URL:            http://www.imendio.com/projects/devhelp/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gnome-vfs2-devel
16 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
17 BuildRequires:  libgtkhtml-devel >= 2.2.1
18 BuildRequires:  libtool
19 BuildRequires:  zlib-devel
20 Requires:       libgtkhtml >= 2.2.1
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 DevHelp is a developer's help program for GNOME.
25
26 %description -l pl
27 Program pomocy dla programistów GNOME.
28
29 %package devel
30 Summary:        Library to embed Devhelp in other applications
31 Summary(pl):    Biblioteka do osadzania Devhelp w innych aplikacjach
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}
34
35 %description devel
36 Library of Devhelp for embedding into other applications.
37
38 %description devel -l pl
39 Biblioteka Devhelp do osadzania w innych aplikacjach.
40
41 %package static
42 Summary:        Static library of Devhelp
43 Summary(pl):    Biblioteka statyczna Devhelp
44 Group:          X11/Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 Static library of Devhelp.
49
50 %description static -l pl
51 Biblioteka statyczna Devhelp.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57
58 %build
59 cp /usr/share/automake/config.sub .
60 %{__libtoolize}
61 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --disable-install-schemas
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \
72         $RPM_BUILD_ROOT%{_datadir}/%{name}/{books,specs}
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post -p /sbin/ldconfig
83
84 %postun -p /sbin/ldconfig
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README TODO
89 %attr(755,root,root) %{_bindir}/devhelp
90 %attr(755,root,root) %{_libdir}/*.so.*.*.*
91 %{_datadir}/%{name}
92 %{_datadir}/mime-info/*
93 %{_desktopdir}/*.desktop
94 %{_pixmapsdir}/*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %{_includedir}/devhelp*
99 %{_libdir}/*.so
100 %{_libdir}/*.la
101 %{_pkgconfigdir}/*
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/*.a
This page took 0.030975 seconds and 4 git commands to generate.