diff --git a/.cvsignore b/.cvsignore index e69de29..57b3d65 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +devhelp-0.6.0.tar.gz diff --git a/devhelp.spec b/devhelp.spec new file mode 100644 index 0000000..2034718 --- /dev/null +++ b/devhelp.spec @@ -0,0 +1,74 @@ +Summary: API document browser +Name: devhelp +Version: 0.6.0 +Release: 3 +License: GPL +Group: Development/Tools +Url: http://devhelp.codefactory.se/ +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +Requires: gtk2 >= 2.2.0 +Requires: libgnomeui >= 2.2.0 +Requires: gtkhtml2 >= 2.0.0 +Requires: gnome-vfs2 >= 2.2.0 + +BuildRequires: gtk2-devel >= 2.2.0 +BuildRequires: libgnomeui-devel >= 2.2.0 +BuildRequires: gtkhtml2-devel >= 2.2.0 +BuildRequires: gnome-vfs2-devel >= 2.2.0 +BuildRequires: intltool + +%description +A API document browser for GNOME 2. + +%prep +%setup -q + +%build + +intltoolize +%configure --with-html-widget=gtkhtml2 + +make + +%install +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT + +%makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install + +desktop-file-install --vendor gnome \ + --delete-original \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --add-category X-Red-Hat-Base \ + $RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop + +%find_lang %name + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-, root, root) +%doc AUTHORS COPYING ChangeLog NEWS README INSTALL + +%{_bindir}/devhelp +%{_libdir}/devhelp/libdevhelp.* + +%{_datadir}/applications/*.desktop +%{_datadir}/devhelp +%{_datadir}/locale/*/LC_MESSAGES/*.mo +%{_datadir}/pixmaps/* +%{_datadir}/mime-info/devhelp.mime +%{_datadir}/mime-info/devhelp.keys + +%changelog +* Wed Jul 30 2003 Jonathan Blandford +- remove original devhelp desktop file. + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Sat May 24 2003 Florian La Roche +- add find_lang + diff --git a/sources b/sources index e69de29..d6209c3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +34c810ccd1df0c655eeddba4f047490f devhelp-0.6.0.tar.gz