]> git.pld-linux.org Git - SPECS.git/blob - libfaketime.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / libfaketime.spec
1 Summary:        Report faked system time
2 Name:           libfaketime
3 Version:        0.9.6
4 Release:        3
5 License:        GPL v2
6 Group:          Libraries
7 Source0:        http://www.code-wizards.com/projects/libfaketime/%{name}-%{version}.tar.gz
8 # Source0-md5:  f522f899d65a057ad69cff9896c75f78
9 URL:            http://www.code-wizards.com/projects/libfaketime/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 FakeTime Preload Library - report faked system time to programs without having
14 to change the system-wide time.
15
16 %prep
17 %setup -q
18
19 %build
20 %{__make} \
21         PREFIX=%{_prefix} \
22         LIBDIRNAME=/%{_lib}/faketime \
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26
27 %{__make} install \
28         PREFIX=%{_prefix} \
29         LIBDIRNAME=/%{_lib}/faketime \
30         DESTDIR=$RPM_BUILD_ROOT
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %doc NEWS README TODO
38 %attr(755,root,root) %{_bindir}/faketime
39 %dir %{_libdir}/faketime
40 %attr(755,root,root) %{_libdir}/faketime/%{name}*.so.1
41 %{_mandir}/man1/faketime.1*
This page took 0.194383 seconds and 3 git commands to generate.