File: liborigin.spec

package info (click to toggle)
liborigin 20080225-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 388 kB
  • ctags: 787
  • sloc: cpp: 5,242; makefile: 47; sh: 23
file content (66 lines) | stat: -rwxr-xr-x 1,568 bytes parent folder | download | duplicates (2)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# spec file for liborigin
#
# Copyright (c) 2008 Stefan Gerlach.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to stefan.gerlach@uni-konstanz.de
#

%define version 20080225
%define release 1

################################################################################

Name: 		liborigin
URL:		http://liborigin.sourceforge.net/
Version:	%{version}
Release:	%{release}
Distribution:	%distro
Summary:	Library for reading ORIGIN files
Source:		%{name}-%{version}.tar.gz
Group:		Applications/Engineering
License:	GPL
Packager:	Stefan Gerlach <stefan.gerlach@uni-konstanz.de>
Vendor:		http://liborigin.sourceforge.net/
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
liborigin is a library for reading Microcal ORIGIN files. It also contains a commandline tool
opj2dat to convert them to data files.
%endif

Authors:
--------
	%{packager}

%prep
%setup

%build
%{__make}

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -f ../file.list.%{name}

%install
%{__make} DESTDIR="$RPM_BUILD_ROOT" install
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(755\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
find . -type f -o -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files -f ../file.list.%{name}
%doc README COPYING FORMAT import.qs

%changelog
* Sat Aug 18 2007 - stefan.gerlach@uni-konstanz.de
newly created