]>
Commit | Line | Data |
---|---|---|
c8542ea3 | 1 | Summary: Library implementing HOME-ETC mechanism for per-user configuration and data files |
c0d99e78 | 2 | Summary(pl.UTF-8): Biblioteka implementująca mechanizm HOME-ETC do indywidualnych plików konfiguracyjnych i plików z zasobami |
6483c905 RW |
3 | Name: confdir |
4 | Version: 0.0.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Libraries | |
e13e4bc1 | 8 | Source0: ftp://student.ifpan.edu.pl/pub/confdir/%{name}-%{version}.tar |
d71eeffb | 9 | # Source0-md5: 0943492fe88140757deeebdb42061719 |
c8542ea3 JB |
10 | BuildRequires: autoconf |
11 | BuildRequires: automake | |
6483c905 | 12 | BuildRequires: libtool |
e13e4bc1 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
6483c905 RW |
14 | |
15 | %description | |
e13e4bc1 | 16 | Confdir is a library implementing HOME-ETC mechanism for per-user |
12631dff JB |
17 | configuration and data files, as described by Pawel Wilk in |
18 | cvs://cvs.pld-linux.org/PLD-doc/home-etc/HOME-ETC.txt. Confdir was | |
19 | inspired by his userdir library, but has additional features. | |
20 | ||
21 | %description -l en.UTF-8 | |
22 | Confdir is a library implementing HOME-ETC mechanism for per-user | |
bbe8a1a9 | 23 | configuration and data files, as described by Paweł Wilk in |
7efa288e | 24 | cvs://cvs.pld-linux.org/PLD-doc/home-etc/HOME-ETC.txt. Confdir was |
e13e4bc1 | 25 | inspired by his userdir library, but has additional features. |
6483c905 | 26 | |
bbe8a1a9 | 27 | %description -l pl.UTF-8 |
28 | Confdir jest biblioteką implementującą mechanizm HOME-ETC do | |
29 | indywidualnych plików konfiguracyjnych i plików z zasobami, tak jak | |
30 | został on opisany przez Pawła Wilka w dokumencie | |
31 | cvs://cvs.pld-linux.org/PLD-doc/home-etc/HOME-ETC.txt. Confdir była | |
32 | inspirowana jego biblioteką userdir, ale ma dodatkowe możliwości. | |
6483c905 RW |
33 | |
34 | %package devel | |
35 | Summary: Header files for confdir library | |
c0d99e78 | 36 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki confdir |
6483c905 | 37 | Group: Development/Libraries |
c640a9ac | 38 | Requires: %{name} = %{version}-%{release} |
6483c905 RW |
39 | |
40 | %description devel | |
41 | Header files for confdir library. | |
42 | ||
bbe8a1a9 | 43 | %description devel -l pl.UTF-8 |
44 | Pliki nagłówkowe biblioteki confdir. | |
6483c905 RW |
45 | |
46 | %package static | |
47 | Summary: Static confdir library | |
c0d99e78 | 48 | Summary(pl.UTF-8): Biblioteka statyczna confdir |
6483c905 | 49 | Group: Development/Libraries |
c640a9ac | 50 | Requires: %{name} = %{version}-%{release} |
6483c905 RW |
51 | |
52 | %description static | |
53 | Static confdir library. | |
54 | ||
bbe8a1a9 | 55 | %description static -l pl.UTF-8 |
6483c905 RW |
56 | Biblioteka statyczna confdir. |
57 | ||
58 | %package examples | |
59 | Summary: Demonstration programs using confdir library | |
c0d99e78 | 60 | Summary(pl.UTF-8): Przykładowe programy używające biblioteki confdir |
6483c905 RW |
61 | Group: Development/Libraries |
62 | ||
63 | %description examples | |
64 | Demonstration programs using confdir library. | |
65 | ||
bbe8a1a9 | 66 | %description examples -l pl.UTF-8 |
67 | Przykładowe programy używające biblioteki confdir. | |
6483c905 RW |
68 | |
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
ae1aa51d | 73 | %{__libtoolize} |
6203956a | 74 | %{__aclocal} |
c8542ea3 JB |
75 | %{__autoconf} |
76 | %{__automake} | |
6483c905 RW |
77 | %configure |
78 | %{__make} | |
79 | ||
6483c905 | 80 | %install |
e13e4bc1 | 81 | rm -rf $RPM_BUILD_ROOT |
6203956a | 82 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
83 | ||
6483c905 RW |
84 | %{__make} install \ |
85 | DESTDIR=$RPM_BUILD_ROOT | |
86 | ||
6483c905 RW |
87 | install examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
88 | ||
8f60f0b8 | 89 | %post -p /sbin/ldconfig |
90 | %postun -p /sbin/ldconfig | |
6483c905 RW |
91 | |
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %files | |
96 | %defattr(644,root,root,755) | |
c8542ea3 | 97 | %doc README AUTHORS |
6203956a | 98 | %attr(755,root,root) %{_libdir}/*.so.*.* |
6483c905 RW |
99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
6203956a | 102 | %doc doc/* |
6483c905 | 103 | %attr(755,root,root) %{_libdir}/*.so |
0b188bd0 | 104 | %{_libdir}/*.la |
6483c905 | 105 | %{_includedir}/* |
6483c905 RW |
106 | |
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/*.a | |
110 | ||
111 | %files examples | |
112 | %defattr(644,root,root,755) | |
113 | %{_examplesdir}/%{name}-%{version} |