50 lines
1.0 KiB
RPMSpec
50 lines
1.0 KiB
RPMSpec
Name: libmce-glib
|
|
Version: 1.0.9
|
|
Release: 0
|
|
Summary: MCE client library
|
|
Group: Development/Libraries
|
|
License: BSD
|
|
URL: https://git.sailfishos.org/mer-core/libmce-glib
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(libglibutil)
|
|
BuildRequires: pkgconfig(mce)
|
|
Requires: libglibutil >= 1.0.5
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
%description
|
|
Provides glib-based MCE client API
|
|
|
|
%package devel
|
|
Summary: Development library for %{name}
|
|
Requires: %{name} = %{version}
|
|
Requires: pkgconfig
|
|
|
|
%description devel
|
|
This package contains the development library for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make LIBDIR=%{_libdir} DESTDIR=%{buildroot} install-dev
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/%{name}.so
|
|
%{_includedir}/%{name}/*.h
|