]> git.pld-linux.org Git - packages/keeper.git/blob - keeper.spec
- tabs in preamble
[packages/keeper.git] / keeper.spec
1 Summary:        A configuration reading and writing library
2 Summary(pl.UTF-8):      Biblioteka do odczytu i zapisu konfiguracji
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
9 # Source0-md5:  e5c142618aeee2eb0da8e1599d73de7d
10 Patch0:         %{name}-shared.patch
11 URL:            http://www.inf.bme.hu/~mszeredi/keeper/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
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
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
29 bazy danych keepera.
30
31 %package devel
32 Summary:        Header files for keeper library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki keeper
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36
37 %description devel
38 Header files for keeper library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki keeper.
42
43 %package static
44 Summary:        Static keeper library
45 Summary(pl.UTF-8):      Statyczna biblioteka keeper
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static keeper library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka keeper.
54
55 %package -n gkeeper
56 Summary:        A graphical tool for viewing and manipulating the keeper database
57 Summary(pl.UTF-8):      Graficzne narzędzie do oglądania i modyfikowania bazy danych keepera
58 Group:          X11/Applications
59 Requires:       %{name} = %{version}-%{release}
60
61 %description -n gkeeper
62 Gkeeper is a GTK+ based front-end for the keeper database. Gkeeper lets
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
67 %description -n gkeeper -l pl.UTF-8
68 Gkeeper to oparty na GTK+ graficzny interfejs do bazy danych keeper.
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.
72
73 %prep
74 %setup -q
75 %patch0 -p1
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
This page took 0.104775 seconds and 3 git commands to generate.