diff --git a/yelp-xsl.spec b/yelp-xsl.spec new file mode 100644 index 0000000..2e7d301 --- /dev/null +++ b/yelp-xsl.spec @@ -0,0 +1,62 @@ +Name: yelp-xsl +Version: 2.31.1 +Release: 2%{?dist} +Summary: XSL stylesheets for the yelp help browser + +License: LGPLv2+ +Group: Applications/System +URL: http://download.gnome.org/sources/yelp-xsl +Source0: http://download.gnome.org/sources/yelp-xsl/2.31/yelp-xsl-%{version}.tar.bz2 +BuildArch: noarch + +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: intltool + + +%description +This package contains XSL stylesheets that are used by the yelp help browser. + + +%package devel +Summary: Developer documentation for yelp-xsl +Requires: pkgconfig +Requires: %{name} = %{version}-%{release} + +%description devel +The yelp-xsl-devel package contains developer documentation for the +XSL stylesheets in yelp-xsl. + + +%prep +%setup -q + + +%build +%configure --enable-doc +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" + +%find_lang %{name} + + +%files -f %{name}.lang +%defattr(-, root, root, -) +%doc README COPYING AUTHORS +%{_datadir}/yelp-xsl + + +%files devel +%defattr(-, root, root, -) +%{_datadir}/pkgconfig/yelp-xsl.pc + + +%changelog +* Thu May 27 2010 Matthias Clasen 2.31.1-2 +- Some corrections + +* Sat May 15 2010 Matthias Clasen 2.31.1-1 +- Initial packaging