aboutsummaryrefslogtreecommitdiffstats
path: root/libpcd.spec
blob: 15e1a297fa497100f5571a3df227e3d891b495b1 (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
49
50
51
52
Name:         libpcd
License:      GPLv2+
Version:      1.0.3
Release:      1%{?dist}
Summary:      PhotoCD decoding library
Group:        System Environment/Libraries
URL:          http://www.kraxel.org/blog/linux/%{name}/
Source:       http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz

BuildRequires: gcc

%description
PhotoCD decoding library

%package devel
Summary: PhotoCD decoding library devel files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
PhotoCD decoding library devel files

%prep
%setup -q

%build
export CFLAGS="%{optflags}"
make prefix=/usr

%install
make    prefix=/usr DESTDIR=%{buildroot} \
        libdir=%{buildroot}%{_libdir} \
        install

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%{_libdir}/libpcd*.so.*

%files devel
%doc *.html *.css
%{_libdir}/libpcd*.a
%{_libdir}/libpcd*.so
%{_includedir}/pcd.h

%changelog
* Wed Feb 22 2017 Gerd Hoffmann <kraxel@redhat.com> 1.0.3-1
- specfile: fix source (kraxel@redhat.com)

* Wed Feb 22 2017 Gerd Hoffmann <kraxel@redhat.com> 1.0.2-1
- new package built with tito