]> git.pld-linux.org Git - packages/devhelp.git/commitdiff
- up to version 0.8, added devel and static subpackages
authoraflinta <aflinta@pld-linux.org>
Fri, 13 Feb 2004 13:38:25 +0000 (13:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    devhelp.spec -> 1.31

devhelp.spec

index f09347333f097fee53ec0b23d9c8c0941638d85a..759fadd2ff3e9d8d15e57720b1f27574969997d1 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       DevHelp is a developer's help program for GNOME
 Summary(pl):   Program pomocy dla programistów GNOME
 Name:          devhelp
-Version:       0.7
-Release:       3
+Version:       0.8
+Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
-# Source0-md5: 7391578353368d9db3ed6a74f4128754
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
+# Source0-md5: 83e2521ac66288996d3907d51be413a4
 Patch0:                %{name}-bookdir.patch
 Patch1:                %{name}-enable-deprecated.patch
 URL:           http://www.imendio.com/projects/devhelp/
@@ -26,6 +26,30 @@ DevHelp is a developer's help program for GNOME.
 %description -l pl
 Program pomocy dla programistów GNOME.
 
+%package devel
+Summary:        Library to embed Devhelp in other applications
+Summary(pl):    Biblioteka do osadzania Devhelp w innych aplikacjach
+Group:          X11/Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+Library of Devhelp for embedding into other applications.
+
+%description devel -l pl
+Biblioteka Devhelp do osadzania w innych aplikacjach.
+
+%package static
+Summary:        Static library of Devhelp
+Summary(pl):    Biblioteka statyczna Devhelp
+Group:          X11/Development/Libraries
+Requires:       %{name}-devel = %{version}
+
+%description static
+Static library of Devhelp.
+
+%description static -l pl
+Biblioteka statyczna Devhelp.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -52,19 +76,30 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \
 
 %find_lang %{name}
 
-# shut up check-files
-rm -f $RPM_BUILD_ROOT%{_libdir}/devhelp/*.{a,la}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/devhelp
-%dir %{_libdir}/devhelp
-%attr(755,root,root) %{_libdir}/devhelp/*.so
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
 %{_datadir}/%{name}
 %{_datadir}/mime-info/*
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/devhelp*
+%{_libdir}/*.so
+%{_libdir}/*.la
+%{_pkgconfigdir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
This page took 0.082943 seconds and 4 git commands to generate.