82 lines
2.4 KiB
RPMSpec
82 lines
2.4 KiB
RPMSpec
Name: libalkimia
|
|
Version: 4.3.2
|
|
Release: 3mamba
|
|
Summary: A library with common classes and functionality used by finance applications
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
URL: http://kde-apps.org/content/show.php/libalkimia?content=137323
|
|
Source: http://kde-apps.org/CONTENT/content-files/137323-libalkimia-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgmp-devel
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: pkg-config
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libgmp-cxx-devel
|
|
BuildRequires: cmake
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
libalkimia is a library with common classes and functionality used by finance applications for the KDE SC.
|
|
|
|
Currently it supports a common class to represent monetary values with arbitrary precision.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
#Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/cmake/Modules
|
|
mv %{buildroot}%{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake %{buildroot}%{_datadir}/cmake/Modules/FindLibAlkimia.cmake
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libalkimia.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/alkimia
|
|
%{_includedir}/alkimia/*.h
|
|
%{_libdir}/libalkimia.so
|
|
%{_libdir}/pkgconfig/libalkimia.pc
|
|
%{_datadir}/cmake/Modules/FindLibAlkimia.cmake
|
|
|
|
%changelog
|
|
* Mon Dec 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-3mamba
|
|
- fixed installation path of cmake module
|
|
|
|
* Mon Oct 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-2mamba
|
|
- rebuild in %{_prefix} as it doesn't depend on kde libs and should fix kmymoney build
|
|
|
|
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
|
|
- package created by autospec
|