diff options
author | Hubert Figuiere <hub@figuiere.net> | 2007-06-29 18:38:34 -0400 |
---|---|---|
committer | Hubert Figuiere <hub@figuiere.net> | 2007-06-29 18:38:34 -0400 |
commit | 9dc52fa56e3cf4e95d90f523e83214a0d69faf7c (patch) | |
tree | ad70e1050a8335615843a4f1cd81e73c74a8fe2b /rpm | |
parent | 2dbaaa1571692c592737853a4c009e9a8ede88c6 (diff) |
* rpm/SLED10.spec: Added .spec for SLED10 packaging
(only in git)
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/SLED10.spec | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/rpm/SLED10.spec b/rpm/SLED10.spec new file mode 100644 index 0000000..4a744b3 --- /dev/null +++ b/rpm/SLED10.spec @@ -0,0 +1,54 @@ +# +# spec file for package exempi +# +# Copyright (c) 2007 Novell Inc. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# + +# norootforbuild + + +Summary: XMP support library +Name: exempi +Version: 1.99.2 +Release: 1 +License: BSD +Group: System/Libraries +Source0: http://libopenraw.freedesktop.org/download/%name-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-buildroot +BuildRequires: boost-devel, expat +%define prefix /usr + +%description +XMP parsing and IO library + +%prep +%setup -q + + +%build +CFLAGS="$RPM_OPT_FLAGS" \ + ./configure --prefix=%prefix \ + --libdir=/usr/%_lib +make + +%install +rm -rf $RPM_BUILD_ROOT +DESTDIR=$RPM_BUILD_ROOT make install + +%post +%run_ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README COPYING ChangeLog + +%{prefix}/%{_lib}/libexempi.* +%{prefix}/include/exempi-2.0/* +%{prefix}/%{_lib}/pkgconfig/*.pc + +%changelog |