]> git.pld-linux.org Git - packages/home-etc.git/blob - home-etc.spec
- release 6 (by relup.sh)
[packages/home-etc.git] / home-etc.spec
1 Summary:        HOME-ETC support programs and scripts
2 Summary(pl.UTF-8):      Skrypty i programy zapewniające wsparcie dla HOME-ETC
3 Name:           home-etc
4 Version:        1.0.9
5 Release:        6
6 Epoch:          1
7 License:        LGPL v2+
8 Group:          Base
9 Source0:        ftp://ftp.pld-linux.org/people/siefca/distfiles/%{name}-%{version}.tar.gz
10 # Source0-md5:  628d3acd77458e291f753992d81977c4
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 Requires:       %{name}-lib = %{epoch}:%{version}-%{release}
15 Requires:       coreutils
16 Requires:       shadow
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 HOME-ETC is an idea to keep configuration files in a subdirectory
21 specified by user, instead of its home directory. This package
22 provides support for it.
23
24 %description -l pl.UTF-8
25 HOME-ETC jest pomysłem, aby przechowywać pliki konfiguracyjne
26 w podkatalogu wskazanym przez użytkownika, zamiast bezpośrednio
27 w jego katalogu domowym. Pakiet ten zapewnia wsparcie dla tego
28 mechanizmu.
29
30 %package lib
31 Summary:        HOME-ETC Library
32 Summary(pl.UTF-8):      Biblioteka mechanizmu HOME-ETC
33 License:        LGPL
34 Group:          Libraries
35
36 %description lib
37 HOME-ETC is an idea to keep configuration files in a subdirectory
38 specified by user, instead of its home directory. This package
39 contains shared HOME-ETC library.
40
41 %description lib -l pl.UTF-8
42 HOME-ETC jest pomysłem, aby przechowywać pliki konfiguracyjne
43 w podkatalogu wskazanym przez użytkownika, zamiast bezpośrednio
44 w jego katalogu domowym. Pakiet ten zawiera bibliotekę dzieloną
45 HOME-ETC.
46
47 %package devel
48 Summary:        Header files for HOME-ETC
49 Summary(pl.UTF-8):      Pliki nagłówkowe dla mechanizmu HOME-ETC
50 License:        LGPL
51 Group:          Development/Libraries
52 Requires:       %{name}-lib = %{epoch}:%{version}-%{release}
53
54 %description devel
55 HOME-ETC is an idea to keep configuration files in a subdirectory
56 specified by user, instead of its home directory. This package
57 contains header files needed to build HOME-ETC-compliant applications.
58
59 %description devel -l pl.UTF-8
60 HOME-ETC jest pomysłem, aby przechowywać pliki konfiguracyjne
61 w podkatalogu wskazanym przez użytkownika, zamiast bezpośrednio
62 w jego katalogu domowym. Pakiet ten zawiera pliki nagłówkowe
63 potrzebne do budowania aplikacji zgodnych z HOME-ETC.
64
65 %package static
66 Summary:        Static version of HOME-ETC library
67 Summary(pl.UTF-8):      Wersja statyczna biblioteki HOME-ETC
68 License:        LGPL
69 Group:          Development/Libraries
70 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
71
72 %description static
73 HOME-ETC is an idea to keep configuration files in a subdirectory
74 specified by user, instead of its home directory. This package
75 contains static version of the library.
76
77 %description static -l pl.UTF-8
78 HOME-ETC jest pomysłem, aby przechowywać pliki konfiguracyjne
79 w podkatalogu wskazanym przez użytkownika, zamiast bezpośrednio
80 w jego katalogu domowym. Pakiet ten zawiera statyczną wersję
81 biblioteki.
82
83 %package examples
84 Summary:        Example files for HOME-ETC
85 Summary(pl.UTF-8):      Pliki przykładów dla mechanizmu HOME-ETC
86 License:        LGPL
87 Group:          Development/Libraries
88 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
89
90 %description examples
91 HOME-ETC is an idea to keep configuration files in a subdirectory
92 specified by user, instead of its home directory. This package
93 contains examples, which explains how to modify existing applications.
94
95 %description examples -l pl.UTF-8
96 HOME-ETC jest pomysłem, aby przechowywać pliki konfiguracyjne
97 w podkatalogu wskazanym przez użytkownika, zamiast bezpośrednio
98 w jego katalogu domowym. Pakiet ten zawiera pliki przykładów,
99 które wyjaśniają w jaki sposób modyfikować istniejące aplikacje.
100
101 %prep
102 %setup -q
103
104 %build
105 %{__libtoolize}
106 %{__aclocal}
107 %{__autoconf}
108 %{__autoheader}
109 %{__automake}
110 %configure
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115 install -d $RPM_BUILD_ROOT%{_libexecdir}
116
117 %{__make} install \
118         DESTDIR=$RPM_BUILD_ROOT
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %post   lib -p /sbin/ldconfig
124 %postun lib -p /sbin/ldconfig
125
126 %files
127 %defattr(644,root,root,755)
128 %doc AUTHORS CONTRIBUTORS README doc/HOME-ETC.pl.txt
129 %attr(755,root,root) %{_bindir}/home-etc
130 %attr(755,root,root) /etc/profile.d/home-etc.*sh
131 /etc/skel/.home_etc
132
133 %files lib
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/libhome_etc.so.*.*.*
136 %attr(755,root,root) %ghost %{_libdir}/libhome_etc.so.1
137
138 %files devel
139 %defattr(644,root,root,755)
140 %doc doc/DEVEL-NOTES FILES TODO
141 %attr(755,root,root) %{_libdir}/libhome_etc.so
142 %{_libdir}/libhome_etc.la
143 %{_includedir}/home_etc.h
144 %{_mandir}/man3/get_home_etc.3*
145 %{_mandir}/man3/home_etc*.3*
146
147 %files static
148 %defattr(644,root,root,755)
149 %{_libdir}/libhome_etc.a
150
151 %files examples
152 %defattr(644,root,root,755)
153 %{_examplesdir}/%{name}-%{version}
This page took 0.105046 seconds and 3 git commands to generate.