/[packages]/cauldron/kipi-plugins/pristine/SPECS/kipi-plugins.spec
ViewVC logotype

Contents of /cauldron/kipi-plugins/pristine/SPECS/kipi-plugins.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7492 - (show annotations) (download)
Wed Jan 12 18:10:25 2011 UTC (13 years, 10 months ago) by mikala
File size: 3134 byte(s)
Copying release 1:1.7.0-1mdv2011.0 to pristine/ directory.
1 Name: kipi-plugins
2 Version: 1.7.0
3 Release: %mkrel 1
4 Summary: KDE image Interface Plugins
5 License: GPLv2+
6 Group: System/Libraries
7 Source0: http://downloads.sourceforge.net/kipi/%{name}-%{version}.tar.bz2
8 URL: http://www.kipi-plugins.org
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
10 Epoch: 1
11 Requires: mjpegtools
12 Requires: vorbis-tools
13 Requires: mpg123
14 Requires: imagemagick >= 5.5.4
15 Suggests: hugin
16 BuildRequires: kdelibs4-devel
17 BuildRequires: libkipi-devel
18 BuildRequires: libgpod-devel
19 BuildRequires: kdegraphics4-devel
20 BuildRequires: tiff-devel
21 BuildRequires: libMagick-devel
22 BuildRequires: libxslt-devel
23 BuildRequires: libgphoto-devel
24 BuildRequires: imlib2-devel
25 BuildRequires: libxml2-utils
26 BuildRequires: libmesaglu-devel
27 BuildRequires: opencv-devel
28 BuildRequires: kdepimlibs4-devel
29 Obsoletes: %{_lib}kipi-plugins0 < 1:0.2.0-0.824094.3
30
31 %description
32 The library of the KDE Image Plugin Interface.
33
34 Libkipi allows image applications to use a plugin architecture
35 for additional functionality such as: RawConverter, SlideShow,
36 ImagesGallery, HTMLExport, PrintAssistant...
37
38 %files -f %name.lang
39 %defattr(-,root,root)
40 %doc README
41 %{_kde_bindir}/dngconverter
42 %{_kde_bindir}/scangui
43 %{_kde_bindir}/expoblending
44 %{_kde_datadir}/apps/*
45 %{_kde_libdir}/kde4/kipiplugin_*
46 %{_kde_iconsdir}/*/*/*/*
47 %{_kde_datadir}/kde4/services/kipiplugin_*
48
49 #----------------------------------------------------------------------------
50
51 %define kipiplugins_major 1
52 %define lib_name %mklibname kipiplugins %kipiplugins_major
53
54 %package -n %lib_name
55 Summary: Library files for %{name}
56 Group: System/Libraries
57 Requires: %{name} = %{epoch}:%{version}-%{release}
58 Conflicts: %{_lib}kipi-plugins0
59
60 %description -n %lib_name
61 Library files for %{name}
62
63 %files -n %lib_name
64 %defattr(-,root,root)
65 %{_kde_libdir}/libkipiplugins.so.%{kipiplugins_major}*
66
67 #----------------------------------------------------------------------------
68
69 %package devel
70 Summary: Development files for %{name}
71 Group: Development/C
72 Requires: %{lib_name} = %{epoch}:%{version}-%{release}
73 Obsoletes: %{_lib}kipi-plugins-devel < 1:0.2.0
74
75 %description devel
76 Development files for %{name}
77
78 %files devel
79 %defattr(-,root,root)
80 %{_kde_libdir}/*.so
81
82 #----------------------------------------------------------------------------
83
84 %prep
85 %setup -q -n %{name}-%{version}
86
87 %build
88 %cmake_kde4
89 %make
90
91 %install
92 rm -rf %buildroot
93 %makeinstall_std -C build
94
95 install -d %{buildroot}/%{_kde_datadir}/doc/%{name}/htmlexport/
96 install -d %{buildroot}/%{_kde_datadir}/doc/%{name}/printimages/
97 install -m644 %{buildroot}/%{_kde_datadir}/apps/kipiplugin_htmlexport/THEME_HOWTO -D %{buildroot}/%{_kde_datadir}/doc/%{name}/htmlexport/THEME_HOWTO
98 install -m644 %{buildroot}/%{_kde_datadir}/apps/kipiplugin_printimages/TEMPLATE_HOWTO -D %{buildroot}/%{_kde_datadir}/doc/%{name}/printimages/TEMPLATE_HOWTO
99
100 #removing wrong files
101 rm -f %{buildroot}/%{_kde_datadir}/apps/kipiplugin_htmlexport/THEME_HOWTO
102 rm -f %{buildroot}/%{_kde_datadir}/apps/kipiplugin_printimages/TEMPLATE_HOWTO
103 rm -f %{buildroot}/%{_kde_datadir}/applications/kde4/*.desktop
104
105 %find_lang %name --all-name
106
107 %clean
108 rm -rf %buildroot
109
110
111
112

  ViewVC Help
Powered by ViewVC 1.1.30