SPECS: libgdamm3.spec (NEW) - init, based on libgdamm.spec, v.2.9.8

wolvverine wolvverine at pld-linux.org
Sun Oct 21 01:52:03 CEST 2007


Author: wolvverine                   Date: Sat Oct 20 23:52:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init, based on libgdamm.spec, v.2.9.8

---- Files affected:
SPECS:
   libgdamm3.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libgdamm3.spec
diff -u /dev/null SPECS/libgdamm3.spec:1.1
--- /dev/null	Sun Oct 21 01:52:03 2007
+++ SPECS/libgdamm3.spec	Sun Oct 21 01:51:58 2007
@@ -0,0 +1,102 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs # don't build static library
+#
+%define		realname	libgdamm
+#
+Summary:	C++ wrappers for libgda
+Summary(pl.UTF-8):	Interfejsy C++ dla libgda
+Name:		libgdamm3
+Version:	2.9.8
+Release:	1
+License:	LGPL
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgdamm/2.9/%{realname}-%{version}.tar.gz
+# Source0-md5:	9ea5f3ff6157581e9546ffc3a014b61a
+BuildRequires:	glibmm-devel >= 2.11.3
+BuildRequires:	libgda-devel >= 1:1.2.3
+BuildRequires:	perl-base
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+C++ wrappers for libgda.
+
+%description -l pl.UTF-8
+Interfejsy C++ dla libgda.
+
+%package devel
+Summary:	Header files for libgdamm library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libgdamm
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	glibmm-devel >= 2.11.3
+Requires:	libgda-devel >= 1:1.2.3
+
+%description devel
+Header files for libgdamm library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libgdamm.
+
+%package static
+Summary:	Static libgdamm library
+Summary(pl.UTF-8):	Statyczna biblioteka libgdamm
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libgdamm library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libgdamm.
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+%build
+%configure \
+	%{?with_static_libs:--enable-static=yes}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_libdir}/libgdamm-3.0
+%{_includedir}/*
+%{_pkgconfigdir}/*.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+%endif
+
+%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.1  2007/10/20 23:51:58  wolvverine
+- init, based on libgdamm.spec, v.2.9.8
+
================================================================


More information about the pld-cvs-commit mailing list