]>
Commit | Line | Data |
---|---|---|
41f38a7a | 1 | Summary: A configuration reading and writing library |
d0121c68 | 2 | Summary(pl.UTF-8): Biblioteka do odczytu i zapisu konfiguracji |
41f38a7a JB |
3 | Name: keeper |
4 | Version: 1.0 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Libraries | |
8 | Source0: http://www.inf.bme.hu/~mszeredi/keeper/%{name}-%{version}.tar.gz | |
106cd8a0 | 9 | # Source0-md5: e5c142618aeee2eb0da8e1599d73de7d |
41f38a7a JB |
10 | Patch0: %{name}-shared.patch |
11 | URL: http://www.inf.bme.hu/~mszeredi/keeper/ | |
12 | BuildRequires: autoconf | |
4a955f5e | 13 | BuildRequires: automake |
41f38a7a JB |
14 | BuildRequires: gtk+-devel >= 1.2.0 |
15 | BuildRequires: libtool | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | The keeper library gives an extremely simple interface for reading and | |
20 | writing configuration data. Data is stored in multiple text files, in | |
21 | a hierarchical system. This package also contains a command-line tool | |
22 | for examining and modifying the keeper database. | |
23 | ||
7c6fffa5 JR |
24 | %description -l pl.UTF-8 |
25 | Biblioteka keeper udostępnia bardzo prosty interfejs do odczutu i | |
26 | zapisu danych konfiguracyjnych. Dane są zapisywane w wielu plikach | |
27 | tekstowych w systemie hierarchicznym. Ten pakiet zawiera także | |
28 | działające z linii poleceń narzędzie do sprawdzania i modyfikowania | |
41f38a7a JB |
29 | bazy danych keepera. |
30 | ||
31 | %package devel | |
32 | Summary: Header files for keeper library | |
d0121c68 | 33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki keeper |
41f38a7a | 34 | Group: Development/Libraries |
32f58001 | 35 | Requires: %{name} = %{version}-%{release} |
41f38a7a JB |
36 | |
37 | %description devel | |
38 | Header files for keeper library. | |
39 | ||
7c6fffa5 JR |
40 | %description devel -l pl.UTF-8 |
41 | Pliki nagłówkowe biblioteki keeper. | |
41f38a7a JB |
42 | |
43 | %package static | |
44 | Summary: Static keeper library | |
d0121c68 | 45 | Summary(pl.UTF-8): Statyczna biblioteka keeper |
41f38a7a | 46 | Group: Development/Libraries |
32f58001 | 47 | Requires: %{name}-devel = %{version}-%{release} |
41f38a7a JB |
48 | |
49 | %description static | |
50 | Static keeper library. | |
51 | ||
7c6fffa5 | 52 | %description static -l pl.UTF-8 |
41f38a7a JB |
53 | Statyczna biblioteka keeper. |
54 | ||
55 | %package -n gkeeper | |
56 | Summary: A graphical tool for viewing and manipulating the keeper database | |
d0121c68 | 57 | Summary(pl.UTF-8): Graficzne narzędzie do oglądania i modyfikowania bazy danych keepera |
41f38a7a | 58 | Group: X11/Applications |
32f58001 | 59 | Requires: %{name} = %{version}-%{release} |
41f38a7a JB |
60 | |
61 | %description -n gkeeper | |
be058678 | 62 | Gkeeper is a GTK+ based front-end for the keeper database. Gkeeper lets |
41f38a7a JB |
63 | you view, edit, create or delete entries in the database. The source |
64 | of gkeeper contains a good example, on how to store and retrieve the | |
65 | menu accelerators using the keeper interface. | |
66 | ||
7c6fffa5 | 67 | %description -n gkeeper -l pl.UTF-8 |
be058678 | 68 | Gkeeper to oparty na GTK+ graficzny interfejs do bazy danych keeper. |
7c6fffa5 JR |
69 | Gkeeper pozwala na przeglądanie, edycję, tworzenie i usuwanie wpisów w |
70 | bazie. Źródła gkeepera zawierają dobry przykład, jak zapisywać i | |
71 | odtwarzać skróty klawiszowe menu przy użyciu interfejsu keepera. | |
41f38a7a JB |
72 | |
73 | %prep | |
74 | %setup -q | |
0dd0a1d9 | 75 | %patch0 -p1 |
41f38a7a JB |
76 | |
77 | %build | |
78 | %{__libtoolize} | |
79 | %{__aclocal} | |
80 | %{__autoconf} | |
81 | %configure | |
82 | %{__make} | |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %{__make} install \ | |
88 | install_root="$RPM_BUILD_ROOT" | |
89 | ||
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files | |
97 | %defattr(644,root,root,755) | |
98 | %doc ChangeLog README | |
99 | %attr(755,root,root) %{_bindir}/kptool | |
100 | %attr(755,root,root) %{_libdir}/libkeeper.so.*.*.* | |
101 | %{_mandir}/man1/kptool.1* | |
102 | ||
103 | %files devel | |
104 | %defattr(644,root,root,755) | |
105 | %doc example/example.c | |
106 | %attr(755,root,root) %{_libdir}/libkeeper.so | |
107 | %{_libdir}/libkeeper.la | |
108 | %{_includedir}/keeper.h | |
109 | %{_mandir}/man3/keeper.3* | |
110 | %{_mandir}/man3/kp_base.3* | |
111 | %{_mandir}/man3/kp_utils.3* | |
112 | ||
113 | %files static | |
114 | %defattr(644,root,root,755) | |
115 | %{_libdir}/libkeeper.a | |
116 | ||
117 | %files -n gkeeper | |
118 | %defattr(644,root,root,755) | |
119 | %attr(755,root,root) %{_bindir}/gkeeper |