libmce-glib.spec 991 Bytes
Newer Older
Slava Monich's avatar
Slava Monich committed
1
Name: libmce-glib
2
Version: 1.0.3
Slava Monich's avatar
Slava Monich committed
3 4 5 6 7 8 9 10
Release: 0
Summary: MCE client library
Group: Development/Libraries
License: BSD
URL: https://git.merproject.org/mer-core/libmce-glib
Source: %{name}-%{version}.tar.bz2
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(libglibutil)
11
BuildRequires:  pkgconfig(mce)
12
Requires: libglibutil >= 1.0.5
Slava Monich's avatar
Slava Monich committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
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 KEEP_SYMBOLS=1 release pkgconfig

%install
rm -rf %{buildroot}
make install-dev DESTDIR=%{buildroot}

%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