]>
Commit | Line | Data |
---|---|---|
92701a7a | 1 | Summary: Library for checking ink level of a printer |
6bdbdc34 | 2 | Summary(pl.UTF-8): Biblioteka do sprawdzania poziomu atramentu drukarki |
92701a7a | 3 | Name: libinklevel |
b6910c7d | 4 | Version: 0.6.5 |
92701a7a | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Libraries | |
7ea23129 | 8 | Source0: http://dl.sourceforge.net/libinklevel/%{name}-%{version}.tar.gz |
b6910c7d | 9 | # Source0-md5: 2bc2dd1e0b08de28d110355adcee8b22 |
92701a7a | 10 | Patch0: %{name}-build_fixes.patch |
b115805d | 11 | URL: http://libinklevel.sourceforge.net/ |
92701a7a | 12 | BuildRequires: libieee1284-devel |
92701a7a | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | Libinklevel is a library for checking the ink level of printer. It | |
94be0983 | 17 | supports printers attached via parallel port or USB. |
1fb40b02 | 18 | Supported printers list can be found here: |
3f34e51f | 19 | http://libinklevel.sourceforge.net/index.html#supported |
92701a7a | 20 | |
6bdbdc34 JR |
21 | %description -l pl.UTF-8 |
22 | Libinklevel jest biblioteką wykorzystywaną do sprawdzania poziomu | |
23 | atramentu w drukarce. Wspierane są drukarki podłączone za | |
24 | pośrednictwem portu równoległego oraz USB. | |
25 | Listę aktualnie obsługiwanych drukarek można znaleźć tutaj: | |
3f34e51f | 26 | http://libinklevel.sourceforge.net/index.html#supported |
92701a7a | 27 | |
28 | %package devel | |
29 | Summary: Header files for libinklevel | |
6bdbdc34 | 30 | Summary(pl.UTF-8): Pliki nagłówkowe dla libinklevel |
300f1fb8 | 31 | Group: Development/Libraries |
97bb6e06 | 32 | Requires: %{name} = %{version}-%{release} |
92701a7a | 33 | |
34 | %description devel | |
35 | Header files for libinklevel. | |
36 | ||
6bdbdc34 JR |
37 | %description devel -l pl.UTF-8 |
38 | Pliki nagłówkowe dla libinklevel. | |
92701a7a | 39 | |
40 | %prep | |
41 | %setup -qn %{name} | |
42 | %patch0 -p1 | |
43 | ||
44 | %build | |
9e5d221c | 45 | %{__make} \ |
300f1fb8 | 46 | CC="%{__cc}" \ |
9e5d221c | 47 | OPTFLAGS="%{rpmcflags}" |
ceef46e2 | 48 | |
92701a7a | 49 | %install |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
97bb6e06 JB |
53 | DESTDIR=$RPM_BUILD_ROOT \ |
54 | LIBDIR=%{_libdir} | |
92701a7a | 55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
94be0983 | 59 | %post -p /sbin/ldconfig |
60 | %postun -p /sbin/ldconfig | |
92701a7a | 61 | |
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc README | |
65 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
66 | ||
67 | %files devel | |
68 | %defattr(644,root,root,755) | |
69 | %attr(755,root,root) %{_libdir}/*.so | |
70 | %{_includedir}/*.h |