Remove unused spec (RPM) file

The original intention was to easily build RPM packages by
users and developers. Nowadays, there are professional
Fedora, Suse and whatever RPM spec files available
for the according distributions.
So we can remove this unmaintained file to reduce confusions.

Fixes #2044.
master
Enrico Tröger 2019-01-20 22:47:24 +01:00
parent bf5c9eddd8
commit 4bad8ef5d4
5 changed files with 1 additions and 111 deletions

1
.gitignore vendored
View File

@ -38,7 +38,6 @@ Makefile.in
/geany.gladep.bak
/geany.pc
/geany.nsi
/geany.spec
/global.tags.old
/install-sh
/intltool

View File

@ -17,7 +17,6 @@ EXTRA_DIST = \
scripts/gen-api-gtkdoc.py \
geany.desktop.in \
geany.pc.in \
geany.spec \
ChangeLog.pre-1-22 \
HACKING \
README.I18N \

View File

@ -62,7 +62,7 @@ distribution/target and these changes might be generally useful, please
report your changes to us(the Geany developers) so we can apply them.
Such changes could be removing/adding any files, modifying the autotools
configuration, any modifications to some "meta" files (like
geany.desktop, geany.spec, images/icons, ...) or even if you have to
geany.desktop, images/icons, ...) or even if you have to
modify the source code to fix broken compilation or something like this.
Please inform us about changes you made, so maybe you don't have to
change it again with the next release and we can fix it in Geany itself

View File

@ -178,7 +178,6 @@ AC_CONFIG_FILES([
data/Makefile
doc/Makefile
doc/geany.1
geany.spec
geany.pc
geany.nsi
doc/Doxyfile

View File

@ -1,107 +0,0 @@
# Note: This spec file is very basic to provide functionality
# on all known RPM based distributions.
# It's stronly recommended to use packages of your own distributor
Name: geany
Version: @VERSION@
Release: 1
Summary: A fast and lightweight IDE using GTK+
Group: Development/Tools
License: GPLv2+
URL: https://www.geany.org/
Vendor: The Geany developer team <info@geany.org>
Packager: Dominic Hopf <dmaphy@googlemail.com>
Source: http://download.geany.org/%{name}-%{version}.tar.bz2
# The following tags files were retrieved 2nd Jan 2010
# You will have to download these and put them into your rpmbuild/SOURCES directory,
# otherwise comment these lines out
Source1: http://download.geany.org/contrib/tags/sqlite3.c.tags
Source2: http://download.geany.org/contrib/tags/std.glsl.tags
Source3: http://download.geany.org/contrib/tags/gtk218.c.tags
Source4: http://download.geany.org/contrib/tags/xfce46.c.tags
Source5: http://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags
Source6: http://download.geany.org/contrib/tags/standard.css.tags
Source7: http://download.geany.org/contrib/tags/geany-api-0.18.c.tags
Source8: http://download.geany.org/contrib/tags/std.vala.tags
Source9: http://download.geany.org/contrib/tags/drupal.php.tags
Source10: http://download.geany.org/contrib/tags/std.latex.tags
Source11: http://download.geany.org/contrib/tags/libxml-2.0.c.tags
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: glib2, gtk2, pango
BuildRequires: glib2-devel, gtk2-devel, pango-devel, gettext, intltool
%description
Geany is a small and fast integrated development environment with basic
features and few dependencies to other packages or Desktop Environments.
Some features:
- Syntax highlighting
- Code completion
- Code folding
- Construct completion/snippets
- Auto-closing of XML and HTML tags
- Call tips
- Support for Many languages like C, Java, PHP, HTML, Python, Perl, Pascal
- symbol lists and symbol name auto-completion
- Code navigation
- Simple project management
- Plugin interface
%package devel
Summary: Header files for building Geany plug-ins
Group: Development/Tools
Requires: geany = %{version}-%{release}
Requires: pkgconfig gtk2-devel
%description devel
This package contains the header files and pkg-config file needed for building
Geany plug-ins. You do not need to install this package to use Geany.
%prep
%setup -q
%build
%configure
%__make
%install
%__rm -Rf $RPM_BUILD_ROOT
%makeinstall
# If you experience build problems like
# "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
# try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
#sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
%__rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
# Install tags files
# comment the following two lines out if you didn't download the tags files mentioned
# above
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
%clean
%__rm -Rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%doc %{_datadir}/doc/%{name}/*
%doc %{_mandir}/man1/%{name}.1.gz
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_libdir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_datadir}/icons/hicolor/16x16/apps/*.png
%{_datadir}/icons/hicolor/48x48/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%files devel
%defattr(-, root, root, -)
%{_includedir}/geany
%{_libdir}/pkgconfig/geany.pc