]> git.pld-linux.org Git - SPECS.git/blob - libqtpod.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / libqtpod.spec
1 Summary:        Qt IPod Interface library
2 #Summary(pl.UTF-8):     
3 Name:           libqtpod
4 Version:        0.4.2
5 Release:        0.1
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://dl.sourceforge.net/kpod/%{name}-%{version}.tar.bz2
9 # Source0-md5:  88af1193a2ef9c3b37f034cf9e94f5d3
10 Patch0:         %{name}-utils.patch
11 URL:            http://sourceforge.net/projects/kpod/
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake >= 1.6.1
14 BuildRequires:  qt-devel
15 BuildRequires:  qmake
16 BuildRequires:  rpmbuild(macros) >= 1.164
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Qt IPod library.
21
22 #%description -l pl.UTF-8
23
24 %package devel
25 Summary:        Header files for libqtpod development
26 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających libqtpod
27 Group:          X11/Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for libqtpod development.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe dla programistów używających libqtpod.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 QTDIR=/usr qmake
42 QTDIR=/usr \
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 install -d $RPM_BUILD_ROOT%{_libdir}
49 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
50
51 install src/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
52 install src/%{name}*.so* $RPM_BUILD_ROOT%{_libdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
59
60 %files
61 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_libdir}/%{name}.so.*.*
63 #%attr(755,root,root) %{_libdir}/%{name}.so.?.?
64 %attr(755,root,root) %ghost %{_libdir}/%{name}.so.?
65
66 %files devel
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_libdir}/lib*.so
69 %{_includedir}/%{name}
This page took 0.144586 seconds and 3 git commands to generate.