-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibicns.spec.in
50 lines (40 loc) · 1.01 KB
/
libicns.spec.in
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
%define package @PACKAGE@
%define version @VERSION@
%define release 1
Summary: Library for manipulating Macintosh icns files
Name: %{package}
Version: %{version}
Release: %{release}
Epoch: 1
Copyright: GNU General Public License
Group: Graphics
URL: http://sourceforge.net/projects/icns
Packager: Paul Wise <[email protected]>
Vendor: Mathew Eis <[email protected]>
Source: %{package}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: libicns-%{version}
AutoReqProv: yes
Prefix: /usr
%description
libicns is a library providing functionality for easily reading and writing Macintosh icns files
%prep
%setup -q
%build
./configure --prefix=${prefix}
make
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make prefix=%{buildroot}%{prefix} \
mandir=$RPM_BUILD_ROOT%{_mandir} \
sysconfdir=%{buildroot}/etc \
install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING CHANGELOG TODO
%{_mandir}/*/*
%{_bindir}/*
%changelog