blob: ae028206d9dad9168088b916db681cf25f108f93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|
Name: xdgmime
Version: 0.0.16
Release: 0
License: LGPL-2.1+ and AFL-2.0
Summary: Querying information about file type
Group: Applications/Other
Source0: xdgmime-%{version}.tar.gz
Source1001: xdgmime.manifest
BuildRequires: cmake
%description
Querying information about file type package.
%package devel
Summary: Querying information about file type (devel)
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
Querying information about file type (devel) package.
%prep
%setup -q
cp %{SOURCE1001} .
%build
%cmake .
%__make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/libxdgmime.so.*
%license COPYING
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/xdgmime.h
%{_libdir}/libxdgmime.so
%{_libdir}/pkgconfig/xdgmime.pc
|