SPECS: doldaconnect.spec - libs, devel and static subpackage
blues
blues at pld-linux.org
Wed Sep 6 23:28:16 CEST 2006
Author: blues Date: Wed Sep 6 21:28:16 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- libs, devel and static subpackage
---- Files affected:
SPECS:
doldaconnect.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/doldaconnect.spec
diff -u SPECS/doldaconnect.spec:1.2 SPECS/doldaconnect.spec:1.3
--- SPECS/doldaconnect.spec:1.2 Wed Sep 6 23:05:29 2006
+++ SPECS/doldaconnect.spec Wed Sep 6 23:28:11 2006
@@ -1,7 +1,6 @@
# $Revision$, $Date$
# TODO:
# - make separate gaim subpackage
-# - what to with headers, *.la and static libs?
# - separate subpackage with backend? pam-file and init-script from gentoo is in contrib
# - build with guile extension and add dchub:// guile module
# - add desktop
@@ -9,7 +8,7 @@
Summary: Direct Connect client
Name: doldaconnect
Version: 0.1
-Release: 0.2
+Release: 0.3
License: GPL v2
Group: X11/Applications/Networking
Source0: http://www.dolda2000.com/~fredrik/doldaconnect/%{name}-%{version}.tar.gz
@@ -21,6 +20,7 @@
BuildRequires: gaim-devel
BuildRequires: gnome-panel-devel
BuildRequires: libtool
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _appconfdir /etc/%{name}
@@ -35,6 +35,29 @@
This architecture also has many other advantages in store for the more advanced users; since the user interface communicates with the daemon using a well-defined protocol, other user interfaces can be written, such as an automatic downloader, a chatbot, etc. It is also designed for secure multiuser operation.
+%package libs
+Summary: Libraries for %{name}
+Group: Libraries
+
+%description libs
+Libraries for %{name}.
+
+%package devel
+Summary: %{name} library header files
+Group: Development/Libraries
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description devel
+%{name} library header files.
+
+%package static
+Summary: Static %{name} library
+Group: Development/Libraries
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static %{name} library.
+
%prep
%setup -q
@@ -61,6 +84,9 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog INSTALL README
@@ -69,17 +95,35 @@
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/bonobo/servers/*.server
%attr(755,root,root) %{_libdir}/dolcon-trans-applet
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
%attr(755,root,root) %{_libdir}/speedrec
#%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/*.jpg
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+%{_libdir}/gaim/*.a
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/09/06 21:28:11 blues
+- libs, devel and static subpackage
+
Revision 1.2 2006/09/06 21:05:29 blues
- it builds
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/doldaconnect.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list