packages: libalkimia/libalkimia.spec (NEW) - new spec

lisu lisu at pld-linux.org
Thu Sep 22 09:46:40 CEST 2011


Author: lisu                         Date: Thu Sep 22 07:46:40 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new spec

---- Files affected:
packages/libalkimia:
   libalkimia.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libalkimia/libalkimia.spec
diff -u /dev/null packages/libalkimia/libalkimia.spec:1.1
--- /dev/null	Thu Sep 22 09:46:40 2011
+++ packages/libalkimia/libalkimia.spec	Thu Sep 22 09:46:35 2011
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+Summary:	common classes and functionality used by finance applications for the KDE SC
+Name:		libalkimia
+Version:	4.3.1
+Release:	1
+License:	LGPL
+Group:		Libraries
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	73d7f1365118019030b2045d95c92456
+URL:		http://community.kde.org/Alkimia/libalkimia
+BuildRequires:	cmake
+BuildRequires:	gmp-c++-devel
+BuildRequires:	rpmbuild(macros) >= 1.600
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libalkimia is a library with common classes and functionality used by
+finance applications for the KDE SC.
+
+%package devel
+Summary:	Header files for FOO library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki FOO
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for FOO library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki FOO.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build 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 ChangeLog
+%attr(755,root,root) %{_libdir}/libalkimia.so.4.3.1
+%attr(755,root,root) %ghost %{_libdir}/libalkimia.so.4
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libalkimia.so
+%{_includedir}/alkimia
+%{_pkgconfigdir}/libalkimia.pc
+%{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake
+
+%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  2011/09/22 07:46:35  lisu
+- new spec
+
================================================================


More information about the pld-cvs-commit mailing list