50 lines
		
	
	
		
			991 B
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			991 B
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
Name: libmce-glib
 | 
						|
Version: 1.0.4
 | 
						|
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)
 | 
						|
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 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
 |