]> git.pld-linux.org Git - SPECS.git/blob - janus.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / janus.spec
1 Summary:        Janus library
2 Summary(pl.UTF-8):      Biblioteka Janus
3 Name:           janus
4 Version:        0.4.4.20020912
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 #Source0:       ftp://victor.worldforge.org/pub/worldforge/libs/janus/%{name}-%{version}.tar.gz
9 Source0:        %{name}-20020912.tar.gz
10 # Source0-md5:  345762a0de41b2a9782dbbec6e609020
11 Patch0:         %{name}-missing_assert_h.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gtk+-devel
15 BuildRequires:  libtool
16 BuildRequires:  libuta-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This library is a UI library which is independent from the used widget
21 library. The base libary provides an abstract instance of a UI; any
22 dialog is described by a XML-stylish data structure and can be
23 executed by the dialog engine.
24
25 %description -l pl.UTF-8
26 To jest biblioteka interfejsu użytkownika niezależna od użytej
27 biblioteki widgetów. Podstawowa biblioteka daje abstrakcyjną instancję
28 interfejsu; każde okienko dialogowe jest opisane przez strukturę
29 danych w stylu XML i może być wykonane przez silnik dialogowy.
30
31 %package libuta
32 Summary:        Janus library - libuta bindings
33 Summary(pl.UTF-8):      Biblioteka Janus - interfejs do libuta
34 Group:          Libraries
35 Requires:       %{name} = %{version}-%{release}
36
37 %description libuta
38 This library is a UI library which is independent from the used widget
39 library. The base libary provides an abstract instance of a UI; any
40 dialog is described by a XML-stylish data structure and can be
41 executed by the dialog engine.
42
43 This package contains bindings for libuta.
44
45 %description libuta -l pl.UTF-8
46 To jest biblioteka interfejsu użytkownika niezależna od użytej
47 biblioteki widgetów. Podstawowa biblioteka daje abstrakcyjną instancję
48 interfejsu; każde okienko dialogowe jest opisane przez strukturę
49 danych w stylu XML i może być wykonane przez silnik dialogowy.
50
51 Ten pakiet zawiera interfejs do widgetów libuta.
52
53 %package gtk
54 Summary:        Janus library - GTK+ bindings
55 Summary(pl.UTF-8):      Biblioteka Janus - interfejs do GTK+
56 Group:          Libraries
57 Requires:       %{name} = %{version}-%{release}
58
59 %description gtk
60 This library is a UI library which is independent from the used widget
61 library. The base libary provides an abstract instance of a UI; any
62 dialog is described by a XML-stylish data structure and can be
63 executed by the dialog engine.
64
65 This package contains bindings for GTK+ library.
66
67 %description gtk -l pl.UTF-8
68 To jest biblioteka interfejsu użytkownika niezależna od użytej
69 biblioteki widgetów. Podstawowa biblioteka daje abstrakcyjną instancję
70 interfejsu; każde okienko dialogowe jest opisane przez strukturę
71 danych w stylu XML i może być wykonane przez silnik dialogowy.
72
73 Ten pakiet zawiera interfejs do widgetów GTK+.
74
75 %package devel
76 Summary:        Header files for janus development
77 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia programów z użyciem biblioteki Janus
78 Group:          Development/Libraries
79 Requires:       %{name}-gtk = %{version}-%{release}
80 Requires:       %{name}-libuta = %{version}-%{release}
81 Requires:       gtk+-devel
82 Requires:       libuta-devel
83
84 %description devel
85 This library is a UI library which is independent from the used widget
86 library. The base libary provides an abstract instance of a UI; any
87 dialog is described by a XML-stylish data structure and can be
88 executed by the dialog engine.
89
90 This package contains the header files needed to develop programs that
91 use these janus library.
92
93 %description devel -l pl.UTF-8
94 Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu programów
95 z użyciem biblioteki Janus.
96
97 %package static
98 Summary:        Static libraries for janus development
99 Summary(pl.UTF-8):      Statyczne biblioteki Janus
100 Group:          Development/Libraries
101 Requires:       %{name}-devel = %{version}-%{release}
102
103 %description static
104 This library is a UI library which is independent from the used widget
105 library. The base libary provides an abstract instance of a UI; any
106 dialog is described by a XML-stylish data structure and can be
107 executed by the dialog engine.
108
109 This package contains the static Janus libraries.
110
111 %description static -l pl.UTF-8
112 Ten pakiet zawiera statyczne biblioteki Janus.
113
114 %prep
115 %setup -q -n %{name}-0.4.5
116 %patch0
117
118 %build
119 %configure \
120         --enable-static
121 %{__make}
122
123 %install
124 rm -rf $RPM_BUILD_ROOT
125
126 %{__make} install \
127         DESTDIR=$RPM_BUILD_ROOT
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %post   -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
134
135 %post   libuta -p /sbin/ldconfig
136 %postun libuta -p /sbin/ldconfig
137
138 %post   gtk -p /sbin/ldconfig
139 %postun gtk -p /sbin/ldconfig
140
141 %files
142 %defattr(644,root,root,755)
143 %doc AUTHORS ChangeLog README TODO
144 %attr(755,root,root) %{_libdir}/libjanus.so.*.*
145
146 %files libuta
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/libjanus_libuta.so.*.*
149
150 %files gtk
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_libdir}/libjanus_gtk.so.*.*
153
154 %files devel
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_bindir}/janus-config
157 %{_includedir}/janus
158 %{_libdir}/lib*.la
159 %{_aclocaldir}/janus.m4
160 %{_libdir}/lib*.so
161
162 %files static
163 %defattr(644,root,root,755)
164 %{_libdir}/lib*.a
This page took 0.39759 seconds and 3 git commands to generate.