add RPM spec file
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@558 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
8d18124dc8
commit
144032a602
1 changed files with 47 additions and 0 deletions
47
loki.spec
Executable file
47
loki.spec
Executable file
|
@ -0,0 +1,47 @@
|
||||||
|
Name: loki
|
||||||
|
Summary: Loki C++ Library
|
||||||
|
Version: 0.1.4
|
||||||
|
Release: 1
|
||||||
|
License: MIT License
|
||||||
|
Group: Productivity/Development
|
||||||
|
URL: http://prdownloads.sourceforge.net/loki-lib/loki-0.1.4.tar.bz2
|
||||||
|
Distribution: SuSE 10.0 (i586)
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
BuildArch: i586
|
||||||
|
|
||||||
|
%description
|
||||||
|
A C++ library of designs, containing flexible implementations of common design
|
||||||
|
patterns and idioms.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/include
|
||||||
|
cp -a include/loki $RPM_BUILD_ROOT/usr/include
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib
|
||||||
|
cp lib/libloki.a $RPM_BUILD_ROOT/usr/lib/libloki.a
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/loki-%{version}
|
||||||
|
cp -a doc/{flex,html,yasli} $RPM_BUILD_ROOT/usr/share/doc/loki-%{version}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(644,root,root,755)
|
||||||
|
/usr/include/loki
|
||||||
|
/usr/lib/libloki.a
|
||||||
|
/usr/share/doc/loki-%{version}
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jan 06 2006 Andreas Scherer <andreas_hacker@freenet.de>
|
||||||
|
- Initial build
|
Loading…
Add table
Reference in a new issue